:root{
    --main-font: 'Rubik', sans-serif;
    --primary-color: #1C3456;
    --accent-color: #8AC43F;
    --pale-accent-color: #8AC863;
    --white: #FFFFFF;
    --light-gray: #F5F4F2;
    --gradient:  linear-gradient(45deg, #1C3456 0%, #8AC863 100%);
    --section-distance: 120px;
    --size-1: 12px;
    --size-2: 24px;
    --size-3: 48px
}


/* common styles */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box
}
html{
    font-size: 10px
}
body{
    font-size: 1.6rem;
    font-family: var(--main-font);
    font-weight: 400;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--white)
}
address{
    font-style: normal
}
.container, section + blockquote{
    width: 100%;
    max-width: 1324px;
    padding: 0 var(--size-1);
    margin: 0 auto
}
a{
    text-decoration: none
}
section a:not(.btn){
    color: var(--primary-color)
}

h1{
    font-size: 5.5rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase
}

h2{ 
    font-size: 3.8rem;
    line-height: 1.2;
    font-weight: 600;
    text-transform: uppercase
}

h3, .popup__content .title{
    font-size: 1.9rem;
    line-height: 1.2;
    font-weight: 500;
    text-transform: uppercase
}
section ul:not(:first-child){
    margin-top: var(--size-1)
}
ul li{
    list-style: none
}
ul li:not(nav ul li){
    padding-left: 20px;
    position: relative
}
ul li:not(nav ul li):before{
    content: '';
    width: var(--size-1);
    height: var(--size-1);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--gold)
}
ul li:not(nav ul li):not(:first-child), ol li:not(:first-child){
    margin-top: 8px
}

ol{
    counter-reset: item
}
ol li{
    list-style: none;
    padding-left: 27px;
    position: relative;
    counter-increment: item
}
ol li:before{
    content: counter(item)'.';
    color: var(--gold);
    position: absolute;
    left: 0;
    font-weight: 600
}

section p:not(:first-child){
    margin-top: var(--size-1)
}


/* end of common styles */



/* common class styles */

/* buttons */
.btn, input[type="button"]{
    padding: 0 var(--size-2);
    font-size: 1.6rem;
    line-height: 1;
    text-decoration: none;
    text-align: center;
    height: 42px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    background-color: var(--accent-color);
    color: var(--white);
    transition: 0.3s
}
.btn:hover{
    cursor: pointer;
    background-color: var(--pale-accent-color);
    transition: 0.3s
}

.empty-btn{
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color)
}

.empty-btn:hover{
    color: var(--pale-accent-color);
    border-color: var(--pale-accent-color);
    background: transparent
}


/* end of buttons */


.none{
    display: none!important
}


.img-container{
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden
}
.img-container img, .img-container video{
    object-fit: cover;
    width: 100%;
    height: 100%
}

.bg-wrap{
    position: relative
}
.bg{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0
}
.slider-nav .prev, .slider-nav .next{
    width: 48px;
    height: 48px;
    background: url('../img/icons/arrow-left-slider.svg') no-repeat center;
    background-size: 12px;
    background-color: var(--white)
}

/* end of common class styles */



/* header */
header{
   position: fixed;
   width: 100%;
   z-index: 4
}
header.scroll{
    background-color: var(--white)
}
.logo.scroll{
    display: none
}
header.scroll .logo.scroll{
    display: block
}
img.logo{
    height: 46px
}

.main-menu a{
    font-family: var(--main-font);
    font-size: 1.6rem;
    color: var(--primary-color);
    text-transform: uppercase
}
.main-menu a:hover{
    color: var(--accent-color)
}

.main-menu >nav >ul{
    display: flex;
    align-items: center;
    gap: var(--size-2)
}
.header{
    padding: var(--size-2) 0
}
.header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--size-2)
}

/* end of header */



/* footer */

.social{
    display: flex;
    align-items: center;
    gap: var(--size-1)
}
.social a{
    display: block;
    width: 32px;
    height: 32px;
}
.social a.tel{
	width: auto;
    height: fit-content;
    color: var(--accent-color)
}
.f{ 
    background: url('../img/icons/f.svg');
    background-size: contain
}
.yt{ 
    background: url('../img/icons/yt.svg');
    background-size: contain
}
footer >p{
    text-align: center;
    padding: var(--size-1);
    color: var(--primary-color)
}
footer >p a{
    color: var(--accent-color)
}
footer >p a:hover{
    color: var(--pale-accent-color)
}


/* end of footer */