@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');

:root {
    font-size: 16px;
    font-family: "Orbitron", sans-serif;
    --bg--primary: #D9D4D2;
    --bg--secondary: #0D0D0D;
    --transition--speed: 600ms;
}

body {
    color: black;
    background-color: #e1e0ec;
    margin: 0;
    padding: 0;
}

body::-webkit-scrollbar {
    width: 0.5rem;
}

body::-webkit-scrollbar-track {
    background: #D9D9D9;
}

body::-webkit-scrollbar-thumb {
    background: #9778c3;
}

.navbar {
    width: 5rem;
    height: 100%;
    position: fixed;
    background-color: #31047e;
    z-index: 2;
    transition: width 250ms ease;
}

.navbar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.nav-item {
    width: 100%;
    text-align: center;
}

.nav-item:last-child {
    margin-top: auto;
}

.nav-link {
    display: flex;
    align-items: center;
    height: 5rem;
    color: var(--bg--primary);
    text-decoration: none;
    filter: grayscale(100%) opacity(0.65);
    transition: var(--transition--speed);
}

.nav-link:hover {
    filter: grayscale(0%) opacity(1);
}

.active {
    filter: grayscale(0%) opacity(1);
}

.link-text {
    display: none;
    margin-left: 1rem;
}

.nav-link img {
    min-width: 2rem;
    margin: 0 1.5rem;
}

.navbar:hover .link-text {
    display: block;
}

.navbar:hover {
    width: 16.5rem;
}

.logoDiv {
    display: flex;
    align-items: center;
    top: 0;
    position: sticky;
    justify-content: flex-end;
    width: 100%;
    background-color: #040336;
    z-index: 1;
    opacity: 1;
    height: 10vh;
}

.logoHref {
    margin-right: 2.5%;
    align-items: center;
    justify-content: center;
    height: 90%;
    text-decoration: none;
}

.logo {
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-left: 1.5rem;
}

#mainContent {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    min-width: 80%;
    max-width: 91.8%;
    display: flex;
    z-index: -1;
    flex-direction: column;
    color: #A6A6A6;
}

#mainContent {
    justify-content: center;
}

main {
    margin-left: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
}

.profile-cards-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.profile-card-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
    padding: 1rem;
    background-color: var(--bg--primary);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    width: 300px;
    height: 400px;
    margin: 2rem auto 1rem;
    gap: 1.5rem;
}

.profile-card-center:hover {
    transform: scale(1.05);
}

.profile-image img {
    border-radius: 50%;
    width: 225px; 
    height: 225px; 
}

.profile-info {
    margin-top: 1rem;
}

.name {
    font-size: 1.2rem;
    color: var(--bg--secondary);
}

.job-title {
    font-size: 1rem;
    color: var(--bg--secondary);
    opacity: 0.8;
}

.description {
    font-size: 0.9rem;
    color: var(--bg--secondary);
    opacity: 0.7;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
}

.social-icon {
    color: var(--bg--secondary);
    font-size: 1.2rem;
    margin: 0 0.5rem;
    transition: color 0.3s;
    opacity: 0.6;
}

.social-icon:hover {
    opacity: 1;
}

.profile-cards-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background-color: var(--bg--primary);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    width: 300px;
    height: 375px;
}

.profile-card:hover {
    transform: scale(1.05);
}

.profile-card img {
    border-radius: 50%;
    width: 200px; 
    height: 200px; 
}

.profile-info {
    margin-top: 0.5rem;
}

.name {
    font-size: 1rem;
    color: var(--bg--secondary);
}

.job-title {
    font-size: 0.9rem;
    color: var(--bg--secondary);
    opacity: 0.8;
}

.description {
    font-size: 0.8rem;
    color: var(--bg--secondary);
    opacity: 0.7;
    margin-top: 0.3rem;
    margin-bottom: 0.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
}

.social-icon {
    color: var(--bg--secondary);
    font-size: 1rem;
    margin: 0 0.3rem;
    transition: color 0.3s;
    opacity: 0.6;
}

.social-icon:hover {
    opacity: 1;
}

.section-heading {
    font-size: 2rem;
    text-align: center;
    margin-top: 8rem;
    margin-bottom: 1rem;
    width: 100%;
}

.phone a {
    text-decoration: none;
    color: #0D0D0D;
    opacity: 0.6;
} 

.phone a:hover {
    opacity: 1;
    transition: 400ms ease;
}

#menuToggle {
    display: none;
}

@media (max-width: 800px) {
    

    .navbar {
        display: none;
    }

    .logoDiv {
        position: relative;
        z-index: 2;
    }

    main {
        margin-left: 0%;
    }

    .section-heading {
        margin-left: 1rem;
    }

    .profile-cards-container {
        display: flex;
        justify-content: center;
        margin-left: 9%;
    }

    .profile-card-center {
        margin: 0;
    }

    .profile-cards-row {
        margin-top: 1.8rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    #menuToggle {
        display: block;
        position: absolute;
        top: 3.2%;
        left: 3.2%;
        z-index: 3;
    }
    
    #menuToggle input {
        display: block;
        width: 40px;
        height: 32px;
        position: absolute;
        top: -7px;
        left: -5px;
        cursor: pointer;
        opacity: 0;
        z-index: 2;
    }
    
    #menuToggle span {
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;
        background: #cdcdcd;
        border-radius: 3px;
        z-index: 1;
        transform-origin: 4px 0px;
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                    opacity 0.55s ease;
    }
    
    #menu {
        position: absolute;
        width: 300px;
        margin: -100px 0 0 -50px;
        padding: 50px;
        padding-top: 125px;
        background: #ededed;
        list-style-type: none;
        transform-origin: 0% 0%;
        transform: translate(-100%, 0);
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        min-height: 50vh;
    }

    #menu a {
        text-decoration: none;
        color: #0D0D0D;
        transition: 600ms ease;
    }

    #menu a li img {
        fill: #0D0D0D;
    }

    #menu a li {
        text-decoration: none;
        color: #0D0D0D;
        transition: 600ms ease;
        display: flex;
        align-items: center;
        font-size: 1rem;
    }

    #menu li {
        padding: 10px 0;
        font-size: 22px;
    }

    #menu a li:hover {
        opacity: 1;
        transition: 600ms ease;
    }
    
    #menuToggle input:checked ~ ul {
        transform: none;
    }
}