/* Basic reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
    body {
        font-family: Times New Roman;
        background-color:antiquewhite;
        color: #483c32;
        line-height: 1.6;
        background-image: url("../../src images/memoriesbackground3.jpg");
        background-repeat: no-repeat;
        background-size: cover;
    }

    header {
        padding: 1rem 0;
        text-align: center;
        position: static;
        bottom: 50px;
    }

    nav {
        background: #7f3e09;
        padding: 0.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
     }

    nav a {
        color: antiquewhite;
        text-decoration: none;
        margin: 0 1rem;
        }
    nav a:hover,
    .dropdown .dropbtn:hover {
        text-decoration: underline;
        color:antiquewhite;
    }

main {
        max-width: 1000px;
        margin: auto;
        padding: 0 1rem;
}

.memory{
    height: auto;
    max-width: 100%;
}

button {
    background:#cf650e;
    color: antiquewhite;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    max-width: 100%;
}

.memory-title {
    font-family: Times New Roman;
    font-size: 30px;
    font-weight: bold;
    color: antiquewhite;
    font-style: bold;
    display: block;
    padding: 0.3rem;
}

.memory-date {
    font-family: Times New Roman;
    font-size: 20px;
    color: antiquewhite;
    font-style: italic;
    display: inline block;
    padding: 0.3rem;
}

.memory-description {
    font-family: Times New Roman;
    font-size: 19px;
    color: antiquewhite;
    display: inline block;
    padding: 0.3rem;
}


button a{
    text-decoration:#00000000;
    height: auto;
    width: -webkit-fill-available;
    display: flex;
}

button:hover {
    background:#7f3e09;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


footer {
        background: #7f3e09;
        color: antiquewhite;
        text-align: center;
        padding: 1rem;
        margin-top: 2rem;
    }


/* Dropdown container */
    .dropdown {
        position: relative;
    }

/* Dropdown button */
    .dropdown .dropbtn {
        font-size: 16px;
        font-family: Times New Roman;
        border: none;
        outline: none;
        color: antiquewhite;
        padding: 14px 20px;
        background-color: transparent;
        cursor: pointer;
    }

    .dropdown:hover .dropbtn {
        background-color: rgba(0, 0, 0, 0.15);
        border-radius: 4px;
        color:antiquewhite;
    }

/* Dropdown content (hidden by default) */
    .dropdown-content {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #7f3e09;
        min-width: 160px;
        box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
        z-index: 1;
        color: antiquewhite;
    }

/* Links inside dropdown */
    .dropdown-content a {
        float: none;
        color: antiquewhite;
        padding: 12px 16px;
        display: block;
        text-align: left;
    }
    .dropdown-content a:hover {
        background-color: #7f3e09;
        color:antiquewhite;
    }

/* Show dropdown on hover */
    .dropdown:hover .dropdown-content {
        display: block;
        color:antiquewhite;
    }
/*Memory file*/
.container{
    align-items: center;
    justify-content: center;
    height: auto;
    max-width: 100%;
}
.left-card {
    background-color:#cf650e
}
.text {
    max-width: 100%;
    width: 219px;
}
.memory-box {
    background-color: #ffffff02;
    border: 1px solid antiquewhite;
    display: flex;
    justify-content: left;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    height: 150px;
}
.memory-img {
    max-width: 220px;
    width: auto;
    height: auto;
    margin: 1rem;
    justify-content: left;
}
.memory-img img,
.memory-profile {
    max-width: 100%;
    max-height: 100%;
    width: 150px;
    height: auto;
    display: flex;
    border: 2px solid antiquewhite;
    border-radius: 8px;
}
.title {
    font-size: 40px;
    text-align: center;
    color: antiquewhite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.description {
    font-size: 20px;
    text-align: left;
    color:antiquewhite;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}