/* HUMAN SKILLS STYLES */
body{
    background-color: black;
}

h1, h2{
    font-family:"BBH Bartle" ;
    color: white;
    text-align: center;
}

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



.menu-item {
    font-size: 20px;
    margin: 20px;
    font-family: 'Inter';
    text-decoration: none;
    color: white;
}

.menu-item:hover {
    color: #0000ff;
    transition: 0.3s;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    padding: 10px;
    background-color: black;
    border: 5px solid  #000083;
    border-radius: 25px;
}

p{
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

body {
    display: flex;
    flex-direction: column;    
    min-height: 100vh;         
}

body {
    display: flex;
    flex-direction: column;    
    min-height: 100vh;         
}

/* Step 2 — tell the main content to grow and fill all available space */
/* This pushes the footer down to the bottom */
main {
    flex-grow: 1;    /* this is the magic — it stretches to fill the gap */
}

/* Step 3 — the footer just sits naturally at the bottom */



.humanskills-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    padding: 40px;
}

.humanskill-item {
    position: relative;
}

.humanskill-img {
    width: 100%;
    display: block;
    box-shadow: 0px 0px 10px #0000ff;
}

.humanskill-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.humanskill-item:hover .humanskill-text {
    opacity: 1;
}

.humanskill-text h2 {
    margin-top: 0;
    color: white;
}

.humanskill-text p {
    max-width: 100%;
    color: white;
}

.humanskill-text iframe {
    width: 100%;
    margin-top: 15px;
}

a:visited {
    color: white;  
}

/* for mobile */
@media (max-width: 1080px) {

    nav {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }

    .humanskills-layout {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 20px;
    }

    img {
        width: 90vw;
        height: 400px;
    }

}

/* sidenav hidden by default */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    box-shadow: 0px 0px 10px #0000ff;
    overflow-x: hidden;
    transition: width 0.3s ease;
    z-index: 100;
    display: flex;
    flex-direction: column;
    padding-top: 60px;
}

.sidenav a {
    color: white;
    font-family: 'Inter';
    font-size: 20px;
    text-decoration: none;
    padding: 15px 20px;
}

.sidenav a:hover {
    color: #0000ff;
    transition: 0.3s;
}

.closebtn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 36px;
}

/* hamburger hidden on desktop, visible on mobile */
.hamburger {
    display: none;
    font-size: 36px;
    color: white;
    cursor: pointer;
    padding: 10px;
}

@media (max-width: 1080px) {
    nav {
        display: none;
    }
    .hamburger {
        display: block;
    }
}