body {
    font-family: 'Red Hat Display', sans-serif;
    margin: 0;
    padding-top: 0px; 
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    letter-spacing: 3px;
    background-color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    min-width: 320px;
}


#title {
    font-size: 60px;
    color: rgb(255, 255, 255);
    letter-spacing: 20px;
    width: 100%;
    max-width: 100vw;
    text-align: center;
    margin-top: 5vh;
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}


.container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
    width: 100%;
    max-width: 1000px; 
    margin: 20px auto;
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}


.image-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    width: 100%; 
    padding: 0;
    box-sizing: border-box;
    border-radius: 15px;
    box-shadow: 0 1px 8px rgb(72, 72, 72); 
    cursor: default; 
    transition: transform 0.3s ease-in-out;
    background-color: #000000;
}


.image-card2:hover {
    transform: scale(1.05); 
}


.image-card1 {
    width: 100%; 
    height: auto; 
    aspect-ratio: 16 / 9; 
    object-fit: cover; 
    max-width: 100%; 
}


.image-card2 {
    width: 100%; 
    height: auto; 
    aspect-ratio: 16 / 9; 
    object-fit: cover; 
    max-width: 100%; 
}


.image-card img, .image-card video {
    display: block;
    width: 100%; 
    height: auto; 
    object-fit: cover; 
    border-radius: 8px; 
}


.image-card2 a {
    cursor: pointer; 
}


#bottomtext {
    margin-top: auto;
    margin-top: 50px;
    margin-bottom: 15px;
    text-align: center;
    padding: 20px;
    color: rgb(0, 0, 0);
    width: 100%;
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}


@media screen and (max-width: 1200px) and (min-width: 768px) {
    #title {
        font-size: 36px; 
        letter-spacing: 9px; 
    }

    .container {
        margin-top: 20px;
        font-size: 18px; 
        grid-template-columns: repeat(2, 1fr); 
        max-width: 600px;
    }

    .image-card1 {
        width: 100%; 
        height: auto; 
        aspect-ratio: 16 / 9; 
        object-fit: cover; 
        max-width: 100%; 
    }

    #bottomtext {
        font-size: 17px;
        padding: 10px;
        text-align: center;
        margin-top: auto; 
    }
}


@media screen and (max-width: 768px) and (min-width: 540px) {
    #title {
        font-size: 40px;
        letter-spacing: 10px;
    }

    .container {
        margin-top: 10px;
        font-size: 16px;
        grid-template-columns: repeat(2, 1fr);
        max-width: 400px;
    }

    #bottomtext {
        font-size: 16px;
        padding: 10px;
        margin-top: auto;
    }
}


@media screen and (max-width: 540px) {
    #title {
        font-size: 30px;
        letter-spacing: 8px;
    }

    .container {
        font-size: 14px;
        grid-template-columns: 1fr; 
        max-width: 75%;
    }

    #bottomtext {
        font-size: 15px;
        padding: 10px;
        margin-top: 50px;
        max-width: 75%;
    }
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    padding: 10px;
    background-color: #000000;
    letter-spacing: 3px;
    color: #ffffff;
    border: none;
    border-radius: 0;
    font-size: 17px;
    font-family: 'Red Hat Display', sans-serif;
    cursor: pointer;
    z-index: 5000;
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}


.back-button:hover {
    background-color: #c7c7c7;
}


.back-button:active {
    background-color: #c7c7c7;
}


@media screen and (max-width: 768px) {
    .back-button {
        padding: 8px;
        font-size: 15px;
    }
}


@media screen and (max-width: 480px) {
    .back-button {
        padding: 6px;
        font-size: 15px;
    }
}


.back-button2 {
    display: block;
    margin: 40px auto 20px; 
    padding: 10px;
    background-color: #ffffff;
    letter-spacing: 3px;
    color: #000000;
    border: none;
    border-radius: 0;
    font-size: 17px;
    font-family: 'Red Hat Display', sans-serif;
    cursor: pointer;
    z-index: 5000;
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}


.back-button2:hover {
    background-color: #c7c7c7;
}


.back-button2:active {
    background-color: #c7c7c7;
}


@media screen and (max-width: 768px) {
    .back-button2 {
        padding: 8px;
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    .back-button2 {
        padding: 6px;
        font-size: 15px;
    }
}


.D-header {
    position: relative;
    width: 100%;
    padding-top: 75px;   
    padding-bottom: 40px;
    display: flex;
    justify-content: center;
}

.D-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-color: #000;
    z-index: -1;
}
