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

@font-face {
    font-family: Sceptica;
    src: url(../fonts/Sceptica/Sceptica.otf);
}

@font-face {
    font-family: Sceptica Black;
    src: url(../fonts/Sceptica/Sceptica-Black.otf);
}

@font-face {
    font-family: Proxima Nova;
    src: url("../fonts/Proxima Nova/ProximaNova-Reg.otf");
}

@font-face {
    font-family: Proxima Nova Black;
    src: url("../fonts/Proxima Nova/ProximaNova-Bold.otf");
}

@font-face {
    font-family: Proxima Nova Semibold;
    src: url("../fonts/Proxima Nova/ProximaNova-Xbold.otf");
}

@font-face {
    font-family: Proxima Nova Bold;
    src: url(../fonts/Montserrat/Montserrat-Black.ttf);
}

* {
    font-family: Proxima Nova, sans-serif;
    line-height: 28px;
    font-size: 18px;
    color: #312a20;
}

a {
    color: #38a6df;
    text-decoration: none;
}

p {
    margin: 0;
}

b, i, strong, em {
    font-size: inherit;
}

img {
    max-width: 100%;
}

input,
select,
textarea {
    font-family: Proxima Nova, sans-serif;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
}

textarea {
    resize: none;
}

.input-container {
    position: relative;
    border-bottom: 2px solid #ccc;
    width: 100%;
}

.input-container input[type="text"] {
    font-size: 20px;
    width: 100%;
    border: none;
    padding: 5px 0;
    background-color: transparent;
    outline: none;
}

.input-container .label {
    position: absolute;
    top: 0;
    left: 0;
    color: #ccc;
    transition: all 0.3s ease;
    pointer-events: none;
    font-size: 16px;
}

.input-container input[type="text"]:focus ~ .label,
.select-value label.label,
.input-container input[type="text"]:not(:placeholder-shown) ~ .label {
    top: -20px;
    font-size: 16px;
    color: #38b449;
}

.input-container .underline {
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: #38b449;
    transform: scaleX(0);
    transition: all 0.3s ease;
}

.input-container input[type="text"]:focus ~ .underline,
.input-container input[type="text"]:not(:placeholder-shown) ~ .underline {
    transform: scaleX(1);
}

.select-value div.underline {
    transform: scaleX(1) !important;
}

.page {
    min-height: 100vh;
    background: url("/images/background.svg");
    background-size: cover;
    padding: 139px 0;
}

.payment-form-wrapper:before {
    content: '';
    position: absolute;
    top: -106px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 301px;
    height: 219px;
    background: #fff;
    z-index: 1;
    border-radius: 50%;
}

.payment-form-logo {
    position: relative;
    z-index: 2;
    margin-top: -100px;
    width: 230px;
    height: 160px;
    background: url("/images/registration/baku-wide-en.png");
    background-size: cover;
}

.payment-form-wrapper {
    margin: 0 auto;
    padding: 30px 80px 30px 80px;
    background: #fff;
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 1120px;
    width: 90%;
}

#payment-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.payment-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    justify-content: center;
}

.payment-form {
    width: 100%;
    /*min-height: 100vh;*/
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-form-title {
    font-weight: 700;
    font-size: 30px;
}


.button-reg {
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    border: none;
    font-size: 14px;
    font-family: inherit;
    color: #fff;
    line-height: 2em;
    padding: 5px 10px;
    min-width: 267px;
    text-align: center;
    background: linear-gradient(90deg, #75c55a, #79b9d7, #ffeb3b, #03a9f4);
    background-size: 300%;
    border-radius: 30px;
    z-index: 1;
}

.button-reg:hover {
    animation: ani 8s linear infinite;
    border: none;
}

@keyframes ani {
    0% {
        background-position: 0%;
    }

    100% {
        background-position: 400%;
    }
}

.button-reg:before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    z-index: -1;
    background: linear-gradient(90deg, #75c55a, #79b9d7, #ffeb3b, #03a9f4);
    background-size: 400%;
    border-radius: 35px;
    transition: 1s;
}

.button-reg:hover::before {
    filter: blur(20px);
}

.button-reg:active {
    background: linear-gradient(90deg, #75c55a, #79b9d7, #ffeb3b, #03a9f4);
}

.payment-price {
    visibility: hidden;
    display: flex;
    align-items: center;
    gap: 20px;
}


.select:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 5px;
    display: block;
    width: 10px;
    height: 2px;
    transition: all 0.3s ease-out;
    background-color: #333333;
    transform: translate(-3px, -50%) rotate(45deg);
}

.select:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 5px;
    display: block;
    width: 10px;
    height: 2px;
    transition: all 0.3s ease-out;
    background-color: #333333;
    transform: translate(3px, -50%) rotate(-45deg);
}

.select-on::before {
    transform: translate(-3px, -50%) rotate(-45deg);
}

.select-on::after {
    transform: translate(3px, -50%) rotate(45deg);
}

.input-container .select {
    height: 40px;
}

.input-container .select-trigger {
    padding: 5px 0;
    font-size: 20px;
    font-family: Proxima Nova, sans-serif;
}

.input-container .select-trigger {
    background: none;
    border: none;
    height: 100%;
}

#noneOlympiadId {
    display: none;
}


.word-divider {
    overflow: hidden;
    text-align: center;
    grid-column: 1/4;
}

.word-divider:before,
.word-divider:after {
    background-color: #ccc;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 50%;
}

.word-divider:before {
    right: 0.5em;
    margin-left: -50%;
}

.word-divider:after {
    left: 0.5em;
    margin-right: -50%;
}

.input-group {
    display: flex;
    align-items: center;
}

.action-input-group {
    display: flex;
    min-height: 50px;
    padding-left: 10px;
    color: #3c352b;
    font-size: 15px;
    border: 1px solid #3db64c;
    border-radius: 7px;
    background-color: transparent;
}

.payment-price-price {
    font-size: 22px;
}

.action-input-button {
    min-height: 50px;
    border: none;
    border-radius: 0 6px 6px 0;
    background-color: #35b051;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background-color .3s ease-in-out;
}

.action-input-button:hover {
    background-color: #3e9536;
}

.action-input:focus, .action-input:focus-visible {
    border-color: #3e9536;
    outline: none;
}

.payment-page .page-content-footer {
    display: none;
}

.switch-lang {
    position: absolute;
    left: 40px;
    top: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.switch-locale {
    cursor: pointer;
}

.switch-locale > img {
    width: 25px;
}

.selectBirthDate {
    line-height: 40px;
    font-size: 11px;
    color: #cccccc;
}

.noAccessCategory {
    line-height: 40px;
    display: none;
    font-size: 16px;
    color: #cccccc;
}

@media screen and (max-width: 1240px) {
    .word-divider {
        grid-column: 1/3;
    }
}

@media screen and (max-width: 880px) {
    .word-divider {
        grid-column: 1/2;
    }
}
