@font-face {
    font-family: "Clouds";
    src: url("assets/fonts/SlightlyCursiveCharacters-Regular.ttf") format("opentype");
}

* {
    font-family: "Clouds", sans-serif;
}

body {
    background-color: transparent !important;
    background-image: url("assets/images/Background_landscape.jpg");
    background-size: cover; /* Ensures the image covers the whole page */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents tiling */
    margin: 0;
}

.chronolens-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.chronolens-logo img {
    width: 200px;
    height: auto;
    max-width: 100%;
    mix-blend-mode: normal;
}

.container2 p {
    width: 80vw;
    color: white;
    text-shadow: 2px 2px 3px grey;
}

.container2 legend {
    color: white;
    text-shadow: 2px 2px 3px grey;
}

/* Members text alignment */
.container2 {
    text-align: left;
    color: rgb(58, 60, 61);
    height: 73vh;
    width: 100vw;
}

/* Box design */
.container2 fieldset {
    background-color: transparent;
    backdrop-filter: blur(8px);
    box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    padding: 10px;
    margin: 30px auto;
}

/* Removing link visibility */
.container2 a {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 0;
}

/* Box size */
.container2 a p {
    margin: 0;
}

/* Page */
.container3 p {
    text-align: center;
    color: white;
    font-style: bold;
    text-shadow: 2px 2px 3px black;
}

.container3 p a {
    color: inherit;
    display: block;
    text-decoration: none;
}

/* Animation for fieldset */
.clickable-fieldset {
    background-color: #6c63ff;
    padding: 10px;
    border: none;
    border-radius: 6px;
    width: 100%;
    cursor: pointer;
     transition: transform 0.3s ease-in-out, text-align 0.3s ease-in-out;
    margin: 10px 0;
    height: 50px;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

/* Expanded */
.clickable-fieldset.expanded  {
    height: 6rem;
}

.clickable-fieldset.expanded legend {
    text-align: center;
}

.clickable-fieldset .extra-content {
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.5s ease, transform 0.3s ease;
    display: none;
}

.clickable-fieldset.expanded .extra-content {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.clickable-fieldset:hover {
    background-color: transparent;
    transform: scale(1.01);
}

.clickable-fieldset:active {
    background-color: transparent;
    transform: scale(0.95);
}

.clickable-fieldset legend {
    font-size: 32px;
    color: white;
    text-shadow: 2px 2px 3px black;
    font-weight: bold;
    font-family: "Clouds", sans-serif;
}

.clickable-fieldset p {
    color: white;
    text-shadow: 2px 2px 3px black;
    margin: 0;
    font-size: 18px;
}

/* Facebook button style */
.fb-button {
    background-color: rgba(0, 0, 0, 0.1);
    color: white;
    border: none;
    padding: 8px 12px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease;
}

.fb-button:hover {
    background-color: transparent;
}

.fb-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    padding: 0;
    width: fit-content;
    justify-content: center;
    margin: auto;
}

.fb-logo {
    width: 30px;
    height: 30px;
    vertical-align: middle;
}

/* Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: transparent !important;
}

.video-background video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: blur(5px);
}

.content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 20px;
    margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 796px) {
    body {
        background-image: url("assets/images/Background_portait.jpg");
    }
    .chronolens-logo img {
        width: 150px;
    }
    .container2 fieldset {
        width: 85%;
    }
    .clickable-fieldset {
        font-size: 14px;
    }
}




/* Full screen intro style */
.intro {
    position: fixed; /* Covers the entire screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2fa5f9;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    text-align: center;
    z-index: 9999; /* Keeps the intro on top */
    opacity: 1;
    transition: opacity 0.2s ease-out; /* Fades the intro */
}

/* Main content hidden initially */
.main-content {
    display: none;
}

/* Animation to fade out the intro */
@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}