
@font-face {
    font-family: "ofont";
    src: url("../fonts/ofont.ru_Miama Nueva.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "ofont", sans-serif;
    color: #000000;
}

body {
    overflow-y: hidden;
}

.info, .date-info, .details {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.line img {
    width: 1000px;
}

.wrap {
    height: 100%;
    background-color: #DCDCDC;
}

.container {
    position: relative;
    max-width: 850px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    background-color: #ffffff;
    overflow: hidden;
}

.main {
    width: 100%;
    margin-bottom: 60px;
}

.content {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 0 10px;
    background-image: url("../img/bg1.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
}

.content-info {
    min-height: 370px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.content-info__title {
    font-family: "ofont", sans-serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 45px;
    text-transform: lowercase;
}

.content-info__names {
    font-family: "ofont", sans-serif;
    font-size: 82px;
    margin-bottom: 38px;
}

.content-info__subtitle {
    max-width: 610px;
    margin-bottom: 45px;
    font-size: 30px;
    text-transform: lowercase;
}

.content-info__date {
    font-size: 26px;
}

.timer {
    position: relative;
    display: flex;
    width: 350px;
    justify-content: space-between;
}

.timer__item {
    position: relative;
    font-size: 40px;
}

.timer .title--size {
    font-size: 30px;
}


.timer__item::before {
    content: attr(data-title);
    display: block;
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.875rem;
    color: #000000;
    font-size: 18px;
}


.info {
    position: relative;
    margin-bottom: 60px;
}

.title_line {
    position: relative;
    margin-top: 200px;
}

.info .title_line::before {
    content: url("../img/line.png");
    width: 1400px;
    height: 241px;
    position: absolute;
    top: -200px;
    left: 38%;
    transform: translateX(-50%) scale(0.7);
}

.title {
    max-width: 344px;
    padding: 0 0 30px 0;
    font-size: 50px;
    font-weight: 400;
}

.text {
    line-height: 1.6;
    font-size: 24px;
}

.date__content {
    display: flex;
    align-items: center;
    margin-bottom: 70px;
}

.date__center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.date__common {
    width: 140px;
    padding: 8px 0;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;

}

.date__center {
    padding: 0 20px;
}

.date__day {
    padding: 10px 0;
    font-size: 30px;
}

.palette {
    display: flex;
    margin: 100px 0;
}

.palette__common {
    width: 80px;
    height: 80px;
    margin-left: -20px;
    border: 1px solid #000000;
    border-radius: 50%;
}

.palette__1 {
    margin-left: 0;
    background-color: #e0dcd9;
}

.palette__2 {
    background-color: #cad8db;
}

.palette__3 {
    background-color: #afd0d5;
}

.palette__4 {
    background-color: #e0c5ba;
}

.palette__5 {
    background-color: #76b2bd;
}

.palette__6 {
    background-color: #FFB6C1;
}

.details {
    height: 100%;
    width: 100%;
    margin-bottom: 40px;
    background-image: linear-gradient(to top, white, transparent 0%, transparent 20%, white), linear-gradient(to bottom, white, transparent 0%, transparent 70%, white) , url("../img/bg2.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
}

.details .date-counter {
    margin-top: 40px;
}

.details__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 70px;
}

.zig-zag {
    width: 200px;
    height: 1px;
    margin: 40px 0;
    background-color: #000000;
}

.program {
    margin: 0 15px 100px 15px;
    border-radius: 20px;
    padding: 35px 25px;
    box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.2);
}

.program__container {
    display: flex;
    justify-content: space-between;
    height: 340px;
}

.program__column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.program__dot {
    position: relative;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #000000;
    z-index: 1;
}

.program__dot:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 114px;
    transform: translate(-50%, 0);
    background-color: #000000;
    z-index: 0;
}

.program__text {
    max-width: 190px;
}

.program .title {
    max-width: 320px;
    margin-bottom: 10px;
    font-size: 34px;
}

.wait-you {
    margin-bottom: 120px;
}

.wait-you__content span {
    font-size: 32px;
}


form .input {
    width:100%;
    margin-bottom: 10px;
    padding: 5px 30px 5px 10px;
    font-size: 17px;
    border: none;
    border: 1px solid #808080;
    color: #808080;
    border-radius: 2px;
}

.form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 160px;
}

.form .text {
    margin-bottom: 30px;
}

.text--small {
    font-size: 17px;
}

form {
    display: flex;
    flex-direction: column;
    margin: 0 15px;
}

.textarea {
    width:100%;
    margin-bottom: 10px;
    padding: 10px;
    color: #808080;
    border: 1px solid #808080;
}

.button {
    width: 100%;
    padding: 10px 0;
    color: #808080;
    background-color: transparent;
    border: 1px solid #808080;
}

.form .button {
    width: auto;
    padding: 10px 10px;
    margin-bottom: 30px;
    color: #000000;
}

.form .button:hover {
    color: #2f2f2f;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    z-index: 100;
    background-color: #ffffff;
    transition: 0.7s linear;
}

.click-audio {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    z-index: 10;
    color: #000000;
    font-size: 40px;
    background-color: rgba(255,255,255, 0.8);
    visibility: visible;
    transition: 0.7s linear;
    cursor: pointer;
}

.click-audio p {
    line-height: 1.8;
}

.disable-audio {
    position: absolute;
    right: 15px;
    bottom: 15px;
    padding: 15px 10px;
    border: 1px solid #000000;
    color: #000000;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9;
    border-radius: 12px;
    cursor: pointer;
}

.loader__text {
    display: flex;
}

.loader__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader__text span {
    overflow: hidden;
    display: inline-block;
    margin-left: 7px;
    width: 22%;
    animation: dots 2s infinite linear;
}

.disabled {
    opacity: 0;
    visibility: hidden;
    transition: 0.7s linear;
}

.pre-loader {
    width: 60px;
    margin-bottom: 15px;
    height: 60px;
    background: linear-gradient(#dc1818 0 0) bottom/100% 0% no-repeat #ccc;
    -webkit-mask:
            radial-gradient(circle at 60% 65%, #000 62%, #0000 65%) top left,
            radial-gradient(circle at 40% 65%, #000 62%, #0000 65%) top right,
            linear-gradient(to bottom left, #000 42%,#0000 43%) bottom left ,
            linear-gradient(to bottom right,#000 42%,#0000 43%) bottom right;
    -webkit-mask-size: 50% 50%;
    -webkit-mask-repeat: no-repeat;
    animation: l19 2s infinite ease-in-out;
}
@keyframes l19 {
    90%,100% {background-size:100% 100%}
}

@keyframes dots {
    from {
        width: 0%;
    }
    to {
        width: 22%;
    }
}


@media (max-width: 750px) {
    .content-info__title {
        font-size: 28px;
    }

    .content-info__names {
        font-size: 68px;
    }

    .content-info__subtitle {
        font-size: 24px;
    }

    .content-info__date {
        font-size: 20px;
    }
}

@media (max-width: 620px) {
    .content-info__title {
        font-size: 24px;
    }

    .content-info__names {
        font-size: 58px;
    }

    .content-info__subtitle {
        font-size: 22px;
    }

    .content-info__date {
        font-size: 20px;
    }

    .title {
        font-size: 46px;
    }

    .text {
        font-size: 22px;
    }

    .text--small {
        font-size: 16px;
    }

    .timer {
        width: 290px;
    }

    .timer__item {
        font-size: 31px;
    }

    .timer__item::before {
        font-size: 15px;
    }
}

@media (max-width: 530px) {
    .content-info__title {
        font-size: 22px;
    }

    .content-info__names {
        font-size: 50px;
    }

    .content-info__subtitle {
        font-size: 20px;
    }

    .content-info__date {
        font-size: 19px;
    }
    .title {
        font-size: 42px;
    }

    .text {
        font-size: 19px;
    }
    .text--small {
        font-size: 15px;
    }

    .program .title {
        font-size: 27px;
    }

    .timer .title--size {
        font-size: 24px;
    }

    .click-audio {
        font-size: 30px;
    }
}

@media (max-width: 445px) {
    .content-info__title {
        font-size: 20px;
    }

    .content-info__names {
        font-size: 40px;
    }

    .content-info__subtitle {
        font-size: 16px;
    }

    .content-info__date {
        font-size: 17px;
    }

    .date__common {
        width: 105px;
        font-size: 17px;
    }

    .date__center {
        font-size: 17px;
    }

    .palette__common {
        width: 65px;
        height: 65px;
    }

    .program__column {
        font-size: 14px;
    }

    .program__text {
        max-width: 170px;
    }

}
