
/*--------- colors -------*/
:root {
    --gold: #ffc000;
    --gold-light: #ffe28a;
    --gold-2: #eca660;
    --white: rgb(241, 237, 237);
    --light-grey: rgb(173, 173, 173);
    --black: rgb(0, 0, 0);
    --dark-violet: #241849;
    --dark-blue: #0b002b;
    --light-violet: #612691;
    
}

html {
    scroll-behavior: smooth;
    
}


/*PRELOADER*/

.loader-container {
    width: 100%;
    height: 100vh;
    background-color: #241849;
    position: fixed;
    display: flex;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid;
    color: var(--gold-2);
    border-radius: 50%;
    border-top-color: transparent ;
    animation: loader 1.2s linear infinite;
}

@keyframes loader {
    25%{
        color: #2c1d58;
    }
    50%{
        color: #03197c;
    }
    75%{
        color: #800360;
    }
    to{
        transform: rotate(360deg);
    }
}


body{
    font-family: Poppins;
    margin: auto;
    background-color: var(--black);
    color: var(--white);
   
}
/*HEADER*/

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 500;
    font-family: "Cormorant Upright", serif;
}

a:hover {
    color: var(--gold-2);
}



.header {
    position: relative;
    padding: 0 2rem;
}

.navbar {
    width: 100%;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    position: absolute;
    z-index: 999;
}



.logo img {
    margin-top: 55px;
      width: 50px;
      height: 50px;
    }

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: "Cormorant Upright", serif;

    text-decoration: none;
    color: var(--white);
    cursor:context-menu;

    padding-left: 3%;
}

.navbar .links {
    display: flex;
    gap: 2rem;
    text-align: center;
    justify-content: center;
}

.navbar .toggle_btn {
    color: var(--gold-2);
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    margin-right: 3%;

}

/*button*/

.action_btn {
    background-color: var(--gold-2);
    color: var(--white);
    padding: 0.5rem 1rem;
    border: none;
    outline: none;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: scale 0.2 ease;
    margin-right:3%;
}


.action_btn:hover {
    scale: 1.05;
    color: var(--white);
}

.action_btn:active {
    scale: 0.95;
}

/*dropdown menu*/

.dropdown_menu {
    display: none;
    position: absolute;
    right: 2rem;
    top: 60px;
    height: 0px;
    width: 350px;
    backdrop-filter: blur(15px);
    border-radius: 15px;
    overflow: hidden;
    transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu.open {
    height: 410px;
    z-index: 1;
}

.dropdown_menu li {
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown_menu .action_btn {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* SLIDERY */

.slider{
    height: 100vh;
    margin-top: 0;
    position: relative;
}
.slider .list .item{
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}
.slider .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider .list .item::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(
        to top, var(--black) 20%, transparent
    );
}
.slider .list .item .content{
    position: absolute;
    left: 10%;
    top: 20%;
    width: 500px;
    max-width: 80%;
    cursor: context-menu;
    
    z-index: 1;
}

/*texty*/
.content {
    font-family: "Cormorant Upright", serif;
}

.content p {
    font-size: 19px;
}

.content h2 {
    font-size: 55px !important;
}

.content p a {
    font-size: 19px;
    color: var(--gold-2);
}


/*slidery*/
.slider .list .item .content p:nth-child(1){
    text-transform: uppercase;
    letter-spacing: 10px;
}
.slider .list .item .content h2{
    font-size: 100px;
    margin: 0;
}
.slider .list .item.active{
    opacity: 1;
    z-index: 10;
}
@keyframes showContent {
    to{
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}
.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3){
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s .7s ease-in-out 1 forwards;
}
.slider .list .item.active h2{
    animation-delay: 1s;
}
.slider .list .item.active p:nth-child(3){
    animation-duration: 1.3s;
}

/*buttny na skipovani*/
.arrows{
    position: absolute;
    top: 30%;
    right: 50px;
    z-index: 100;
}
.arrows button{
    background-color: var(--light-grey);
    opacity: 0.5;
    border: none;
    font-family: monospace;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: x-large;
    color: var(--white);
    transition: .5s;
    cursor: pointer;
}
.arrows button:hover{
    background-color: var(--gold-2);
    color: var(--white);
    opacity: 1;
}

/*karticky*/
.thumbnail{
    position: absolute;
    bottom: 50px;
    z-index: 11;
    display: flex;
    gap: 10px;
    width: 100%;
    height: 250px;
    padding: 0 50px;
    box-sizing: border-box;
    overflow: auto;
    justify-content: center;
    cursor: pointer;
}
.thumbnail::-webkit-scrollbar{
    width: 0;
}
.thumbnail .item{
    width: 150px;
    height: 220px;
    filter: brightness(.2);
    transition: .5s;
    flex-shrink: 0;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.thumbnail .item.active{
    filter: brightness(.8);
}
.thumbnail .item .content{
    position: absolute;
    inset: auto 10px 10px 10px;
    color: black !important;
    opacity: 1 !important;
    font-weight: bold;
}


/*RESPONSIVITA */

@media (max-width: 992px) {
    .navbar .links,
    .navbar .action_btn {
        display: none;
    }

    .navbar .toggle_btn {
        display: block;
    }

    .dropdown_menu {
        display: block;
        z-index: 999 !important;
    }

}



@media screen and (max-width: 678px) {
    .thumbnail{
       display: none;
        
    }
    .slider .list .item .content h2{
        font-size: 60px;
        
    }
    .arrows{
        top: 60%;
    }
}


@media (max-width: 576px) {
    .dropdown_menu{
        left: 2rem;
        width: unset;
    }

    .arrows{
        top: 75%;
    }
}
