@font-face {
    font-family:'Eudoxus Sans';
    src:    url('/css/fonts/EudoxusSans-Bold.ttf') format('ttf'),
            url('/css/fonts/EudoxusSans-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family:'Eudoxus Sans';
    src:    url('/css/fonts/EudoxusSans-Regular.ttf') format('ttf'),
            url('/css/fonts/EudoxusSans-Regular.woff') format('woff');
    font-weight:400;
    font-style: normal;
}

@font-face {
    font-family:'Eudoxus Sans';
    src:    url('/css/fonts/EudoxusSans-Medium.ttf') format('ttf'),
            url('/css/fonts/EudoxusSans-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
width: 100wh;
    font-family: 'Eudoxus Sans', sans-serif;
    overflow-x: hidden;
}

.active-a{
    font-weight: 500;
    color: black;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    padding: 0 5% 0 5%;
    height: 5rem;
}

.logo img {
    height: 40px;
}

nav {
    display: flex;
    gap: 77px;
}

nav a {
    color: rgba(79, 79, 77, 1);
    font-weight: 400;
    text-decoration: none;
}

nav a:hover {
    font-weight: 500;
    color: black;
}

.apple img {
    height: 40px;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background-color: black;
}

@media (max-width: 834px){
    nav {
        display: none;
    }

    .burger {
        display: flex;
    }


    header {
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .burger {
        margin-left: auto;
    }
    
    .apple {
        display: none;
    }
}

nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 5%;
    background-color: white;
    padding: 1rem;
    gap: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* main часть */

.comp-info{
    padding: 0 5% 0 5%;
}

.comp-info img {
    width: 100%;
    height: calc(width / 2,093);
}

.comp-info-mobile{
    display: none;
}

.comp-desc{
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    margin-top: 80px;
    padding: 0 5% 0 5%;
}

.comp-desc h2{
    text-align: center;
    font-size: 1.4rem;
    width: 77.2%;
}

.comp-desc a {
    display: flex;
    justify-content: center;
}

@media (max-width: 834px){
    
.comp-info-mobile{
    display: block;
}

.comp-info-desk{
  display: none;
  margin-top: 60px;
}

.comp-desc h2{
    width: 89.5%;
}

.comp-desc a img {
    width: 80%;
}

}

@media (max-width:420px){
    .comp-desc h2{
        width: 100.5%;
    }
}

.feature-1{
    padding: 0 5% 0 5%;
    margin-top: 80px;
    padding-bottom:122px;
}

.feature-1 h3 {
    color: rgba(156, 155, 152, 1);
    font-weight: 500;
}

.feature-1-main{
    display: flex;
    margin-top: 40px;
    gap: 7%;
}

.feature-1-main-left{
    width: 49,23%;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-block-1{
    width: 100%;
}

.feature-block-1 h4{
    margin-top: 24px;
}

.feature-block-1 p{
  margin-top: 16px;
}

.feature-1-main-right{
    display: flex;
    width: 46.77%;
}

.feature-1-right-img-2{
    margin-left: -47px;
    position: relative;
    top: 122px;
}

@media(max-width:1059px){
    .feature-1-right-img-2{
        top:235px;
        margin-left: -132px;
        width: 239px;
        height: 551px;
    }


    .feature-1-right-img-1{
        width: 229px;
        height: 532px;
    }
}

@media (max-width:946px){
    .feature-1-main{
        gap: 16px;
    }
}

@media (max-width:768px){
    .feature-1{
        padding-bottom: 27px;
    }
} 

@media (max-width:536px){
    .feature-1-main{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .feature-1-main-right{
        width: 100%;
        padding: 0 10% 0 0;
    }

    .feature-1-right-img-2{
        top:79px;
        margin-left: -91px;
        width: 194px;
        height: 451px;
    }
    .feature-1-right-img-1{
        width: 203px;
        height: 467px;
    }
    .feature-1{
        padding-bottom: 79px;
    }
} 

@media (max-width:415px){
    .feature-1-main-right{
        width: 100%;
        padding:0;
    }
}

.feature-2{
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 80px;
    padding: 0 5% 0 5%;
    margin-top: 80px;
}

.feature-2 h4 {
    color: rgba(156, 155, 152, 1);
    font-weight: 500;
}

.feature-2-bottom{
    display: flex;
    gap: 20px;
}

.feature-2-block{
    display: flex;
    gap: 16px;
    width: 31.5%;
    font-weight: 400;
}

.feature-2-block img{
    width: 72px;
    height: 72px;
}

@media(max-width:1059px){
    
    .feature-2-block{
        flex-direction: column;
    }
}


@media(max-width:420px){
    .feature-2-bottom{
        flex-direction: column;
    }

    .feature-2-block{
        width: 100%;
    }
}

.download{
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
}

.download-left{
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
    padding-left: 5%;
}

.download-left h2{
    width: 907px;
    font-size: 44px;
}

.download-right{
    overflow: hidden;
    display: flex;
}

@media (max-width:1304px){
    .download-left h2{
        width: 424px;
        font-size: 32px;
    }
    .download-right{
        width: 288px;
        height: 515px;
    }

    .download-left a img{
        width: 194.1818084716797px;
        height: 64px ;
    }
}

@media(max-width:767px){
    .download-left{
        align-items:  center;
        text-align: center;
    }

    .download-left h2{
        font-size: 24px;
        width: 90%;
    }

    .download-left a img{
        width: 179.38922119140625px;
        height: 57.3778076171875px ;
    }

    .download-right{
        width: 100%;
        justify-content: end;
        margin-top: 40px;
    }

    .download{
        flex-direction: column;
    }
}

footer{
    display: flex;
    height: 4.75rem;
    align-items: center;
    padding: 0 5% 0 5%;
    justify-content: space-between;
}

.footer-nav{
    display: flex ;
    align-items: center;
    gap: 28px;
}

.footer-nav a{
    color: rgba(79, 79, 77, 1);
    font-weight: 400;
    text-decoration: none;
}

.footer-nav a:hover{
    color: rgba(18, 18, 18, 1);
    font-weight: 500;
}

@media(max-width:1023px){
    footer{
        flex-direction: column;
        align-items: baseline;
        gap: 24px;
    }

    .footer-nav {
        order: 1;
        gap: 8rem;
    }

    footer p {
        order: 2; 
        padding-bottom: 20px;
    }
}

@media(max-width:722px){
    .footer-nav {
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer-nav a:not(:last-child) {
        margin-right: 12px; 
    }

    .footer-nav a:last-child { 
        flex-basis: 100%; 
        margin-top: 12px; 
    }
}

/*Privacy*/

.privacy-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 5% 0 5%;
}

.privacy-container h1 {
    font-weight: 700;
    font-size: 2.75rem;
}

.privacy-container p span {
    display: block; 
    margin-bottom: 12px;
}

.privacy-container p span:last-child {
    margin-bottom: 0; 
}

.privacy-block{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/*Terms*/

.terms-container{
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 5% 0 5%;
}

.terms-container h1 {
    font: 700;
    font-size: 2.75rem;
}

.rules-list {
    list-style-type: disc;
    padding-left: 20px; 
    margin: 0; 
}

.rules-list li {
    margin-bottom: 1em; 
    line-height: 1.5;
}

.terms-block{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.terms-container p span {
    display: block; 
    margin-bottom: 12px;
}

.terms-container p span:last-child {
    margin-bottom: 0; 
}

/*Adaptive для двух последних частей*/
@media (max-width: 1024px) {
    .privacy-container h1,
    .terms-container h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .privacy-container h1,
    .terms-container h1 {
        font-size: 2rem;
    }
}
@media (max-width: 480px) {
    .privacy-container h1,
    .terms-container h1 {
        font-size: 1.75rem;
    }
}