html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    
}

header {
    /*background: rgb(39, 14, 14); */
    padding: 20px 0;
    /*box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.4);*/
    /*height: 100px;*/
        background-color: rgb(39, 14, 14); 
     /*padding: 20px 0;*/
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.4);
    /*height: 100px;  */

    position: relative;
    height: 70px;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: auto;
    height: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

.headerLogo {
    max-width: 350px;
    width: auto;
    display: block;    
}

nav {
    display: flex; /* Stays at the top */
    font-size: 25px;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
} 

.nav-links li a {
    position: relative;
    text-decoration: none;
    color: white;
    font-weight: 500;
    margin-top: 20px;
    padding-bottom: 8px 12px;
    display: inline-block;
    border-radius: 6px;
    font-family: "Arial";
    font-weight: 580;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: black;
    transition: width 0.4s ease-in-out;
}

.nav-links li a:hover::after {
    width:100%;
    background-color: white; /* Red hover */
    color: black;
}

.hero {
    background: url("/static/img/mcgrupojens2.png") no-repeat center center/cover;
    height: 1050px;
    position: relative;
    color: rgb(7, 7, 7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: black;
}

footer {
    background-color: rgb(39, 14, 14); 
    color:white;
    text-align: center;
    padding: 15px;
    position: relative;
    bottom: 0;
    font-size: 14px;
}

section {
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.6s ease-out;
}
  
section.revealed {
    opacity: 1;
    transform: translateY(0);
}
/* Hamburger icon */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}
.container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
}
  
.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: white;
    margin: 4px 0;
    transition: all 0.3s ease;
}
@media only screen and (max-width:1024px) {
    header {
        display: block;
        height: 120px;
    }
}


/* Responsive */
@media (max-width: 1000px) {
    
    .header-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .menu-toggle{
        display: block;
        font-size: 70px;
        color: white;
        cursor: pointer;
        margin-left: auto;
    }
    nav {
        position: absolute;
        top: 0;
        width: 100%;
        height: 50%;
    }
    .nav-links {
        /*display: flex;*/
        /*flex-direction: column;*/
        /*align-items: flex-start;*/
        /*width: 100%;*/
        /*background-color: rgba(138, 124, 107);*/
        /*font-size: 24px;*/
        /*overflow: hidden;*/
        /*max-height: 0;*/
        top: 160px;
        height: 500px;
        
          max-height: 0;
          overflow: hidden;
          transition: max-height 0.6s ease-in-out;
          flex-direction: column;
          background-color: rgba(138, 124, 107);
          width: 100%;
          position: relative;
          padding: 0;
          margin: 0;
          list-style: none;
        
    }
    .nav-links.active {
          max-height: 500px; /* Needs to be big enough to fit content */

        /*display: block;*/
        /*width: 100%;*/
        /*max-height: 500px;*/
        /*padding: 20px;*/
        /*color: white;*/
        /*        top: 136px;*/
        /*right: 0;*/
        /*width: 100%;*/
        /*height: 570%;*/
        /*max-height: 300%;*/
        /*flex-direction: column;*/
    }
    
    .nav-links li {
        margin-top: 35px;
    }
    .nav-links li a {
        margin-left: 126px;    
        font-size: 38px
        

    }
    #loadMoreBtn {
        font-size: 22px;
    }
    .headerLogo {
        max-width: 450px;
    }

    /*.menu-toggle {*/
        /*display: flex;*/
        /*margin-left: 430px; */
        /*cursor: pointer;*/
        /*align-items: center;*/
    /*}*/
    .latest {
        /* background: url("/static/img/scheduleBg.png") no-repeat center center/cover; */
        /* font-size: 50px;
        text-align: center;
        padding: 0px 500px;
        background-color: rgb(255, 255, 255);
        color: #8B0000; */
        font-size: 50px;
        text-align: center;
        /* padding: 40px 20px; */
        background-color: rgb(255, 255, 255);
        color: #8B0000;
        max-width: 1000px;
        margin: 0 auto;
        width: 100%;
    }

    .menu {
        flex-direction: column;
    }
    .hero-image {
        height: 200px;
    }
    
    /*.headerLogo {*/
    /*    max-width: 350px;*/
    /*    width: auto;*/
    /*    display: block;    */
    /*}*/
}

