@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body {
    width: 600px;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
    color: #000;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-container {
    position: relative;
    width: 100%;
    padding-top: 43px;
}

/* Header */
.header-text {
    font-weight: 300; /* Light */
    font-size: 26px;
    line-height: 36px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 13px;
}

/* Avatar */
.avatar-container {
    width: 500px;
    height: 165px;
    margin: 40px auto 33px;
}
.avatar-container img { 
    max-width: 100%;
}
/* .main-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px; 
} */

/* Buttons */
.buttons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.city-btn {
    display: block;
    width: 250px;
    height: 170px;
    text-decoration: none;
    color: inherit;
    position: relative;
    background-color: #fdfdfe;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 25px;
    border: 1px solid #FFF;
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15);
}
.msk-btn {
    background-image: url('img/msk_desk.svg');
}
.msk-btn:hover {
    border: 1px solid #F97070;
    background-color: rgba(249, 112, 112, 0.10);
}
.spb-btn {
    background-image: url('img/spb_desk.svg');
}
.spb-btn:hover {
    border: 1px solid #2361A1;
    background-color: rgba(35, 97, 161, 0.10);
}


/* Info Text */
.info-text {
    width: 500px;
    margin: 0 auto;
}

.info-vpn {
    font-weight: 300;
    font-size: 17px;
    line-height: 24px;
    text-align: center;
    margin-bottom: 25px; /* Spacing before social links */
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    margin-bottom: 25px; /* Spacing before main text */
}

.social-item {
    position: relative;
    width: 320px;
    height: 50px;
}

.social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    gap: 12px;
}

.social-icon-wrapper {
    position: relative;
    width: 32px;
    height: 32px;
    overflow: hidden;
    flex: 0 0 32px;
}

.social-icon-bg, .social-icon-fg {
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
}

.social-icon-bg {
    z-index: 1;
}

.social-icon-fg {
    z-index: 2;
}

.social-url {
    font-weight: 500;
    font-size: 18px;
    text-decoration: underline;
}
.social-link:hover .social-url{
    text-decoration: none;
}
.social-label {
    font-weight: 500;
    font-size: 18px;
}

.tg-link .social-label { color: #2aabee; }
.vk-link .social-label { color: #4c75a3; }

/* Main Info Text */
.info-main {
    font-weight: 300;
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 30px;
}

.info-main p {
    margin-bottom: 10px;
}

/* Footer */
.footer-copyright {
    font-weight: 500;
    font-size: 14px;
    line-height: 28px;
    text-align: center;
    margin-top: auto;
}


@media screen and (max-width: 700px) {
    body {
        width: 100%;
    }
    
    .header-text {
        font-size: 23px;
        line-height: 28px;
        margin-top: 36px;
        margin-bottom: 18px;
        padding: 0 10px;
        width: 322px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .avatar-container {
        width: 375px;
        height: 124px;
        margin-top: 20px;
        margin-bottom: 25px;
    }
    .avatar-container img{
        height: 124px;
    }
    .main-container {
        padding-top: 0;
    }
    
    .buttons-container {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        margin-bottom: 37px;
    }
    
    .city-btn {
        width: 340px;
        height: 80px;
        border-radius: 15px;
        box-sizing: border-box;
    }

    .msk-btn {
        background-image: url('img/msk_mob.svg');
    }
    .spb-btn {
        background-image: url('img/spb_mob.svg');
    }
    
    
    .info-text {
        width: 334px;
    }
    
    .info-vpn {
        margin-top: 0;
        margin-bottom: 31px; /* Spacing based on design approx */
        width: 334px;
    }
    
    .social-links {
        gap: 10px;
        margin-bottom: 22px;
    }
    
    .social-item {
        width: 307px; 
    }
    
    .info-main {
        width: 334px;
        margin-bottom: 24px;
    }
    
    .footer-copyright {
        margin-bottom: 33px;
    }
}
