@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');

html {
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.2;
}

html * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*, *::after, *::before {
    box-sizing: inherit;
}

img {
    display: block;
    max-width: 100%;
}

h1, h2, p {
    margin: 0;
}

button, button:focus, input, input:focus {
    display: block;
    width: 100%;
    outline: none;
    border: none;
    cursor: pointer;
}

button:hover,
button:focus {
    opacity: 0.9;
    outline: 0;
}

body {
    font-family: "Poppins", "Arial", sans-serif;
    color: #FFFFFF;
    background-image: url("../img/bg@1x.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {
    body {
        background-image: url("../img/bg@2x.webp");
    }
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.webinar {
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-height: 100vh;
}

.header-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.webinar-date {
    width: max-content;
    padding: 0.625rem 1.25rem;
    background-color: #3D3A54;
    border-radius: 0 0 1.125rem 1.125rem;
    margin-right: 1.875rem;
}

.webinar-date-value {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    padding-top: 0.3rem;
}

.webinar-date-title {
    font-weight: 300;
    font-size: 0.875rem;
    text-align: center;
    color: rgba(256, 256, 256, 0.6);
}

.webinar-date-date {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0;
    color: #D697FD;
    margin-right: 0.75rem;
    padding-right: 0.75rem;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.purple {
    color: #D697FD;
}

.webinar-date-time {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0;
    color: white;
}

.webinar-mentor h2 {
    font-size: 1.5rem;
    font-weight: 500;
}

.webinar-mentor span {
    color: #D697FD;
}

.webinar-mentor p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
}

.webinar-main {
    position: relative;
    flex-grow: 1;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.webinar-title {
    padding-left: 1rem;
    padding-bottom: 0.5rem;
    border-left: 0.635rem solid #D697FD;
    background-image: url("../img/flag.png");
    background-repeat: no-repeat;
    background-size: 7rem;
    background-position: 42% -2rem;
}

.webinar-title h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.webinar-title p {
    line-height: 1;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0;

}

.webinar-main-mentor img {
    width: 60%;
    margin: 0 auto;
}

.webinar-main .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.webinar-main-content {
    width: 55%;
}

.webinar-main-heading-telegram {
    font-size: 2.5rem;
}

.webinar-main-info {
    width: 32rem;
    padding-top: 3rem;
}

.webinar-main-info--telegram {
    width: 32rem;
    padding-top: 1rem;
}

.webinar-main-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.webinar-main-title--telegram {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0;
}

.webinar-main-ul {
    margin: 0 0 4rem;
    padding: 0;
    list-style-type: none;
}

.webinar-main-li {
    display: flex;
    align-items: center;
    margin-bottom: 1.125rem;
}

.webinar-main-disc {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 1.125rem;
    border-radius: 50%;
}

.webinar-main-disc img {
    height: 1.5rem;
}

.webinar-main-text {
    font-size: 1.125rem;
    color: rgba(256, 256, 256, 0.6);
}

.webinar-main-hint strong {
    color: #FF5D5D;
}

.webinar-main-button {
    position: relative;
    height: 4.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, #EB09EF 0%, #DD1A8F 100%);
    font-size: 1.5rem;
    color: #FFFFFF;
    font-weight: 500;
    transition: all 0.1s ease;
}

.webinar-main-button::after {
    content: "";
    position: absolute;
    top: -1rem;
    right: -6rem;
    display: block;
    width: 6rem;
    height: 6rem;
    background-image: url("../img/arrow.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.webinar-telegram-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    height: 4.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, #EB09EF 0%, #DD1A8F 100%);
    font-size: 1.5rem;
    color: #FFFFFF;
    font-weight: 500;
    transition: all 0.1s ease;
    cursor: pointer;
    text-decoration: none;
    -webkit-animation-delay: 0s;
    -moz-animation-delay: 0s;
    animation-delay: 0s;
    -webkit-animation-duration: 2s;
    -moz-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    animation-name: shake-it;
}

@keyframes shake-it {
    from, to {
        transform: translateX(0px);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(10px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(-10px);
    }
}

.webinar-telegram-button img {
    width: 2rem;
    margin-right: 0.75rem;
}

.webinar-main-mentor {
    display: none;
    padding-top: 2rem;
}

.webinar-main-mentor img {
    width: 60%;
    margin: 0 auto;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
    z-index: 2;
    display: none;
    place-items: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.50);
}

.modal-backdrop--open {
    display: grid;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 32rem;
    padding: 2.5rem;
    background-color: #fff;
    border-radius: 1.125rem;
    color: rgba(0, 0, 0, 0.60);
}

.form-heading {
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
    color: #000000;
}

.form-text {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
}

.form-label {
    display: block;
    margin-bottom: 1.5rem;
}

.form-label span {
    display: block;
    margin-bottom: 0.625rem;
    font-size: 1.125rem;
}

.form-label input {
    border-radius: 0.75rem;
    border: 1px solid #BED4DA;
    background-color: #F3F7F8;
    font-size: 1.125rem;
    padding: 0 1.125rem;
    height: 3rem;
}

.form-button {
    height: 3rem;
    border-radius: 0.75rem;
    background: linear-gradient(180deg, #EB09EF 0%, #DD1A8F 100%);
    font-size: 1.125rem;
    color: #FFFFFF;
    font-weight: 500;
    transition: all 0.1s ease;
}

.form-button[disabled] {
    background: lightgrey;
    cursor: not-allowed;
}

.form-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    cursor: pointer;
}

@media (min-width: 576px) {
    .container, .container-sm {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}


@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 71.25rem;
        padding-left: 0.9375rem;
        padding-right: 0.9375rem;
    }
}

@media (max-width: 1200px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 1070px) {
    body {
        background-image: url("../img/bg-mobile.jpg");
        background-size: cover;
    }

    .webinar-date {
        width: 100%;
        margin-right: 0;
    }

    .webinar-date-value {
        justify-content: center;
    }

    .webinar-main-button::after {
        display: none;
    }

    .webinar-mentor {
        width: 100%;
        padding-top: 1rem;
        text-align: center;
    }

    .webinar-main {
        flex-grow: 0;
        padding-top: 3rem;
        padding-bottom: 0;
    }

    .webinar-main--telegram {
        text-align: center;
    }

    .webinar-main-content {
        width: 100%;
    }

    .webinar-main-info {
        width: 100%;
    }

    .webinar-main-info--telegram {
        width: 100%;
    }

    .webinar-main-mentor {
        display: block;
    }
}

@media (max-width: 576px) {
    .webinar-main-mentor img {
        width: 100%;
    }

    .webinar-title {
        background-position: 85% -2rem;
    }
}

@media (min-width: 1500px) {
    html {
        font-size: 17px;
    }
}

@media (min-width: 1600px) {
    html {
        font-size: 18px;
    }
}

@media (min-width: 1700px) {
    html {
        font-size: 19px;
    }
}

@media (min-width: 1800px) {
    html {
        font-size: 20px;
    }
}

@media (min-width: 1900px) {
    html {
        font-size: 21px;
    }
}
