html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}
*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    background-color: var(--background-color);
}

.container {
    max-width: 1025px;
    margin: 0 auto;
    scroll-snap-type: y mandatory;
}

section {
    width: 100%;
    height: 100%;
    scroll-snap-align: center;
}

:root {
    --accent-color: #FFC93D;
    --dark-color: #000;
    --white-color: #FFF;
    --background-color: #2B2B2B;
}

/* стили текста */

p {
    font-family: 'Montserrat', sans-serif;
    font-size: 33px; 
    font-weight: 400;
}

h6 {
    font-family: 'Montserrat', sans-serif;
    font-size: 33px; 
    font-weight: 400;
}

h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 800;    
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;    
    font-weight: 400; 
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 57px;
    font-weight: 800;    
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 64px;
    font-weight: 800;    
}


.header {
    min-height: 768px;
    background-image: url(../img/first-screen-bg.png);
    background-size: cover;
}
.header__title {
    display: flex;
    align-items: center;
    margin-bottom: 190px;
    justify-content: space-between;
    position: fixed;

}

.logo {
    width: 185px;
    height: 50px;
    margin-top: -10px;
}
.first-title {
    line-height: 59px;
    margin: 0;
    text-align: center;
    max-width: 398px;
    color: var(--white-color);
    padding-top: 270px;
}

.checking {
    margin-left: 37px;
    margin-top: 38px;
}

.nav-link {
	text-decoration: none; /* убираем подчёркивание у ссылки */
    color: var(--white-color);
}

.nav {
    list-style: none;
    padding-left: 0;
    display: flex;
    align-items: center;
    font-size: 28px;
}


.item {
    padding-left: 25px;
    margin-right: 13px;
    margin-top: -10px;
}

.h2-zag {
    line-height: 69px;
    align-items: center;
    text-align: center;
    color: var(--accent-color);
    padding-top: 54px;
    margin: 0;
}

.about-h6 {
    line-height: 40px;
    align-items: center;
    text-align: center;
    color: var(--white-color);
    margin-top: 60px;
}

.about  {
    min-height: 768px;
}

.clubs {
    background-image: url(../img/clubs.png);
    min-height: 768px;
    background-repeat: no-repeat;
    background-size: cover;
}

.club_ {
    color: var(--white-color);
    padding-top: 210px;
    padding-bottom: 23px;

}

.club-link {
	text-decoration: none; /* убираем подчёркивание у ссылки */
    color: var(--accent-color);
}

.clubnav {
    list-style-type: none;
    padding-left: 0;
    align-items: center;
}

.club-name-yellow {
    background-color: var(--accent-color);
    height: 768px;
}

.yellow-link {
	text-decoration: none; /* убираем подчёркивание у ссылки */
    color: var(--dark-color);
}

.yellow-nav {
    list-style-type: none;
    padding-left: 0;
    align-items: center;  
}

.yellow-zag {
    margin-top: 0;
    padding-top: 83px;
}

.yellow-zn {
    float: right;
    padding-left: 118px;
}

.adress-yellow {
    max-height: 400px;
    display: flex;
}

.club-name-black {
    background-color: var(--background-color);
    min-height: 768px;
}
.black-link {
    text-decoration: none; /* убираем подчёркивание у ссылки */
    color: var(--white-color);
}

.black-nav {
    list-style-type: none;
    padding-left: 0;
    align-items: center; 
    text-align: center;
    margin-left: 20px;
}

.black-zag {
    margin-top: 0;
    color: var(--white-color);
    padding-top: 83px;
    margin-left: 20px;
}

.black-zn {
    float: initial;
    padding-right: 118px;
}

.adress-black {
    max-height: 400px;
    display: flex;
}

.system {
    background-image: url(../img/system-bg.svg);
    min-height: 768px;
}

.system-info-text {
    max-width: 600px;
    line-height: 40px;
    align-items: left;
    text-align: left;
    color: var(--white-color);
}

.system-info {
    max-height: 400px;
    display: flex;
    padding-top: 50px;
}

.system-img {
    float: right;
    padding-left: 200px;
}

.foot-nav {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    justify-content: space-between;
}

.icon-text {
    display: flex;
}

.foot-text {
    color: var(--white-color);
    padding-left: 18px;
}


@media screen and (max-width: 500px)  {
    body {
        text-align: center;
    }

    p {
        font-size: 30px; 
    }

    h6 {
        font-size: 16px; 
    } 

    h4 {
        font-size: 33px;  
    }
    
    h3 {
        font-size: 30px;    
    }
    
    h2 {
        font-size: 32px; 
    }
    
    h1 {
        font-size: 40px;
    }
    .container {
        max-width: 360px;
    }
    .nav {
        display: none;
    }

    .header {
        min-height: 768px;
        background-image: url(../img/first-screen-bg.png);
        background-size: cover;
    }
    .header__title {
        display: flex;
        align-items: center;
        margin-bottom: 190px;
        justify-content: space-between;
        position: fixed;
    
    }
    
    .logo {
        width: 360px;
        height: 80px;
        padding-top: 20px;
        position: center;
    }
    .first-title {
        line-height: 30px;
        margin: 0;
        text-align: center;
        max-width: 310px;
        color: var(--white-color);
        padding-top: 240px;
        padding-left: 17%;
    }
    
    .checking {
        margin-left: 0px;
        margin-top: 38px;
    }

    .h2-zag {
        line-height: 40px;
        align-items: center;
        text-align: center;
        color: var(--accent-color);
        padding-top: 100px;
        margin: 0;
    }
    
    .about-h6 {
        position: absolute;
        align-items: center;
        text-align: center;
        color: var(--white-color);
        margin-top: 60px;
        min-height: 500px;
        width: 330px;
        line-height: 20px;
        padding-left: 30px;
    }
    
    .about  {
        min-height: 768px;
    }

    .yellow-nav {
        list-style-type: none;
        padding-left: 0;
        align-items: center;
        min-width: 150px;
    }
    .yellow-zn {
        display: none;
    }

    .yellow-zag {
        margin-top: 0;
        padding-top: 110px;
    }

    .black-nav {
        list-style-type: none;
        padding-left: 0;
        align-items: center; 
        text-align: center;
    }

    .black-zn {
        display: none;
        float: none;
    }

    .black-zag {
        padding-left: 0%;
        margin-top: 0;
        color: var(--white-color);
        padding-top: 110px;
    }
    
    .adress-yellow {
        max-height: 400px;
        display: inline;
    }  
    
    .adress-yellow {
        max-height: 400px;
        display: inline;
    } 
    .icon-text {
        display: inline;
    }
    .system-img {
        display: inline;
    }
    .system-info {
        max-height: 400px;
        display: inline;
        padding-top: 50px;
    }

    .foot-nav {
        display: inline;
        justify-content: space-between;
        margin-top: 50px;
    }

    .icon-text {
        display: initial;
    }

    .foot-img {
        width:60px;
        height:60px;
    }
}