
body {
    margin: 0;
    padding: 10px;
    font-family: Arial, sans-serif;
    font-weight: 100;
    font-size: medium;
}



.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    margin-top: 20px;
    gap: 5px;
    margin-right: -10px;
}


.cardLabel {
    width: calc(20% - 10px);
    margin-bottom: 20px;
    background-color: #fff;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #000;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px; 
    margin-bottom: 10px; 
    display: inline-block;
    text-decoration: none; 
    color: #000;
    background-color: #fff;
    transition: border-color 0.3s ease;
}
.cardLabelW {
    margin-bottom: 20px;
    background-color: #fff;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #000;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px; 
    margin-bottom: 10px; 
    display: inline-block;
    text-decoration: none; 
    color: #000;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.card {
    width: calc(20% - 10px);
    margin-bottom: 20px;
    background-color: #fff;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #000;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px; 
    margin-bottom: 10px; 
    display: inline-block;
    text-decoration: none; 
    color: #000;
    background-color: #fff;
    transition: border-color 0.3s ease;
    transition: transform 0.3s ease;

}

.cardIndex {
    width: calc(20% - 10px);
    margin-bottom: 20px;
    background-color: #fff;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #000;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px; 
    margin-bottom: 10px; 
    display: inline-block;
    text-decoration: none; 
    color: #000;
    background-color: #fff;
    transition: border-color 0.3s ease;
    transition: transform 0.3s ease;

}

.cardFooter {
    width: 130px;
    background-color: #fff;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #000;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 2px; 

    display: inline-block;
    text-decoration: none; 
    color: #000;
    background-color: #fff;
    transition: border-color 0.3s ease;
    transition: transform 0.3s ease;

}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border-color: #666;
    background-color: lightblue !important;
}

.cardIndex:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border-color: #666;
    background-color: lightblue !important;
}

.cardFooter:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border-color: #666;
    background-color: lightblue !important;
}
card:not(:hover) {
    transition: none;
}

cardIndex:not(:hover) {
    transition: none;
}


hr {
    border: none;
    border-top: 2px solid black;
}


h1, p {
    margin: 20px auto;
}

.dateDisplay{
    position: absolute;
    padding: 30px;
    right: 0;
    top: 0;
}
.curved-line {
    position: fixed;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    animation: drawLine 4s linear forwards;
}

#searchInput {
    position: absolute;
    top: 60px;
    right: 30px;
}



@keyframes drawLine {
    0% {
        top: 0;
        left: 0;
    }
    10% {
        top: 110px;
        left: 0px;
        width: 60px;
    }
    80% {
        left: 0px;
        top: 110px;
        width: 60px;
    }
    92% {
        top: 110px;
        left: 0px;
        width: 100%;
    }

    95% {
        top: 110px;
        left: 100%;
        width: 0;
    }

    98% {
        top: 110px;
        left: 0;
        width: 300px;
    }

    100% {
        top: 110px;
        left: 0;
        width: 0;
    }

}


footer {
    position: fixed;
    bottom: 0;
    left:0;
    width: 100%;
    background-color: #333;
    padding: 20px 0; 
}

footer nav ul {
    list-style: none; 
    margin: 0;
    padding: 0;
    text-align: center; 
}

footer nav ul li {
    display: inline-block; 
    margin-right: 20px; 
}

footer nav ul li:last-child {
    margin-right: 0;
}

footer nav ul li a {
    color: #fff; 
    text-decoration: none;
    font-weight: bold; 
    transition: color 0.3s; 
}

footer nav ul li a:hover {
    color: #ccc; 
}


@media screen and (max-width: 768px) {
    .card {
        width: calc(50% - 10px);
    }

    .cardIndex {
        width: calc(50% - 10px);
    }

    #searchInput {
        position: absolute;
        top: 60px;
        right: 10px;
    }
}

@media screen and (max-width: 480px) {
    .card {
        width: calc(100% - 10px);
    }

    .cardIndex {
        width: calc(100% - 10px);
    }

    #searchInput {
        position: absolute;
        top: 60px;
        right: 50px;
    }
}


.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-item-right {
    flex: 0 0 calc(25% - 20px);
    margin: 10px;
    box-sizing: border-box;
}

.gallery-item {
    flex: 0 0 calc(25% - 20px);
    margin: 10px;
    box-sizing: border-box;
}


.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-item-right img {
    width: 100%;
    height: auto;
    display: block;
    justify-content: right;
}


