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

html {
    font-size: 10px;
}

a {
    text-decoration: none;
    scroll-behavior: smooth;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.construction {
    position: relative;
}

.spot1 {
    max-width: 27vw;
    position: absolute;
}

.spot2 {
    max-width: 24vw;
    position: absolute;
    top: 0px;
    right: 0px;
}

.construction__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    margin: 6rem 0 9.3rem 0;
}

.logo__img {
    margin-right: 1.6rem;
}

.logo__name {}

.construction__title {
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 7.2rem;
    line-height: 74.88px;
    color: #162C4E;
    opacity: 0.39;
    margin-bottom: 0.8rem;
    margin: 0px 10px 0 10px;
    text-align: center;

}

.construction__desc {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    line-height: 150%;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 3.2rem;
    max-width: 43rem;
    text-align: center;
}


.countdown__nums {
    font-size: 7.2rem;
    line-height: 100%;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #162C4E;
    width: 63rem;
    letter-spacing: 3px;
}

.countdown__text {
    display: flex;
    margin-bottom: 7.2rem;
    padding: 0 15px 0;
    justify-content: space-between;
}

.countdown__block {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown__par {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    line-height: 100%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.countdown__par2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    line-height: 100%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.construction__text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    line-height: 150%;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 1.2rem;
}

.construction__link {
    background-color: #1D4169;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    line-height: 150%;
    border-radius: 40px;
    padding: 1.6rem 2.2rem;
    margin-bottom: 7.6rem;
    position: relative;
}

.link__img {
    margin-left: 3rem;
    position: relative;
    top: 4px;
}

.footer {
    background-color: #162C4E;
    display: flex;
    align-items: center;
}

.footer__form {
    position: relative;
}

.footer__email {
    font-family: 'Roboto', sans-serif;
    width: 440px;
    height: 59px;
    padding: 1.6rem 2.7rem;
    border: 1px solid rgba(0, 0, 0, 0.8);
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.4);
    border-radius: 40px;
    margin: 6.1rem 0 0 0;
}

.footer__email:focus {
    outline: 0;
}

.footer__email::placeholder {
    font-size: 1.8rem;
}

.footer__btn {
    width: 43px;
    height: 43px;
    background-color: #DF2224;
    border-radius: 50%;
    border: none;
    position: absolute;
    top: 7rem;
    right: 1rem;
}

.error {
    visibility: hidden;
    font-family: 'Poppins', sans-serif;
    color: #ff3860d9;
    font-size: 14px;
    margin: 1rem 0 4.2rem 2rem;
}


.popup {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background-color: rgba(22, 44, 78, 0.6);
    z-index: 2;
    display: none;
}

.popup.active {
    display: block;
}

.popup__wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

.popup__body {
    position: relative;
    margin: auto;
    max-width: 32rem;
    max-height: 37rem;
    background-color: #fff;
    text-align: center;
}

.popup__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 3.6rem;
    line-height: 104%;
    text-transform: uppercase;
    color: #162C4E;
    margin: 9.8rem 0 2.9rem 0;
}

.popup__text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    line-height: 150%;
    color: rgba(0, 0, 0, 0.8);
    padding: 0 20px;
    margin-bottom: 3rem;
}

.popup__btn {
    background: #1D4169;
    border-radius: 40px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    line-height: 150%;
    color: #fff;
    padding: 10px 10px;
    width: 20rem;
    height: 6rem;
    margin-bottom: 7rem;
    cursor: pointer;
}

.popup__close {
    position: absolute;
    right: 12px;
    width: 32px;
    height: 32px;
    cursor: pointer;
}

.popup__close:before,
.popup__close:after {
    position: absolute;
    left: 15px;
    top: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #13597880;
    ;
}

.popup__close:before {
    transform: rotate(45deg);
}

.popup__close:after {
    transform: rotate(-45deg);
}


@media screen and (max-width: 768px) {

    .container {
        max-width: 420px;
    }

    .logo {
        margin: 10rem 0 14.3rem 0;
    }

    .construction__title {
        font-size: 3.6rem;
        margin-bottom: 0.6rem;
        margin: 0px 0px 0px 0px;
        padding: 0 10px 0 10px;
        white-space: nowrap;
    }

    .construction__desc {
        font-size: 1.6rem;
        margin-bottom: 3.8rem;
        max-width: 30rem;
    }

    .countdown__nums {
        font-size: 3.6rem;
        width: 40rem;
        margin: 0 auto;
        letter-spacing: 6px;
    }

    .countdown__text {
        margin-bottom: 3rem;
        padding: 0 15px 0;
    }

    .countdown__par {
        display: none;
    }

    .countdown__par2 {
        font-size: 1.2rem;
        display: block;
    }

    .countdown__img {
        width: 74px;
        height: 54px;
    }

    .construction__text {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .construction__link {
        font-size: 1.8rem;
        padding: 1.6rem 2.2rem;
        margin-bottom: 17rem;
    }

    .footer__email {
        width: 360px;
        height: 41px;
        padding: 1.6rem 2.7rem;
        margin: 6.1rem 0 0 0;
    }

    .footer__email::placeholder {
        font-size: 1.4rem;
    }

    .footer__btn {
        width: 33px;
        height: 33px;
        top: 6.5rem;
        right: 0.6rem;
    }

    .error {
        font-size: 1.2rem;
        margin: 1rem 0 2.8rem 2rem;
    }


    .popup__body {
        max-width: 30rem;
        max-height: 35rem;
    }

    .popup__title {
        font-size: 2.8rem;
        margin: 9.8rem 0 2.6rem 0;
    }

    .popup__text {
        font-size: 1.4rem;
        margin-bottom: 3rem;
    }

    .popup__btn {
        font-size: 1.6rem;
        width: 16rem;
        height: 6rem;
        margin-bottom: 5rem;
    }

}


@media screen and (max-width: 360px) {

    .container {
        max-width: 310px;
    }

    .spot1 {
        top: -60px;
        right: 123px;
        max-width: unset;
    }

    .spot2 {
        top: 0px;
        right: 0px;
        max-width: 200px;
    }

    .logo {
        margin: 7.8rem 0 6.3rem 0;
    }

    .logo__img {
        width: 4rem;
    }

    .logo__name {
        width: 7.6rem;
    }

    .construction__title {
        font-size: 3.6rem;
        margin-bottom: 1.6rem;
        text-align: center;
        line-height: 36.88px;
        white-space: unset;
    }

    .construction__desc {
        margin-bottom: 3.8rem;
        max-width: 29rem;
    }

    .countdown__nums {
        width: 29rem;
        letter-spacing: 0px;
    }

    .countdown__text {
        margin-bottom: 3.6rem;
    }


    .construction__text {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .construction__link {
        margin-bottom: 8.5rem;
    }

    .footer__email {
        width: 280px;
        height: 41px;
        margin: 5.1rem 0 0 0;
    }

    .footer__btn {
        top: 5.5rem;
        right: 0.6rem;
    }

    .error {
        margin: 1rem 0 2rem 2rem;
    }


    .popup__body {
        max-width: 25rem;
        max-height: 30rem;
    }

    .popup__title {
        font-size: 2.8rem;
        margin: 4.8rem 0 2.2rem 0;
    }

    .popup__text {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }

    .popup__btn {
        font-size: 1.4rem;
        width: 14rem;
        height: 5rem;
        margin-bottom: 5rem;
    }
}