@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');



*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: "Jost", sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: white;
    backdrop-filter: blur(20px); /* Blur effect */
    height: 100vh;
}  






.header {
    color: black;
    opacity: 1;
    animation: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1vw 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.header .logo {
    font-size: 1.5em;
    

    letter-spacing: 5px;
}

.header .logo a {
    text-decoration: none;
    color: black;
}



select {
    border: none;
    background-color: transparent; /* Makes the background transparent */
    text-align: right;
    color:  black; /* Adjust text color */
    font-size: 1.5vw;
    padding: 8px;
    appearance: none; /* Removes default browser styling */
    outline: none;
    transition: color 0.3s ease ;
    font-weight: bold;
}

select:hover {
    cursor: pointer;
    color: lightblue;
}

.button{
    margin-left: 5vw;
}

.shadow {
    margin-left: 5vw;
}

.bbutton{
    margin-left: 5vw;
}

.nav .bbutton {
    padding: 8px 20px;
    background: blue;
    color: white;
    border-radius: 20px;
    font-weight: bold;
}

.nav a{
    
    font-family: sans-serif;
    font-weight: bold;
    text-decoration: none;
    color: black;
    font-size: 1.5vw;

    transition: color 0.3s ease;

}

@keyframes fadeIn{
    0%{
        opacity: 0;
        transform: translateY(20px); /* Starts lower */
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}


#headline {
    transform: translateY(20px);
    animation: none;
    opacity: 1;
    
}


.nav a:hover {
    color: lightblue;
}

.nav .button {
    padding: 8px 20px;
    background: #fff;
    color: #000;
    border-radius: 20px;
    font-weight: bold;
}


.header-container {
    text-align: center;
    margin-top: 17vh;
}

.header-container h2 {
    font-size: clamp(35px, 5vw, 70px);
}

.p-container {
    display: flex;
    justify-content: center;
    width: 100vw;
}

.p-container p {
    font-size: clamp(14px, 2vw, 20px);
    margin-top: 2vh;
    width:70vw;
}

.gallery {
    width: 80%;
    margin: 0 auto;
}

.gallery-grid {

    width: 80%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item img {

    width: 15vw;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Efekt na hover */
.gallery-item img:hover {
    transform: scale(1.05);
}


.gallery-container {
    margin-top: 5vh;

    width: 100vw;
    display: flex;
    justify-content: center;
}

.modal {
    display: none;
    position: fixed;
    z-index: 3;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    transition: opacity 0.5s ease-in-out;
}

.modal-content {
    margin:  8vh auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    animation: fadeIn 0.5s ease-in-out;
}

.caption-container {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.prev, .next {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 18px;
    padding: 10px;
    cursor: pointer;
    border: none;
    transition: opacity 0.3s ease;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 1;
    transform: scale(1.1);
}




.close {
    color: white;
    font-size: 40px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 35px;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #f1f1f1;
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.footer {
    margin-top: 15vh; /* Pushes the footer to the bottom */
    clip-path: polygon(0 0, 100% 30%, 100% 100%, 0% 100%);
    height: 20vh;
    width: 100%;
    background-color: lightblue;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer p {
    margin-top: 3vh;
   color: white;
   font-size: 20px;
   font-weight: bold;
}

@media (max-width: 768px) {

    @import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');



*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: "Jost", sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: white;
    backdrop-filter: blur(20px); /* Blur effect */
    height: 100vh;
}  






.header {
    background-color: black;
    color: black;
    opacity: 1;
    animation: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1vw 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.header .logo {
    font-size: 1.5em;
    

    letter-spacing: 5px;
}

.header .logo a {
    font-weight: lighter;
    text-decoration: none;
    color: white;
}



select {
    border: none;
    background-color: transparent; /* Makes the background transparent */
    text-align: right;
    color:  black; /* Adjust text color */
    font-size: 1.5vw;
    padding: 8px;
    appearance: none; /* Removes default browser styling */
    outline: none;
    transition: color 0.3s ease ;
    font-weight: bold;
}

select:hover {
    cursor: pointer;
    color: lightblue;
}

.button{
    margin-left: 5vw;
}

.shadow {
    margin-left: 5vw;
}

.bbutton{
    margin-left: 5vw;
}

.nav .bbutton {
    padding: 8px 20px;
    background: blue;
    color: white;
    border-radius: 20px;
    font-weight: bold;
}

.nav a{
    
    font-family: sans-serif;
    font-weight: bold;
    text-decoration: none;
    color: black;
    font-size: 5vw;

    transition: color 0.3s ease;

}

@keyframes fadeIn{
    0%{
        opacity: 0;
        transform: translateY(20px); /* Starts lower */
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}


#headline {
    transform: translateY(20px);
    animation: none;
    opacity: 1;
    
}


.nav a:hover {
    color: lightblue;
}

.nav .button {
    padding: 8px 20px;
    background: #fff;
    color: #000;
    border-radius: 20px;
    font-weight: bold;
}


.header-container {
    text-align: center;
    margin-top: 17vh;
}

.header-container h2 {
    font-size: clamp(35px, 5vw, 70px);
}

.p-container {
    display: flex;
    justify-content: center;
    width: 100vw;
}

.p-container p {
    font-size: clamp(14px, 2vw, 20px);
    margin-top: 2vh;
    width:70vw;
}

.gallery {
    width: 100%;
    margin: 0 auto;
}

.gallery-grid {

    width: 90%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item img {

    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Efekt na hover */
.gallery-item img:hover {
    transform: scale(1.05);
}


.gallery-container {
    margin-top: 5vh;

    width: 100vw;
    display: flex;
    justify-content: center;
}

.modal {
    display: none;
    position: fixed;
    z-index: 3;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    transition: opacity 0.5s ease-in-out;
}

.modal-content {
    margin:  8vh auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    animation: fadeIn 0.5s ease-in-out;
}

.caption-container {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.prev, .next {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 18px;
    padding: 10px;
    cursor: pointer;
    border: none;
    transition: opacity 0.3s ease;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 1;
    transform: scale(1.1);
}




.close {
    color: white;
    font-size: 40px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 35px;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #f1f1f1;
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.footer {
    margin-top: 15vh; /* Pushes the footer to the bottom */
    clip-path: polygon(0 0, 100% 30%, 100% 100%, 0% 100%);
    height: 20vh;
    width: 100%;
    background-color: lightblue;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer p {
    margin-top: 3vh;
   color: white;
   font-size: 20px;

}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background-color: transparent;
    border: none;
}

.hamburger span {

    width: 25px;
    height: 3px;
    background: white;
    border-radius: 5px;
}

.hamburger {
    display: flex;
}

.nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 10px;
    width: 95%;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border-radius: 10px;
    animation: none;
}

.nav.active {
    display: flex;
}

.nav a, .nav select {
    width: 100%;
    text-align: center;
    color: white;
    margin:0 0 2vw 0;

}

.nav select {
    font-size: 5vw;
    padding: 0;
    margin: 0 0 2vw 0;

}

.button {
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center;
}

}