@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');

:root {
    --main-color: rgb(35,121,120);
    --background-color: #E7F5F5;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--background-color);
    overflow-x: hidden;
}

.navbar {
    width: 100%;
    background-color: var(--main-color);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid black;
    position: fixed;
    z-index: 1;
}

.navbar-brand {
    color: white;
    display: flex;
    align-items: center;
}

.navbar-logo {
    width: 50px;
    margin-right: 10px;
}

.navbar-links {
    min-width: 40%;
}

.navbar-links ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.navbar-links li {
    margin: 0 1rem;
}

.navbar-links li a {
    color: white;
    text-decoration: none;
}

.toggle-button {
    position: absolute;
    right: 10px;
    height: 30px;
    width: 30px;
    display: none;
    justify-content: space-between;
    flex-direction: column;
}

.bar {
    height: 4px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
}

.container {
    padding: 5rem 0;
    min-height: 100vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.container .header {
    text-align: center;
    width: 50%;
    padding: 2rem 0;
}

.logo {
    width: 100px;
}

.logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.logo-wrap h1 {
    border-bottom: none;
}

.text-and-logo {
    width: 200px;
    display: block;
    margin: auto;
}

.header h2 {
    padding: 2rem 0;
}


.row {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    grid-template-rows: auto;
    grid-gap: 50px;
}

.profile {
    text-align: center;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.profile h2 {
    max-width: 80%;
}


.container-image {
    padding: 1rem;
    position: relative;
    cursor: pointer;
}

.profile-image {
    opacity: 1;
    display: block;
    transition: .5s ease;
    backface-visibility: hidden;
    border-radius: 10px;
    width: 200px;
    height: 200px;
}

.image-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    transition: .5s ease;
    opacity: 0;
}

.container-image:hover .profile-image {
    opacity: 0.3;
}

.container-image:hover .image-text {
    opacity: 1;
}

.profile-link {
    text-decoration: none;
}

.profile-link h4, .profile-link p, .image-text {
    color: black;
}


.picture-text.active {
    display: flex;
}

.container-file {
    display: flex;
    width: 15vw;
    height: 2rem;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.file-row {
    display: flex;
    height: 100%;
    width: 80%;
    justify-content: space-between;
}

.files a {
    text-decoration: none;
    color: black;
}


.file-image {
    height: 50px;
    width: 50px;
}

@media (max-width: 800px) {  
    
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        width: 100%;
    }


    .navbar-links {
        display: none;
        width: 100%;
        margin: 1rem 0;
    }

    .navbar-links ul{
        flex-direction: column;
        width: 100%;
    }

    .navbar-links li {
        width: 100%;
        padding: 1rem;
        text-align: center;
    }
    .navbar-links li:hover {
        background: black;
    }

    .toggle-button {
        display: flex;
    }

    .navbar-links.active {
        display: flex;
    }

    .row {
        grid-template-columns: repeat(1, 1fr);
        justify-content: center;
        
    }

    .container-file {
        justify-content: flex-start;
    }

    .file-row {
        flex-direction: column;
        height: 50vh;
        align-items: center;
    }

    .files {
        margin: 10px;
    }

}

