@import url("../../style/normalize.css");
@import url("../../style/fonts.css");
@import url("../../style/global.css");

html {
    box-sizing: border-box;
    width: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

a {
    display: inline-block;
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

body {
    min-width: 20rem;
    width: 100%;
    word-break: normal;
    font-family: "Wellingtons", sans-serif;
    background-color: var(--clolor-dark-purple);
    overflow: clip;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

:root {
    --color-gray: #D9D9D9;
    --clolor-dark-purple: #211B21;
    --color-light-green: #78e150;
    --color-light-gray: #ededed;
    --color-glaccy: rgba(196, 196, 196, 0.01);
    --color-black: #030303;
    --color-white: #ffffff;
    --color-green: #2b9b00;
    --color-dark-green: #004600;
    --color-purple: #7A637D;
    --color-purple-gray: rgba(68, 64, 68, 0.2);
    --card-color: rgba(122, 99, 125, 0.25);
    --inner-shadow: inset 0 1px 40px 0 rgba(227, 222, 255, 0.05),
        inset 0 98px 100px 0 rgba(202, 172, 255, 0.2);
}

/* ---------------------- global ------------------------*/

.list-reset {
    margin: 0;
    padding: 0;
    list-style: none;
}

.btn-reset {
    padding: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.container {
    max-width: 1920px;
    padding-inline: 2rem;
    margin: 0 auto;
}

.title {
    color: var(--color-light-gray);
    font-size: 4.5rem;
    font-weight: 500;
    text-align: center;
}

.section-text {
    color: var(--color-light-gray);
    font-size: 2rem;
    font-weight: 400;
    line-height: 2.8rem;
}

.accent-text {
    color: var(--color-light-green);
}

.accent-text {
    color: var(--color-light-green);
}

.pre-line {
    white-space: pre-line;
}

/* ---------------------- header ------------------------*/
.header {
    overflow-x: clip;
    height: 6.25rem;
}

.header-lang-wrapper {
    display: flex;
    column-gap: 1rem;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4.5rem;
}

.lang-list {
    display: flex;
    color: var(--color-light-gray);
    font-size: 1.25rem;
    align-items: center;
}

.header-lang-logo {
    cursor: default;
}

.header-lang-logo svg {
    width: 11.125rem;
    height: 3.25rem;
}

.header-picture-elipse {
    z-index: -1;
    position: absolute;
    left: 0;
    top:0;
}

.nav-list-item {
    color: var(--color-light-gray);
    font-size: 1.25rem;
    font-family: "Wellingtons", sans-serif;
    font-weight: 400;
    transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
}

.nav-list-item:hover {
    color: var(--color-light-green);
    border: 1px solid var(--color-light-green);
    padding: 0.5rem 1rem;
}

.logo-link svg {
    width: 188px;
    height: 72px;
}

.nav-list-item:active {
    color: var(--color-green);
    border: 1px solid var(--color-green);
    padding: 0.5rem 1rem;
}

.lang-item {
    padding:6px;
}

.lang-item:hover {
    padding:6px;
}

.register-link {
    font-family: "Wellingtons", sans-serif;
    color: black;
    background-color: var(--color-light-green);
    padding: 0.75rem 6.8rem;
    border-radius: 1.25rem;
    font-size: 1.25em;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease-in-out;
    -webkit-transition: background-color 0.3s ease-in-out;
}

.register-link:hover {
    background-color: var(--color-green);
}

.register-link:active {
    background-color: var(--color-dark-green);
}

.header-register-link {
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    padding: 0.91rem 5.1rem;
    text-align: center;
    height: auto;
}

.header-question-link {
    display: flex;
    column-gap: 12px;
    font-family: "Wellingtons", sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    padding: 0.5rem 0.75rem;
    align-items: center;
    color: var(--color-light-green);
    border-radius: 1.25rem;
    border: 2px solid var(--color-light-green);
    text-transform: uppercase;
    transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
    -webkit-transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.header-question-link svg {
    width: 32px;
    height: 32px;
}

.header-question-link svg path {
    transition: fill 0.3s ease-in-out;
    -webkit-transition: fill 0.3s ease-in-out;
    fill: var(--color-light-green);
}

.header-question-link:hover {
    color: var(--color-green);
    border: 2px solid var(--color-green);
}

.header-question-link svg path {
    fill: var(--color-light-green);
}

.header-question-link:hover svg path {
    fill: var(--color-green);
    transition: fill 0.3s ease-in-out;
    -webkit-transition: fill 0.3s ease-in-out;
}

.header-btn-wrapper {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}

.nav-list {
    display: flex;
    column-gap: 0.5rem;
}

.mobile-buttons {
    display: none;
}

.burger-menu {
    display: none;
    z-index: 1001;
    cursor: pointer;
    padding: 9px 10px;
    width: 46px;
    height: 46px;
}

.bar1,
.bar2,
.bar3 {
    width: 26px;
    height: 5px;
    background-color: var(--color-black);
    margin: 4px 0;
    transition: 0.4s;
    border-radius: 0.2rem;
}

.change .bar1 {
    transform: translate(0, 9px) rotate(-45deg);
    background-color: var(--color-light-green);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -9px) rotate(45deg);
    background-color: var(--color-light-green);
}

.burger-menu.change {
    background-color: var(--clolor-dark-purple);
    transition: background-color 0.3s ease-in-out;
    -webkit-transition: background-color 0.3s ease-in-out;
}

/* ---------------------- burger ------------------------*/
/* ---------------------- hero ------------------------*/
.hero-section {
    overflow-x: clip;
}

.hero-container {
    position: relative;
    max-width: 120rem;
    margin: 0 auto;
    padding-left: 6rem;
    display: grid;
    grid-template-columns: 1fr auto;
}

.hero-section__wrapper {
    max-width: 50rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 7.5rem 0;
    gap: 2rem;
    position: relative;
}

.hero-section__img {
    grid-column: 2;
    align-self: center;
    top: -50px;
    width: 100%;
    height: auto;
    z-index: -1;
}

.hero-section__wrapper::after {
    content: "";
    position: absolute;
    top: -8rem;
    right: -64rem;
    width: 115%;
    height: 125%;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -2;
}

.hero-title {
    color: var(--color-light-gray);
    min-width: 50rem;
    font-size: 6.25rem;
    font-weight: 500;
    line-height: 6.25rem;
}

.hero-text {
    max-width: 41rem;
}
.hero-section-btn-wrapper {
    margin-top: 1rem;
}

.hero-section .gradient__right {
    position: absolute;
    right: -24rem;
    top: -29rem;
    z-index: -1;
    float: right;
}

/* ---------------------- about-olympic ------------------------*/
.article-text {
    white-space: pre-line;
    color: var(--color-light-gray);
    font-size: 2rem;
    font-weight: 400;
}

.about-olympic-section {
    margin-top: 12.5rem;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
    position: relative;
}

.about-olympic__text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-olympic__text {
    text-align: center;
    max-width: 94.75rem;
    white-space: pre-line;
}

.about-olympic__text:first-child{
    color: var(--color-light-green);
    text-transform: uppercase;
}

.about-olympic-grid-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    gap: 1.5rem;
    max-width: 45.625rem;
    margin: 3rem 0;
}
.about-olympic-grid-wrapper::before {
    position: absolute;
    left: -41rem;
    top: -27rem;
    width: 52.75rem;
    height: 34rem;
    content: "";
    background-repeat: no-repeat;
    z-index: -1;
}

.about-olympic-grid-wrapper::after {
    position: absolute;
    right: -68rem;
    top: -19rem;
    width: 66.25rem;
    height: 74rem;
    content: "";
    background-repeat: no-repeat;
    z-index: -1;
}

.text-enlarge {
    font-size: 3.375rem;
}

.article-info {
    display: grid;
    align-items: center;
    padding: 2rem;
    background: var(--card-color);
    border-radius: 1.5rem;
    min-height: 13.625rem;
    justify-items: center;
    text-align: center;
}

.journey-wrapper {
    display: grid;
    justify-items: center;
    width: 100%;
}

.journey-btn {
    margin-top: 2rem;
    padding: 0.75rem 8.9rem;
}

.about-olympic-section .gradient__left {
    position: absolute;
    left: -50rem;
    top: -51rem;
    z-index: -1;
    float: right;
}

.about-olympic-section .gradient__right {
    position: absolute;
    right: -50rem;
    top: 0;
    z-index: -1;
    float: right;
}

.about-olympic-section .gradient__right-bottom {
    display: none;
}

.about-olympic-section .gradient__left-bottom {
    display: none;
}

.about-olympic-section .gradient__left-bottom {
    display: none;
}

.about-olympic-section .picture__left {
    position: absolute;
    left: -15rem;
    top: -16rem;
    z-index: -1;
    float: left;
}

.about-olympic-section .picture__right {
    position: absolute;
    right: -21rem;
    top: 30rem;
    z-index: -1;
    float: right;
}

/* ---------------------- stages ------------------------*/

.stages-section {
    position: relative;
    margin-top: 12.5rem;
    overflow-x: clip;
}

.stages-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 2rem;
}

.stages-list {
    position: relative;
    max-width: 69.125rem;
    display: grid;
    row-gap: 2rem;
    justify-items: center;
    width: 100%;
}

.stages-list::before {
    position: absolute;
    left: -52%;
    top: -6%;
    width: 31rem;
    height: 29.75rem;
    content: "";
    background-repeat: no-repeat;
    transform: rotate(12deg);
    z-index: -1;
}

.stages-list::after {
    position: absolute;
    right: -50%;
    top: 46%;
    width: 44.75rem;
    height: 63.5rem;
    content: "";
    background-repeat: no-repeat;
    z-index: -1;
}

.stages-item {
    width: 100%;
    min-height: 6.75rem;
    background: var(--card-color);
    display: grid;
    grid-template-columns: 22rem 1fr;
    align-items: center;
    padding: 1.5rem 3rem;
    border-radius: 1.25rem;
    gap: 0.625rem;
}

.stages-date {
    color: var(--color-light-gray);
    font-size: 2rem;
}

.stages-action {
    color: var(--color-light-gray);
    font-size: 2rem;
    display: grid;
}

.stages-schedule {
    font-size: 1rem;
}

.schedule-font-large {
    font-size: 1rem;
}

.stages-section .gradient__left {
    display: none;
}

.stages-section .gradient__right {
    display: none;
}

.stages-section .gradient__right-bottom {
    display: none;
}

.stages-section .picture__left {
    display: none;
}

.stages-section .picture__right {
    display: none;
}

/* ---------------------- final ------------------------*/

.final-section__wrapper {
    display: flex;
    width: 90%;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.final-section {
    position: relative;
    margin-top: 12.5rem;
}

.final-section__text-wrapper {
    display: flex;
    gap: 2rem;
    flex-direction: column;
}


.final-section__text {
    max-width: 44.625rem;
}

.final-section-img {
    max-width: 50%;
}

.final-section .gradient__right {
    position: absolute;
    right: -50rem;
    top: -49rem;
    z-index: -1;
    transform: rotate(53deg);
    float: right;
}

.final-section .gradient__left {
    position: absolute;
    left: -55rem;
    top: -47rem;
    z-index: -1;
    float: left;
}


/* ---------------------- partners and sponsors ------------------------*/

.card-title {
    color: var(--color-light-gray);
    max-width: 20rem;
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
}

.partners-sponsors-section {
    position: relative;
    margin-top: 16.75rem;
    overflow-x: clip;
}

.partners-sponsors-wrapper {
    width: 100%;
    display: flex;
    grid-row-gap: 3rem;
    background-color: var(--color-glaccy);
    justify-items: center;
    justify-content: center;
    margin-top: 2.5rem;
    flex-direction: column;
    align-items: center;
}

.partners-wrapper {
    width: 90%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr));
    grid-gap: 2.75rem;
    justify-content: center;
}

.partners-card {
    width: 100%;
    display: grid;
    grid-row-gap: 2rem;
    justify-items: center;
    align-content: start;
    padding: 2rem 1rem;
    backdrop-filter: blur(50px);
    background: var(--card-color);
    border-radius: 1.25rem;
}

.partners-card-wrapper {
    min-height: 11.25rem;
    width: 100%;
    height: 100%;
    display: grid;
    justify-items: center;
    align-content: center;
}

.partners-card-text {
    color: var(--color-light-gray);
    font-size: 2rem;
    font-weight: 400;
    text-align: center;
    margin-top: 1.25rem;
}

.sponsors-wrapper {
    width: 90%;
    display: grid;
    justify-items: center;
    grid-row-gap: 2rem;
    padding: 2rem;
    background: var(--card-color);
    border-radius: 1.25rem;
}

.sponsors-info-wrapper {
    display: flex;
    align-items: center;
    column-gap: 7rem;
    padding: 3rem 0;
}

.sponsor-card {
    display: grid;
    justify-items: center;
}

.sponsor-card-text {
    color: var(--color-light-gray);
    font-size: 2rem;
    font-weight: 500;
    margin-top: 1.25rem;
    text-align: center;
}

.card-text-width-small {
    max-width: 30rem;
}

.text-long{
    max-width: 100%;
}

.partners-sponsors-section .gradient__right {
    position: absolute;
    right: -70rem;
    top: 0;
    z-index: -1;
    transform: rotate(53deg);
    float: right;
}

.partners-sponsors-section .gradient__left {
    position: absolute;
    left: -77rem;
    top: 6rem;
    z-index: -1;
    float: left;
}

/* ---------------------- FAQ ------------------------*/

.FAQ-section {
    position: relative;
    margin-top: 12.5rem;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.accordion-text {
    white-space: pre-line;
}

.accordion {
    max-width: 69.125rem;
    width: 100%;
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.accordion-item {
    max-width: 100%;
    width: 100%;
    display: flex;
    border-top: 1px solid var(--color-white);
    border-bottom: 1px solid var(--color-white);
    flex-direction: column;
    padding-inline: 9.75rem;
    cursor: pointer;
}

.accordion-list{
    list-style-type: disc;
}

.ui-accordion-content {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0 2rem 0;
    color: #fff;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 28px;
    overflow: hidden;
}

.ui-accordion-header {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 1.25rem 0;
    font-weight: 400;
    font-size: 2rem;
}

.ui-accordion-header .ui-icon {
    display: none;
}

.ui-accordion-header:before {
    content: none;
}

.ui-accordion-header:after {
    position: absolute;
    right: 1rem;
    content: "";
    display: inline-block;
    vertical-align: middle;
    background-size: 32px 32px;
    width: 32px;
    height: 32px;
    transition: background-image 250ms ease-in-out;
    -webkit-transition: background-image 250ms ease-in-out;
}

.ui-accordion-header.custom-closed:after {
    background-image: url("./../../image/Plus.svg");
}

.ui-accordion-header.custom-open:after {
    background-image: url("./../../image/Minus.svg");
}

.FAQ-section .gradient__right {
    position: absolute;
    right: -45rem;
    top: 24rem;
    z-index: -1;
    float: right;
}

.FAQ-section .gradient__left {
    position: absolute;
    left: -44rem;
    top: -32rem;
    z-index: -1;
    float: left;
}

.FAQ-section .gradient__left-bottom {
    display: none;
    position: absolute;
    left: -44rem;
    top: -32rem;
    z-index: -1;
    float: left;
}

.FAQ-section .picture__left {
    position: absolute;
    left: -18rem;
    top: -26rem;
    z-index: -1;
    float: left;
}

.FAQ-section .picture__right {
    position: absolute;
    right: -24rem;
    top: -23rem;
    z-index: -1;
    float: right;
}

/* ---------------------- footer ------------------------*/

.footer {
    width: 100%;
    margin-top: 12.5rem;
    margin-bottom: 2rem;
}

.footer-nav-wrapper {
    display: flex;
    justify-content: space-between;
    width: 60%;
}

.footer-list {
    display: flex;
    flex-flow: column;
    color: var(--color-light-gray);
    font-family: Gramatika, sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    row-gap: 0.3rem;
}

.footer-title {
    padding: 0 1rem;
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-register-info {
    color: var(--color-light-gray);
}

.footer-container {
    display: flex;
    justify-content: space-between;
}

.contact-info {
    padding: 0.5rem 1rem;
}

.footer-register-link {
    display: flex;
    padding: 0.625rem 2.25rem;
    text-align: center;
    border-radius: 1.25rem;
    font-family: Gramatika, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    min-width: 15rem;


}

.footer-register-wrapper {
    display: flex;
    flex-flow: column;
    row-gap: 0.625rem;
    text-align: right;
}

.about-docs {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    color: var(--color-light-gray);
    row-gap: 0.5rem;
    text-align: left;
    font-size: 0.75rem;
    padding-inline: 1rem;
}

.all-links-wrapper {
    display: flex;
    justify-content: space-between;
}

.doc-links-wrapper {
    display: grid;
    grid-template-columns: repeat(3, auto);
    row-gap: 0.2rem;
    column-gap: 2rem;
}

.about-docs-title{
    font-weight: 700;
}

.doc-link {    font-family: "Gramatika", sans-serif;
    font-weight: 400;
    transition: color 0.3s ease-in-out;
    -webkit-transition: color 0.3s ease-in-out;
}

.doc-link:hover {
    color: var(--color-light-green);
}

.doc-link:active {
    color: var(--color-green);
}

.footer-user-info-wrapper {
    display: flex;
    flex-flow: column;
    row-gap: 4.625rem;
}

.footer-question-link {
    font-size: 1rem;
    justify-content: center;
    padding: 5px 16px;
}

.footer-logo {
    display: block;
}

.footer-mobile-logo {
    max-width: 10rem;
    display: none;
    transition: color 0.3s ease-in-out;
    -webkit-transition: color 0.3s ease-in-out;
}

.footer-mobile-logo:hover {
    color: var(--color-light-green);
}

.mobile-registration {
    display: none;
}

.creator {
    color: var(--color-light-gray);
}

/* cookies */

.cookies {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 25rem;
    background: var(--color-purple);
    border-radius: 1.25rem;
    transition: all 1s linear;
}

.cookies-wrapper {
    position: relative;
    display: grid;
    justify-items: center;
    grid-row-gap: 0.5rem;
    padding: 3rem 1rem 1rem 1rem; ;
}

.cookies-title {
    color: var(--color-white);
    font-size: 1.875rem;
    font-weight: 700;
}

.cookies-description {
    color: var(--color-white);
    font-family: "Raleway", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    text-decoration: underline;
}

.cookies-accept {
    font-size: 1.25rem;
    font-weight: 700;
    width: 100%;
    border: 2px solid var(--color-light-green);
    border-radius: 1.25rem;
    padding-block: 0.75rem;
    color: var(--color-light-green);
    text-transform: uppercase;
    transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
    -webkit-transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.cookies-accept:hover {
    color: var(--color-green);
    border: 2px solid var(--color-green);
}

.cookies-close {
    position: absolute;
    right: 0.5rem;
    top: 0.25rem;
    width: 2.5rem;
    height: 2.5rem;
    transition: transform 0.3s ease-in-out;
}

.cookies-close:hover {
    transform: rotate(90deg);
}

.disabled-link {
    padding-inline: 0.5rem;
}

.finalists {
    padding-inline: 2rem;
    display: flex;
    align-items: center;
    justify-items: center;
    line-height: normal;
}

.hero-section-btn-wrapper {
    display: flex;
    column-gap: 1.5rem;
    margin-top: 1rem;
}

.hero-button {
    background: transparent;
    color: var(--color-light-green);
    border: 2px solid var(--color-light-green);
    transition: all 0.3s ease-in-out;

    &:hover {
        color: var(--color-dark-green);
        border: 2px solid var(--color-dark-green);
        background:transparent;
    }

    &:active {
        background:transparent;
    }
}