html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Forum';
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    margin-top: clamp(60px, 10vh, 200px);
    padding: 20px;
}

header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: clamp(70px, 70px + 5vh, 100px);
    transition: 0.5s;
    align-items: center;
    padding: 0px 20px;
    background-color: rgb(0, 7, 49);
    box-sizing: border-box;
    z-index: 1000;
}

.brand {
    display: flex;
    margin-left: 6%;
}

.brand a {
    font-size: 26px;
    color: white;
    display: flex;
    text-decoration: none;
    letter-spacing: 20px;
}

.brand img {
    width: 60px;
    height: auto; 
    margin-right: 12px;
}

.menu {
    display: flex;
    position: static;
    margin-left: auto;
    margin-right: 20px;
    
    justify-content: space-around;
}

.projects_contact_about{
    display: flex;
    gap: 34px;
    width: 100%;
}

.sections {
    display: flex;
    gap: clamp(20px, 7vw, 50px);
    align-items: center;
    flex-shrink: 1;
    flex-grow: 1;
    list-style-type: none;
}

.sections a {
    transition: border-bottom 0.9s ease;
    text-decoration: none;
    color: white;
    letter-spacing: 6px;
    font-size: 15px;
}

.instagram_logo {
    display: flex;
    margin: 0;
    padding: 0;
}

.instagram_logo img {
    display: block;
    width: 50px;
    height: auto;
}

.mail_logo{
    display: none;
}



.sections a:hover {
    color: rgb(142, 147, 169);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    gap: 6px;
    z-index: 1001; 
}

.hamburger .bar {
    display: block;
    width: 30px;
    height: 4px;
    background-color: white;
    border-radius: 2px;
    transition: 0.3s;
}    

.container {
    display: block;
    width: 100%;
    font-family: 'Forum';
}

.footer_top {
    display: flex;
    margin-top: 10vh;
    margin-right: auto;
    margin-left: auto;
    border-top: 3px solid;
    border-color: rgb(0,8,49);
    width: 96%;
    padding-top: 20px;
}

.footer_brand img {
    margin-left: 100%;
    max-width: 80px;
    height: auto;
}

.footer_middle {
    display: block;
    width: 90%;
    margin: 0 auto;
}

h3 {
    letter-spacing: 20px;
    font-size: 25px;
    margin-bottom: 0;
}

h4 {
    margin-top: 12px;
    letter-spacing: 7px;
    font-size: 25px;
    margin-bottom: 0;
}

h5 {
    font-size: 20px;
    font-family: 'Forum';
    font-weight: normal;
    margin: 0 auto;
    margin-top: 30px;
}

.col p {
    font-size: 18px;
}

.footer_bottom {
    width: 100%;
    height: 16vh;
    background-color: rgb(45, 48, 61);
}

.copyright p {
    width: 100%;
    color: white;
    font-size: 13px;  
    margin-left: 5%;
    padding-top: 7vh;
}


@media (max-width: 1280px) {

    .hamburger {
        display: flex;
    }

    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(10px) rotate(45deg); 
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    .projects_contact_about{
        display: flex;
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }


    .sections {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        background-color: rgb(0,8,49);
        width: 250px;
        height: 100vh; 
        padding: 100px 24px 40px 24px; 
        box-sizing: border-box; 
        align-items: flex-start; 
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: 0.4s ease;
        justify-content: space-between;
    }
    
    .logos{
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 25px;
        margin-left: 40px;
        margin-bottom: 35px;

    }

    .instagram_logo {
        display: flex;
        margin-top: auto; 
        align-items: center;
        
    }

    .instagram_logo img {
        margin-bottom: 20px;
    }

    .mail_logo{
        display: flex;
        align-self: center;
        
    }

    .mail_logo img{
        display: block;
        width: 30px;
        height: auto;
        margin-bottom: 20px;
    }


    .sections.active {
        right: 0;
    }

    .sections a {
        font-size: 15px;
    }

    h3 {
        font-size: 18px;
    }

    h4 {
        font-size: 15px;
    }

    .col p {
        font-size: 12px;
    }
}
