.nav-element {
    color: black;
}

nav {
    background-color: white;
}

.hero {
    background-size: cover;                     
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    height: 25rem;
}

.article {
    margin: 3em 10em;
    font-size: 2rem;
}

.date {
    font-size: 1rem !important;
    margin-bottom: 2em;
}

h1 {
    margin-bottom: 1em !important;
    font-weight: bolder !important;
}

.img01 {
    height: 10em;
    margin-bottom: 1.5em;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

p {
    margin-bottom: 1.5em;
}

.content-with-right-image {
    display: flex;
    gap: 20px;
    align-items: stretch; 
    margin: 20px 0;
}

.text-content {
    flex: 2;
}

.img02-right {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    min-width: 250px;
}

@media (max-width: 1260px){
.article {
    margin: 1em !important;
}
}




/* Responsive design */
@media (max-width: 768px) {
    .content-with-right-image {
        flex-direction: column;
    }
    
    .img02-right {
        min-width: 100%;
        height: 200px; /* Keep fixed height on mobile */
    }
}

@media only screen and (max-width: 730px) {
    h1 {
        font-size: 3.5rem
    }

    .titles p {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 550px) {
    .titles {
        margin-top: 2rem;
    }
}

@media only screen and (max-width: 330px) {
    h1 {
        font-size: 2.5rem
    }
}