@font-face {
    font-family: "Roboto";  
    src: url("/static/assets/fonts/Roboto-Medium.ttf") format("truetype"); 
    font-style: normal; 
    font-weight: normal; 
} 

@font-face {
    font-family: "Roboto";  
    src: url("/static/assets/fonts/Roboto-Bold.ttf") format("truetype"); 
    font-style: bold; 
    font-weight: 600; 
} 

@font-face {
    font-family: "Roboto";  
    src: url("/static/assets/fonts/Roboto-Light.ttf") format("truetype"); 
    font-style: light; 
    font-weight: 100; 
}


* {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif
}

body {
    display: grid;
    position: relative;
    min-height: 100vh;
    min-width: 100%;
    grid-template-rows: auto 1fr;

    &.popup-active {
        overflow: hidden;
    }
}

.logo {
    background-image: url('/static/assets/images/logo.png');
    width: 150px;
    height: 100px;
    background-size: contain;
    cursor: pointer;
    background-repeat: no-repeat;
    position: relative;
    z-index: 2;
}

.logo.big {
    width: 200px;
    height: 150px; 
}

header {
    display: grid;
    justify-content: center;
    grid-auto-flow: column;
    gap: 40px;
    align-items: center;
    position: fixed;
    user-select: none;

    height: 128px;

    background-color: rgb(122, 207, 233);

    width: 100%;
    z-index: 1;
}

.contact-btn {
    background: #fff;
    border-radius: 10px;
    padding: 10px 20px 10px 20px;
    cursor: pointer;
    text-decoration: none;
    color: black;
}

.press-center {
    display: grid;
    grid-auto-flow: column;
    gap: 10px;
    align-items: center;
}

.info-block {
    display: grid;
    grid-auto-flow: column;
    justify-content: center;
    gap: 400px;
    margin: 50px;
    align-items: center;
    user-select: none;
}

.right-side {
    display: grid;
    grid-auto-flow: column;
    gap: 50px;
}

.footer-title {
    text-transform: uppercase;
    color: #e1a4a4;
    font-weight: 600;
}

.footer-link {
    font-size: 10pt;
    cursor: pointer;
    color: white;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.politics-block {
    color: #e1a4a4;
    cursor: pointer;
    text-decoration: none;
}

.politics-block:hover {
    text-decoration: underline;
}

.footer-nav, .footer-info {
    gap: 10px;
    display: grid;
}

.vk-btn, .email-btn, .max-btn, .phone-btn {
    cursor: pointer;
    align-items: center;
    display: grid;
}

.nav {
    display: grid;
    grid-auto-flow: row;
    position: relative;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.nav-title {
    cursor: pointer;
    font-size: 16pt;
    color: rgb(236, 234, 234);
}

.nav-link {
    cursor: pointer;
    font-size: 16pt;
    color: rgb(236, 234, 234);
    text-decoration: none;
}

.nav-link:hover {
    text-decoration: underline;
}


.reg-btn {
    background: #fff;
    border-radius: 10px;
    padding: 10px 20px 10px 20px;
    cursor: pointer;
    text-decoration: none;
    color: black;
}


.sign-in {
    cursor: pointer;
    font-size: 16pt;
    color: rgb(236, 234, 234);
    padding-right: 40px;
}

.menu {
    display: none;
    grid-auto-flow: row;
    align-items: start;
    position: absolute;
    background-color: rgb(122, 207, 233);
    font-size: 14pt;
    color: rgb(236, 234, 234);
    min-height: 100px;
    min-width: 100px;

    top: 40px;

    padding-left: 20px;
    padding-right: 20px;

    z-index: 1;
}

.menu-link {
    cursor: pointer;
}

main {
    display: grid;
    
}

.back-logo {
    background-image: url("/static/assets/images/back.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    height: 750px;
    background-position: center;
}

.faded {
    width: 100%;
    height: 100%;
    background-color: #0000004d;
    display: grid;
    justify-content: center;
    color: #fff;
    align-items: center;
}

.slide {
    display: grid;
    width: 100vw;
    transition: all 0.6s ease;
}

.slide.selected {
    display: grid;
}

.container {
    display: grid;
    align-items: center;
    gap: 30px;
}

.slide-title {
    font-size: 48pt;
    word-wrap: break-word;
    max-width: 1050px;
    font-weight: 600;
}

.slide-date {
    font-size: 38pt;
    word-wrap: break-word;
    max-width: 1000px;
    font-weight: 600;
}

.slide-sub {
    font-size: 18pt;
    word-wrap: break-word;
    max-width: 1000px;
}

.slide-triplet {
    display: grid;
    grid-auto-flow: column;
    justify-content: center;
    position: absolute;
    z-index: 5;
    bottom: 30px;
    width: 100%;
    gap: 5px
}

.circle {
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 60px;
    cursor: pointer;
}

.competition {
    position: relative;
}

.circle.selected {
    background: #82d1f5;
}

.slide-btn {
    border: 1px solid #2c4bf2;
    width: 150px;
    font-size: 16pt;
    display: grid;
    justify-content: center;
    align-items: center;
    height: 32px;
    border-radius: 5px;
    cursor: pointer;
    background: #e2f7ef;
    color: #585fcc;
    user-select: none;
}

.slide-btn:hover {
    -webkit-box-shadow: -1px 1px 17px 7px rgba(255, 255, 255, 0.3);
    -moz-box-shadow: -1px 1px 17px 7px rgba(255, 255, 255, 0.3);
    box-shadow: -1px 1px 17px 7px rgba(255, 255, 255, 0.3);
}

.competitions {
    overflow: hidden;
    display: grid;
    grid-auto-flow: column;
    position: relative;
}

.photos-wrapper {
    display: grid;
    padding: 10px;
    gap: 5px;
    grid-template-columns: repeat(auto-fill, 600px);
    justify-content: center;
}

.block-title {
    justify-self: center;
    color: #fff;
    font-size: 20pt;
}

.photo {
    cursor: pointer;
}

.photo img {
    object-fit: cover;
}

.photo-selected {
    background-color: #00000057;
    display: none;
    position: fixed;
    justify-content: center;
    align-items: center;
    z-index: 7;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.photo-selected img {
    width: 1200px;
    height: 600px;
    object-fit: cover;
}

.show {
    display: grid;
}

footer {
    display: grid;
    background-color: rgb(75, 120, 134);
    color: #fff;
    align-content: end;
    max-height: 350px;
}

.social-btns {
    display: grid;
    grid-auto-flow: column;
    justify-content: center;
    gap: 3px;
    margin-top: 10px;
    cursor: pointer;
}

.blocks {
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    justify-content: center;
}

.contacts {
    display: grid;
    margin: 10px;
    justify-content: center;
}

.sub-title {
    font-size: 14pt;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact {
    color: #d4d3d3;
    justify-content: center;
    display: grid;
}

.rights {
    margin-top: 10px;
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: center;
    margin-bottom: 25px;
}

.sub {
    color: #d4d3d3;
    display: grid;
    justify-content: center;
}

.copyryght {
    height: 75px;
    display: grid;
    justify-content: center;
    align-items: center;
    background-color: rgb(58, 90, 100);
}

.button-application-contest {
    position: fixed;
    color: #fff;
    font-size: 20pt;
    font-weight: 100;
    border-radius: 5px;
    padding: 20px 90px 20px 90px;
    z-index: 1;
    bottom: 0;
    right: 0;
    margin: 10px;
    cursor: pointer;
    user-select: none;
    background-image: linear-gradient(144deg,#51D3FB, #067EFD 50%,#00DDEB);
}

.application-form {
    display: grid;
    width: 100%;
    grid-auto-flow: row;
    height: 100%;
}

.application-form form {
    display: grid;
    gap: 40px;
    grid-template-rows: auto auto 1fr;
    align-items: center;
    margin: 0px 50px;
    position: relative;
}

.contest-list {
    font-size: 14pt;
    background: 0 0;
    border-radius: 5px;
    border: 1px solid #d0cdcd;
    height: 64px;
    padding: 10px;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
}

.select-wrapper {
    min-width: 100%;
    display: grid;
}

.select-wrapper::after {
    content: "▼";
    font-size: 1rem;
    right: 10px;
    position: absolute;
    align-self: center;
    z-index: -1;
}

.button-submit {
    background-image: linear-gradient(144deg,#51D3FB, #067EFD 50%,#00DDEB);
    font-size: 20pt;
    border-radius: 5px;
    user-select: none;
    cursor: pointer;
    height: 64px;
    border: 0;
    color: #fff;
    font-weight: 100;
}

.header-mask {
    display: grid;
    justify-content: center;
    grid-auto-flow: column;
    grid-template-columns: auto auto;
    gap: 40px;
    padding-left: 40px;
    align-items: center;
    position: relative;
    user-select: none;

    height: 128px;

    background-color: rgb(122, 207, 233);
}

.navigation {
    display: grid;
    grid-auto-flow: column;
    gap: 40px;
    white-space: nowrap;
}

.fixed-background {
    position: fixed;
    width: 100%;
    height: 100%;

    background: url('/static/assets/images/back2.jpg') no-repeat;
    background-size: cover;
    z-index: -1;
    margin-top: 128px;
}

.color-wrapper {
    width: 100%;
    background: #001648;
}

.page-info-wrapper {
    background: #26252566;
    display: grid;
    justify-content: center;
    color: #fff;
    min-height: 800px; 
    grid-template-rows: 1fr;
}

.page-info {
    display: grid;
    justify-content: center;
    align-content: center;
    gap: 40px;
    text-align: center;
}

.page-title {
    font-weight: 600;
    font-size: 80pt;
    display: grid;
    justify-content: center;
}

.page-desc {
    /* justify-content: center; */
    /* display: grid; */
    font-size: 20pt;
    width: 50%;
    justify-self: center;
    /* text-align: center; */
}

.bottom-arrow {
    justify-self: center;
    align-self: end;
    margin-bottom: 50px;
    cursor: pointer;
    animation: spin 1s infinite linear;
}

.t-cover__arrow-svg {
    fill: #fff;
}

.t-cover__arrow-svg:hover {
    fill: #d7d7d7;
}

.bottom-arrow:hover .t-cover__arrow-svg {
    fill: #d7d7d7;
}

.application-block {
    position: relative;
    display: grid;
    justify-self: center;
    background: #fff;
    z-index: 20;
    height: min-content;
    gap: 40px;
    width: 550px;
    justify-items: center;
}

.popup-close {
    width: 100%;
    justify-content: end;
    display: grid;
    margin: 50px 0px 0px -50px;
}

.application-wrapper {
    position: fixed;
    display: none;
    min-width: 100%;
    min-height: 100%;
    overflow-y: visible;
    background: #0000005b;
    z-index: 10;
    grid-template-rows: auto 1fr;
    gap: 50px;
    user-select: none;
}

.application-wrapper.show {
    display: grid;
    animation: fadeIn  1s linear;
}

.application-block.in {
    animation: scaleUp .5s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}

.application-foto {
    background-image: url('/static/assets/images/back2.jpg');
    width: 100%;
    height: 350px;
}


#Capa_1 {
    cursor: pointer;
}

.application-title {
    display: grid;
    justify-content: center;
    font-size: 25pt;
    width: 470px;
    text-align: center;
    font-weight: 600;
}

.info-panel {
    display: none;
    position: absolute;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    top: 70px;
    user-select: text;
    gap: 5px;
}

.info-panel.show {
    display: grid;
}

.mobile-navigation {
    display: none;
}

.mobile-nav {
    display: none;
    position: fixed;
    z-index: 3;
    height: 100%;
    background: #fff;
    grid-template-rows: auto 1fr;
}

.mobile-nav.show {
    display: grid;
}

.logo-container {
    padding: 0 50px 0 50px;
    background-color: rgb(122, 207, 233);
    display: grid;
    align-items: center;
    height: 96px;
}

.logo-container img {
    width: 100px;
}

.nav-container {
    display: grid;
    align-content: start;
    gap: 20px;
    margin-top: 20px;
}

.faded-nav {
    background-color: #00000073;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: none;
}

.faded-nav.show {
    display: block;
}

.footer-mobile {
    display: grid;
    justify-items: center;
    padding-bottom: 30px;
    font-size: 7pt;
    .logo.big {
        width: 100px;
        height: 75px;
    }
}

@keyframes spin {
    0%, 100% {
      transform: translate(0, 0);
    }
    50% {
      transform: translate(0,50%);
    }
}

@keyframes fadeIn {
    0% {
      background:rgba(0,0,0,.0);
    }
    100% {
      background:rgba(0,0,0,.35);
    }
}

@keyframes scaleUp {
    0% {
      transform:scale(.8) translateY(1000px);
      opacity:0;
    }
    100% {
      transform:scale(1) translateY(0px);
      opacity:1;
    }
}

@media screen and (max-width: 1596px) {
    .nav-link {
        font-size: 12pt;
    }
}

@media screen and (max-width: 1411px) {
    .nav-link {
        font-size: 11pt;
    }
}


@media screen and (max-width: 1324px) {
    header {
        height: 96px;
    }

    .header-mask {
        height: 96px;
    }

    .navigation {
        display: grid;
        grid-auto-flow: column;
        gap: 30px;
    }

    .logo {
        width: 100px;
        height: 75px;
    }

    .press-center svg {
        width: 30px;
    }

    .contact-btn {
        font-size: 10pt;
        padding: 7px 15px 7px 15px;
    }

    .fixed-background {
        margin-top: 96px;
    }
}

@media screen and (max-width: 1118px) {
    .navigation {
        display: grid;
        grid-auto-flow: column;
        gap: 20px;
    }

    .nav-link {
        font-size: 11pt;
    }

    .logo {
        width: 80px;
        height: 60px;
    }

    .press-center svg {
        width: 25px;
    }

    .contact-btn {
        font-size: 8pt;
        padding: 6px 12px 6px 12px;
    }


}

@media screen and (max-width: 1165px) {
    .navigation {
        display: grid;
        grid-auto-flow: column;
        gap: 15px;
    }

    .nav-link {
        font-size: 10pt;
    }

    .logo {
        width: 80px;
        height: 60px;
    }

    .press-center svg {
        width: 25px;
    }

    .contact-btn {
        font-size: 8pt;
        padding: 6px 12px 6px 12px;
    }

    .page-title {
        font-size: 60pt;
    }

    .page-desc {
        font-size: 15pt;
    }

    .page-info-wrapper {
        min-height: 715px;
    }

    .application-block {
        width: 450px;
        gap: 20px;
    }

    .application-title {
        font-size: 14pt;
        width: 450px;
    }

    .popup-close svg {
        width: 32px;
        height: 32px;
    }
}

@media screen and (max-width: 967px) {
    .nav-link {
        font-size: 9.5pt;
    }   
}

@media screen and (max-width: 959px) {
    .info-block {
        margin: 0;
        margin-top: 50px;
    }
    
    .button-application-contest {
        padding: 10px 45px 10px 45px;
        font-size: 10pt;
    }
}

@media screen and (max-width: 939px) {
    .nav-link {
        font-size: 9pt;
    }   
}

@media screen and (max-width: 917px) {
    .nav-link {
        font-size: 8.5pt;
    }   
}

@media screen and (max-width: 900px) {
    .nav-link {
        font-size: 8pt;
    }   
}

@media screen and (max-width: 873px) {
    .nav-link {
        font-size: 7pt;
    }   
}

@media screen and (max-width: 859px) {
    .info-block {
        gap: 0px;
    }
}

@media screen and (max-width: 805px) {
    header {
        gap: 20px;
    }

    .navigation {
        display: grid;
        grid-auto-flow: column;
        gap: 10px;
    }

    .nav-link {
        font-size: 11pt;
    }

    .logo {
        width: 80px;
        height: 60px;
    }

    .press-center svg {
        width: 25px;
    }

    .contact-btn {
        font-size: 8pt;
        padding: 6px 12px 6px 12px;
    }
}

@media screen and (max-width: 755px) {
    header {
        gap: 20px;
    }

    .navigation {
        display: grid;
        grid-auto-flow: column;
        gap: 10px;
    }

    .nav-link {
        font-size: 10pt;
    }

    .logo {
        width: 80px;
        height: 60px;
    }

    .press-center svg {
        width: 25px;
    }

    .contact-btn {
        font-size: 8pt;
        padding: 6px 12px 6px 12px;
    }
}

@media screen and (max-width: 721px) {
    .page-title {
        font-size: 50pt;
    }

    .page-desc {
        font-size: 10pt;
    }

    .page-info-wrapper {
        min-height: 715px;
    }
}

@media screen and (max-width: 862px) {
    header {
        justify-content: space-between;
    }

    .mobile-navigation {
        display: grid;
        margin-left: 10px;
        cursor: pointer;
        grid-auto-flow: column;
        align-items: center;
        font-size: 12pt;
        gap: 5px;
        color: white;
    }

    .nav {
        cursor: pointer;
        justify-content: start;
        margin-left: 30px;
    }

    .nav-link {
        color: #184677;
        align-items: center;
        display: grid;
        grid-auto-flow: column;
        gap: 5px;
    }

    .reg-btn {
        font-size: 10.5pt;
        border-radius: 30px;
        border: 1px solid #488ef8;
        cursor: pointer;
        background-color: #488ef8;
        color: #fff;
        font-weight: 600;
        outline: none;
        justify-self: center;
        height: auto;
        text-decoration: none;
    }

    .press-center {
        margin-right: 10px;
    }

    .navigation {
        display: none;
    }

    header .logo {
        display: none;
    }

    footer {
        display: none;
    }

    .logo.big {
        width: 150px;
    }

    .application-wrapper {
        gap: 25px;
    }
}

@media screen and (max-width: 415px) {
    .application-block {
        width: 350px;
        gap: 20px;
    }

    .application-title {
        font-size: 14pt;
        width: 350px;
    }

    .popup-close {
        margin: 10px 0px 0px -10px;
    }

    .popup-close svg {
        width: 32px;
        height: 32px;
    }
}

@media screen and (max-height: 667px) {
    .application-wrapper {
        margin-top: 10px;
    }

    .popup-close {
        position: absolute;
        z-index: 40;
    }

    .page-info-wrapper {
        min-height: 600px;
    }
}

@media screen and (max-width: 426px) {
}