@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --header-height: 80px;
    --max-width: 560px;
}

html, body {
    overflow: hidden;
    min-height: 100vh;
    min-width: 100vw;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: radial-gradient(circle, #160003 20%, #400202 100%);
    background-image: url('./images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Comfortaa', cursive;
}

main {
    position: relative;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

header {
    height: var(--header-height);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
}

header img {
    height: 60%;
}

section {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    visibility: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: var(--max-width);
    height: 100%;
    padding-top: var(--header-height);
}

section.active {
    opacity: 1;
    visibility: visible;
}

section.swiper-grid {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100vw;
    max-width: var(--max-width);
    margin: auto;
    padding: 1rem 0;
}

.swiper-grid-content {
    margin: auto;
    width: 80vw;
    max-width: var(--max-width);
}

.swiper-slide{
    position: relative;
}

.swiper-slide img {
    display: block;
    max-width: 80vw;
    max-height: 70vh;
    aspect-ratio: 348/609;
    margin: 0 auto;
    box-shadow: 0 15px 30px rgb(0, 0, 0, 0.5);
}

#camarilla,
#home {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 5px;
    padding: 2rem;
}

.bg-image {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-width);
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.4;
}

#home-video {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-width);
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.4;
}

#home:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background-image: linear-gradient(to top, #000000, #00000000);
    z-index: 10;
}

nav {
    position: relative;
    z-index: 100;
    width: 80vw;
    max-width: 500px;
    margin: 0 auto;
}

nav ul {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: auto;
    list-style: none;
}

.btn {
    border: 1px solid #ffffff33;
    padding: 10px 12px;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    width: 100%;
    margin: 0 auto;
    display: block;
    text-align: center;
    position: relative;
    background: #0000003a;
    &:after, &:before {
        content: '';
        position: absolute;
        left: 50%;
        transform: translate(-50%, 0);
        width: 20px;
        height: 1px;
        background: #ffffff33;
        z-index: -1;
    }
    &:before {
        top: -1px;
    }
    &:after {
        bottom: -1px;
    }

}

.btn-simple {
    border: none;
    color: #ffffffaf;
    font-size: 12px;
    &:after, &:before {
        display: none;
    }
}