* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header {
    background-color: maroon;
    color: white; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    font-size: 20px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0px 30px;
}

nav ul li a {
    text-decoration: none;
    color: white;
}

nav ul li a:hover {
    text-decoration: underline;
}

section {
    margin-top: 4rem; 
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

section div img {
    height: 300px;
    width: 300px;
    object-fit: cover;
}

.about {
    padding: 30px;
    display: flex;
    flex-direction: column;
    color: burlywood;
}

.first {
    background-color: #2c3e50;
    margin: 2px;
    border-radius: 30px;
} 

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    margin-top: 4rem;
}

footer .social-media a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

footer .social-media a:hover {
    text-decoration: underline;
}

/* Tablet */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }
    nav ul {
        flex-direction: column;
        padding: 10px 0;
    }
    nav ul li {
        margin: 10px 0;
    }
}

/* Mobile */
@media (max-width: 425px) {
    .header h1 {
        font-size: x-large;
    }
    section div img {
        width: 250px;
        height: 250px;
    }
    .first {
        margin: 3px;
    }
}
