@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;800&display=swap');

html, body, h1, h2, h3, h4, h5, p {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
}

body {
    font-size: 22px;
    color: var(--cl-gray);
}

:root {
    --cl-green: #0B5351;
    --cl-gray: #B4B4B4;
}

.bg-landing {
    background-image: url('../img/bg-desktop.png');
    padding: 0.1px;
    background-size: 100% 100%;
}

.content, .footer {
    max-width: 1330px;
    width: 100%;
    margin: 0 auto;
}

.content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-height: 790px;
    margin-top: 60px;
}

.content .content__info {
    width: 50%;
}

.content .content__info .content__info-logo {
    width: 225px;
}

.content .content__info .content__info-title {
    color: var(--cl-green);
    margin: 60px 0 23px;
}

.content .content__info .content__info-descr {
    font-size: 1.1em;
    margin: 23px 0 60px;
    width: 85%;
}

.content .content__info .content__info-buttons {
    display: flex;
    gap: 20px;
}

.content__device {
    height: 675px;
}

.content__device img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px auto;
}

.footer .footer__title {
    margin: 30px 0;
    font-weight: 800;
}

.footer .footer__logos {
    display: flex;
    align-items: center;
    height: 70px;
    gap: 30px;
}

.footer .footer__logos .footer__logos-logo {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer .footer__logos .footer__logos-logo img {
    width: 100%;
    height: 100%;
}

@media (max-height: 930px) {
    .content__device {
        height: 665px;
    }

    .content .content__info .content__info-title {
        margin: 55px 0 20px;
    }
    
    .content .content__info .content__info-descr {
        margin: 20px 0 55px;
    }
}

@media (max-height: 850px) {
    .content__info-title h1 {
        font-size: 40px;
    }

    .content__info-descr p {
        font-size: 20px;
    }

    .content__device {
        height: 580px;
    }
}

@media (max-height: 927px) and (max-width: 1520px) {
    .content .content__info {
        width: 55%;
    } 
}

@media (max-width: 1610px) {
    .content, .footer {
        width: 80%;
    }

    .content .content__info .content__info-title {
        margin: 40px 0 20px;
    }
    
    .content .content__info .content__info-descr {
        margin: 20px 0 40px;
    }
    
    .content .content__info {
        width: 60%;
    } 
}

@media (max-width: 1380px) {
    .content, .footer {
        width: 80%;
    }

    .content__info-title h1 {
        font-size: 39px;
    }
    
    .content .content__info {
        width: 60%;
    }  
}

@media (max-width: 1350px) {
}

@media (max-width: 1300px) {
    body {
        font-size: 20px;
    }

    .content .content__info {
        width: 50%;
    }
    
    .content .content__info .content__info-title {
        margin: 20px 0;
    }
    
    .content .content__info .content__info-descr {
        margin: 20px 0 30px;
        width: 100%;
    }

    .content .content__info .content__info-buttons img {
        height: 50px;
    }
}

@media (max-width: 1080px) {
    .content, .footer {
        width: 85%;
    }    
}

@media (max-width: 990px) {
    .bg-landing {
        background-image: url('../img/bg-mobile.png');
        background-size: 100% 100%;
    }

    .content {
        flex-direction: column;
        max-width: 500px;
        max-height: none;
    }

    .content .content__info {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .content .content__info .content__info-buttons {
        gap: 40px;
        width: 100%;
        justify-content: center;
    }

    .content .content__info .content__info-buttons img {
        height: auto;
    }

    .content .content__device {
        margin: 40px 0;
        height: auto;
        width: 80%;
    }

    .footer {
        width: 450px;
    }

    .footer .footer__logos {
        flex-wrap: wrap;
        height: auto;
        justify-content: center;
        gap: 15px;
    }
}

@media (max-width: 500px) {
    .content, .footer {
        width: 85%;
    }

    .content .content__info .content__info-buttons {
        gap: initial;
        justify-content: space-between;
    }

    .content .content__info .content__info-buttons a:first-child, .content .content__info .content__info-buttons a:last-child {
        width: 48%;
        display: flex;
    }

    .content .content__info .content__info-buttons img {
        width: 100%;
        object-fit: contain;
    }
}

@media (max-width: 450px) {
    body {
        font-size: 16px;
    }

    .content .content__info .content__info-buttons {
        height: 47px;
    }

    .content .content__info .content__info-title h1 {
        font-size: 1.5em;
    }

    .content .content__info .content__info-title {
        margin: 20px 0 5px;
    }
    
    .content .content__info .content__info-descr {
        margin: 5px 0 30px;
        width: 100%;
    }

    .footer .footer__logos {
        gap: 10px;
    }
}