:root {
    --h1-font: 'Anton', sans-serif;
    --p-font: 'Arimo', sans-serif;
    --primary-color: #117cd4;
    --bg-color: #181B13;
    --main-font: 'Ethnocentric', sans-serif;
    --other-font: 'Kalam', sans-serif;
}

@font-face {
    font-family: Ethnocentric;
    src: url('../res/fonts/Ethnocentric.otf') format('opentype');
}

@font-face{
    font-family: Arimo;
    src: ('../res/fonts/Arimo-VariableFont_wght.ttf') format('truetype');
}

@font-face{
    font-family: Anton;
    src: url('../res/fonts/Anton-VariableFont_wght.ttf') format('truetyp');
}

@font-face {
    font-family: Kalam;
    src: url('../res/fonts/Kalam-Regular.ttf') format('truetype');
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    background: var(--bg-color);
}

#sec1,
html {
    overflow-x: hidden;
}

#sec1 .container,
section {
    width: 100vw;
    height: 100svh;
}

#sec1 .container,
#sec2 {
    z-index: 0;
    overflow: hidden;
}

#loader-container,
#sec1 .container,
#sec4,
body {
    background: var(--bg-color);
}

.container .card-container .card p,
.us {
    font-size: 100%;
    font-family: var(--main-font);
}

#loader-container {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
    opacity: 1;
}

#sec1 .container,
#sec2,
.loader {
    position: relative;
}

.loader {
    width: 48px;
    height: 48px;
}

.loader:after,
.loader:before {
    content: "";
    display: block;
    border: 32px solid transparent;
    border-top-color: #fff;
    position: absolute;
    left: 0;
    top: 0;
    animation: 2s ease-in infinite weld-rotate;
}

.loader:before {
    border-color: transparent transparent transparent var(--primary-color);
    animation-delay: .5s;
}

#sec1 {
    background: linear-gradient(to bottom, #f0f0f0, #d0d0d0);
    display: flex;
    justify-content: center;
    align-items: center;
}

#sec1 .container .big-stroke {
    position: absolute;
    top: -10%;
    left: -31%;
    rotate: -45deg;
    width: 90%;
    z-index: 1;
}

#sec1 .container .arrows {
    position: absolute;
    z-index: 2;
    width: fit-content;
    height: fit-content;
    left: 50%;
    top: 5%;
    rotate: -45deg;
    transform: scaleX(-1);
}

#sec1 .container .arrows img {
    width: 20%;
}

#sec1 .container .content {
    color: #fff;
    position: absolute;
    z-index: 3;
    left: 20vw;
    top: 20vh;
    font-size: 210%;
    font-family: var(--h1-font);
    font-style: italic;
    letter-spacing: .1em;
}

#sec1 .container .content h1 {
    margin-top: -55px;
    text-shadow: 2px -2px 1px var(--primary-color);
}

#sec1 .container .content h1:first-child {
    margin-top: 0;
}

#sec1 .container .content h1:nth-child(3) {
    font-family: var(--other-font);
    color: var(--primary-color);
    font-weight: 700;
    margin-top: -75px;
    text-shadow: 0 0 0 transparent;
}

#sec1 .container .content p {
    font-family: var(--p-font);
    font-size: 50%;
    margin-top: 40px;
    position: absolute;
    top: 18vh;
    width: 120%;
    z-index: 2;
    color: #fff;
}

#sec1 .container .arrows.second {
    left: -10%;
    top: 60vh;
    rotate: 180deg;
}

#sec1 .container .arrows.second img {
    width: 10%;
}

#sec1 .container .big-stroke.second {
    position: absolute;
    width: 80vh;
    top: 55vh;
    left: 30vw;
    z-index: 4;
}

#sec1 .man {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 5;
    width: 80%;
}

#sec2 {
    background-color: var(--bg-color);
    width: 100vw;
}

#sec2:after {
    position: absolute;
    content: '';
    width: 60px;
    height: 60px;
    background: #0f61a3;
    top: 0;
    right: 0;
    z-index: -1;
}

#sec2 .container {
    height: 100svh;
    width: 100vw;
    border-radius: 40px;
    background-color: #f9f5ff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#sec2 .container .content {
    padding: 15% 15% 0;
    text-align: center;
    font-family: var(--p-font);
    font-size: 2vh;
}

#sec2 .container .swiper-container {
    width: 100vw;
    height: 60vh;
}

#sec3,
#sec4,
.container .card-container .card,
footer {
    height: fit-content;
}

#sec2 .container .swiper-container .swiper {
    height: 100%;
    width: 98%;
    margin: 0 auto;
}

#sec2 .container .swiper-container .swiper .swiper-wrapper img {
    height: 90%;
    margin: 0 auto 50px;
    position: relative;
    display: block;
    filter: drop-shadow(-3px 2px 3px black);
}

#sec2 .container .swiper-container .swiper .swiper-wrapper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#sec2 .container .swiper-container .swiper .swiper-wrapper .swiper-slide h1 {
    font-family: var(--other-font);
    margin-bottom: -30px;
    font-size: 200%;
}

#sec2 .container .swiper-container .swiper .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

#sec3 {
    padding-bottom: 7vh;
}

#sec3 .container .card-container {
    height: fit-content;
    width: 100vw;
    margin-top: 3vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8vw;
    padding-top: 10vh;
}

.container .card-container .card {
    background: linear-gradient(to bottom, #f0eeee, #e9e5ee, #f8f6f6);
    width: 75%;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(255, 255, 255, .5);
    padding: 5%;
    margin-top: 8vw;
    box-shadow: 0 0 30px #ffffffac;
    border-bottom: 10px solid #0f61a3;
}

.container .card-container .card img {
    width: 15%;
    height: 100%;
}

#sec3 .container .card-container .card-image-flip {
    transform: scaleX(-1);
}

#sec3 .container .card-container .card .schd {
    transform: scale(.8);
    margin-left: 0;
}

.container .card-container .card p {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 1;
    text-align: center;
    color: var(--primary-color);
}

#tf,
.container .card-container .card p:first-child {
    font-size: 150%;
}

#sec3 .container .card-container .card p {
    justify-content: space-between;
}

#sec3 .container .card-container .card p:last-child,
footer .container {
    justify-content: center;
}

#sec3 .container .card-container .card .t-name {
    margin-right: auto;
    margin-left: 25%;
}

#sec4 {
    width: 100vw;
}

#sec4 .container {
    height: 100%;
    width: 100%;
    background: #f9f5ff;
    padding-top: 15vw;
    border-radius: 30px;
}

#sec4 .card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    gap: 15vw;
    padding-bottom: 10vh;
}

#sec4 .container .card-container .card {
    width: 80vw;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .7);
}

#sec4 .container .card-container .card p:not(:first-of-type) {
    font-family: var(--p-font);
    font-weight: 700;
    font-size: 120%;
    display: flex;
    justify-content: left;
    margin-left: 5%;
}

#sec4 .container .card-container .card p .tag {
    width: 7%;
}

#sec4 .container .card-container .card.off {
    filter: grayscale(1) opacity(.6);
}

#sec4 .container .card-container .card.off p.off {
    background: #117cd4;
    width: fit-content;
    color: #fff;
    padding: 5%;
    transform: translate(100%, -150%) rotate(45deg);
}

#sec4 .container .card-container .card.special {
    background: linear-gradient(to bottom, #5aa8e7, #117cd4, #0a4f8f);
    background-size: 100% 140%;
    animation: s-card 1s ease-in-out infinite alternate;
    border-bottom: none;
}

#sec4 .container .card-container .card.special p {
    color: #fff;
}

#sec4 .container .card-container .card.special img {
    filter: grayscale(1) brightness(1000%);
}

footer {
    width: 100vw;
    padding-top: 5vh;
    padding-bottom: 5vh;
    display: flex;
    flex-direction: column;
}

footer .container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10vw;
}

footer h3,
footer span {
    color: #fff;
    font-family: var(--p-font);
    font-size: 150%;
}

footer .social-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5vw;
}

footer .social-container .social {
    width: 10vw;
}

footer h3 {
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

footer a {
    color: #fff;
    text-decoration: none;
}

.us {
    animation: 2s linear infinite alternate gradient-change;
    background: linear-gradient(to right in oklch, var(--color-1), var(--color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    letter-spacing: .1em;
}

@media (orientation: landscape) {
    #sec1 .container .big-stroke {
        top: -20%;
        width: 60%;
    }
    #sec1 .container .content {
        font-size: 300%;
    }
    #sec1 .man {
        width: 40vw;
        right: 7%;
    }
    #sec1 .container .content p {
        margin-top: 30vh;
    }
    #sec1 .container .arrows.second {
        left: -5%;
        width: 40%;
    }
    #sec1 .container .arrows.first {
        width: 30%;
    }
    #sec1 .container .big-stroke:first-child {
        position: absolute;
        width: 80vw;
        top: unset;
        left: unset;
        right: -30vw;
        bottom: -20vw;
        z-index: 5;
    }
    #sec2 .container {
        flex-direction: row;
    }
    #sec2 .container .content {
        padding: 0 10% 0 5%;
        margin-top: 0;
        font-size: 170%;
        text-align: left;
    }
    #sec2 .container .swiper-container .swiper .swiper-wrapper img {
        height: 90%;
        margin-bottom: 70px;
    }
    #sec2 .container .swiper-container {
        height: 90vh;
    }
    #sec3 .container .card-container,
    #sec4 .container .card-container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 3vw;
    }
    #sec3 .container .card-container .card,
    #sec4 .container .card-container .card,
    #sec4 .container .card-container .card.off {
        width: 20%;
        height: 20%;
        padding: 2vh 5vh;
    }
    #sec3 .container .card-container .card img {
        margin-left: 0;
    }
    #sec4 .container .card-container {
        justify-content: center;
    }
    footer .social-container {
        width: fit-content;
        gap: 1vw;
    }
    footer .social-container .social {
        width: 5vh;
    }
    footer .container {
        gap: 1vw;
    }
    .card.off {
        position: relative;
    }
    p.off {
        position: absolute;
        bottom: 20%;
    }
}