/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Trebuchet MS', sans-serif;
}

/* Header styles */
html,
body {
    height: 100%;
}

body {
    display: flex;
    line-height: 1.6;
    color: #333;
    flex-direction: column;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    width: 100%;
}

header {
    background-color: #008080;
    color: #fff;
    text-align: center;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2rem;
    margin: 0;
}

nav {
    background-color: #DCDCDC;
    padding: 1rem;
    text-align: center;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav a {
    color: #000;
    text-decoration: none;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #0080802a;
}

/* Paragraph styles */
p {
    margin: 1rem 0;
    line-height: 1.8;
}

/* Link styles */
a {
    color: #008080;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
    color: #005f5f;
}

/* Table styles */
table {
    border-collapse: collapse;
    font-size: 1rem;
    margin: 1rem auto;
    width: 90%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

th,
td {
    border: 1px solid #ddd;
    padding: 0.5rem;
    text-align: center;
}

th {
    background-color: #008080;
    color: #fff;
}

/* Footer styles */
footer {
    text-align: right;
    color: #ffffff;
    padding: .4rem;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
}

footer img {
    max-width: 10%;
}

/* Classes */
.maintext {
    font-size: 1rem;
    width: 50%;
    margin: 0 auto;
    overflow-y: hidden;
}

.content {
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: justify;
    margin: 0 auto;
    overflow-x: hidden;
}

.contentConsults {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 1rem;
}

.redandunderline {
    color: red;
    text-decoration: underline;
}

.headerRow {
    background-color: #008080;
    color: white;
}

.evenRow {
    background-color: #f2f2f2;
}

.oddRow {
    background-color: #c9c9c9;
}

.borderBlack {
    padding: 1rem;
    margin: 1rem;
}

.equipeNavBar {
    display: flex;
    justify-content: start;
    align-items: start;
    align-self: flex-start;
    margin: 1rem;
    flex-direction: column;
    white-space: nowrap;
}

.displayMembers {
    margin: auto 1vw;
    width: 75%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.member {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 75%;
    padding: 1rem;
    font-size: 1rem;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
}

.membersUl {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.profilePicture {
    width: auto;
    height: 20%;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.newsPicture {
    width: 35%;
    height: 40%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.littleTitle {
    font-size: 0.8rem;
    margin: 1rem;
}

.teamDisplay {
    width: 80%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 1rem;
}

/* Responsive styles */
/* Responsive styles */
@media (max-width: 800px) {
    nav {
        padding: 0.5rem;
    }
    body {
        font-size: 0.8rem;
    }
    nav a {
        display: block;
        margin: 0.5rem 0;
        padding: 0.5rem 1rem;
    }

    table,
    th,
    td {
        font-size: 0.8rem;
    }

    .maintext {
        width: 100%;
        font-size: .5rem;
    }

    .content {
        flex-direction: column;
        align-items: center;    
    }

    .contentConsults {
        flex-direction: column;
        align-items: center;
        margin: 0.5rem;
    }

    header {
        padding: 0.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    p {
        margin: 0.5rem 0;
    }

    .member {
        flex-direction: column;
        width: 90%;
        padding: 1rem;
    }

    .profilePicture,
    .newsPicture {
        width: 50%;
        height: auto;
    }

    footer img {
        width: 20%;
    }

    img {
        width: 5vw;
        /* Adjust the percentage as needed */
        height: auto;
    }
}