body {
    margin: 0;
    font-family: "Rubik", sans-serif;
}

section {
    margin-bottom: 40px; 
    padding: 20px;
}

.menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #3858D9;
    padding: 10px 20px;
    color: white;
}

.menu-left {
    display: flex;
    align-items: center;
}

.menu-left img {
    height: 70px;
    margin-right: 20px;
}

.menu-left a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    padding: 8px 12px;

}

.menu-left a:hover {
    background-color: #2C00DB;
    border-radius: 4px;
}

.menu-right button {
    margin-left: 10px;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.register-btn {
    background-color: #5CB0F5;
    color: white;
    width: 130px;
}

.login-btn {
    background-color: #5CB0F5;
    color: white;
    width: 130px;
    margin-top: 5px;
}

.register-btn:hover, .login-btn:hover {
    opacity: 0.8;
}

.overlay {
    position: relative;
    padding: 40px;
    color: white;
    z-index: 1;
}

.overlay::before {
    content: "";
    background-image: url('team.jpg');
    background-size: cover; 
    opacity: 0.5;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1; 
}

.princ .overlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: white;
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 70px;
}

.overlay p {
    width: 85%;
    margin: 0 auto;
    text-align: center;
    line-height: 35px;
}

.princ h1 {
    font-size: 48px;
    margin: 0;
}

.princ p {
    padding-right: 10%; 
    padding-left: 10%; 
    font-size: 20px;
    margin-top: 10px;
}

.equipa{
    padding-top: 10px;
}

.team-container {
    width: 100%;
    display: flex;
    flex-direction: row; 
    justify-content: space-between;
    gap: 20px; 
    flex-wrap: nowrap;
}

.team-member {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 30%;
    text-align: center;
    overflow: hidden;
}

.papel {
    line-height: 28px;
}

.team-member img {
    width: 125px;
    height: 180px;
    border-radius: 20%;
}

.team-member h3 {
    font-size: 25px;
    color: #333;
}

.team-member p {
    font-size: 17px;
    color: #555;
}

@media (max-width: 768px) {
    .team-container {
        flex-direction: column; /* Altera a direÃƒÂ§ÃƒÂ£o para coluna em telas menores */
        align-items: center; /* Centraliza os membros na coluna */
    }
    .team-member {
        width: 80%; /* Ajusta a largura para 80% da tela em dispositivos mÃƒÂ³veis */
        margin-bottom: 20px; /* Adiciona um espaÃƒÂ§o entre os membros */
    }
}


.contactos {
    display: flex;
    flex-wrap: wrap;
    min-height: 300px;
    font-size: 18px;
    margin: 5px 0;
    color: white;
    background-color: rgb(17, 17, 37);
    padding: 20px;
    text-decoration: none;
}

.esq, .dir {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.esq {
    font-size: 27px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dir {
    padding-left: 20px;
    padding-right: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info p{
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
    padding-right: 150px;
}

.redes_sociais {
    padding-right: 165px;
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 20px;
    flex-wrap: wrap; 
    margin: 20px 0;
}

.redes_sociais h2 {
    font-size: 18px;
    font-weight: 500;
}

.redes_sociais a img {
    width: 35px;
    height: 35px;
    margin: 0 10px;
    transition: transform 0.3s ease;
    filter: invert(1);}

.redes_sociais a img:hover {
    transform: scale(1.1);
}

.slogan {
    width: 70%;
    font-size: 16px;
    text-align: left;
    font-style: italic;
    color: #908fa7;
}

.footer {
    width: 100%;
    color: #727171;
    text-align: center;
    position: relative;
    margin: 0;
}

.footer p {
    font-size: 14px;
    font-style: italic;
}

