@font-face {
    font-family: "Inter";
    src: url('media/Inter_24pt-Medium.ttf') format('truetype');
}

:root {
    --activeWidth: 300px;
    --activeHeight: 400px;
    --inactiveWidth: 275px;
    --inactiveHeight: 368px;
    
    --gap: 16px;
    --wrapperWidth: 0;

    --wait: 0;
    --background: 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
}

html {
    background: #8C6E5F1A;
    overflow: hidden;
    transition: background 0.2s;
}

body {
    display: flex;
    height: 100vh;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

h1 {
    font-size: 16px;
    z-index: 5;
    font-weight: 500;
}

h2 {
    font-weight: 500;
    line-height: 130%;
    font-size: 20px;
    letter-spacing: -.33px;
}

nav {
    display: flex;
    justify-content: center;
    align-self: center;
    width: 100%;
    padding: 32px;
    position: absolute;
    bottom: 0;
    z-index: 5;
}

.btns {
    background: #ececec;
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 40px;
}

button {
    border: 0;
    border-radius: 48px;
    height: 45px;
    padding: 12px 24px;
    color: black;
    background: #FAFAFA;   
}

button:hover {
    cursor: pointer;
}

button.r {
    display: flex;
    justify-content: center;
    align-self: center;
    width: 45px;
    color: #1C1B1F;
    font-weight: 500;
}

.header {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 32px;
    display: flex;
    justify-content: center;
    align-items: center; 
}

.swiper {
    height: 100%;
    width: var(--inactiveWidth);
    overflow: visible;
}

.swiper-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

div.swiper-slide {
    justify-self: center;
    user-select: none;
    height: var(--inactiveHeight);
    width: var(--inactiveWidth) !important;
    background: rgb(50,50,50);
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 24px;
    color: white;
    transition: height .2s ease-out, width .2s ease-out, background-color .2s ease-out;
    transition-delay: var(--wait) !important;
    cursor: pointer;
}

.swiper-slide.swiper-slide-active {
    height: var(--activeHeight);
    min-width: var(--activeWidth);
}

.swiper-slide.swiper-slide-active.expand {
    background: rgb(195, 143, 0);
    height: 500px;
    width: 700px !important;
}

.swiper-slide:first-child {
    margin-left: calc(((var(--wrapperWidth) - var(--activeWidth)) + var(--gap))) !important;
}


.swiper-slide p, .swiper-slide h2 {
    pointer-events: none;
}

.swiper-slide p {
    font-weight: 500;
    line-height: 130%;
    font-size: 20px;
    letter-spacing: -.33px;
    width: 217px;
    display: flex;
    flex-direction: row-re;
}

#introduction {
    height: var(--inactiveHeight);
    background: transparent;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: black;
    outline: 2px solid #E8E6E2;
    outline-offset: -2px;
}

#bronze {
    background: #8B6C5F;
    color: white;
}

#silver {
    background: #E8E6E2;
    color: black;
}

#gold {
    background: #FFC248;
    color: black;
}

#platinum {
    background: #8AFFDC;
    color: black;
}

#diamond {
    background: #21B4FF;
    color: white;
}

