@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    --white: #f9f9f9;
    --blue: #003399;
    --yellow-light:#FFC436;
    --black: #848688;
    --black1: #727376;
    --grey: #0b0b0b;
    --blue2: #001E84;
    --black2: #E6E7E8;
    --black3: #D2D3D5;
    
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
    font-family: "Montserrat", sans-serif;
}

main{
    padding: 20px;
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}



.header{
    background-color: var(--blue2);
    box-shadow: 1px 1px 25px 0px var(--grey);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo1{
    display: inline-block;
    color: var(--white);
    width: 25vh;
    margin-left:4rem;
}

.nav{
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: var(--blue2);
    overflow: hidden;
    max-height: 0;
    transition: max-height .5s ease-out;
}

.menu a{
    display: block;
    padding: 30px;
    color: var(--white);
}

.menu a:hover{
    color:var(--grey);
    background: #F8DE22;
}

.hamb{
    cursor: pointer;
    float: right;
    padding: 40px 20px;
}


.hamb-line {
    background: var(--white);
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
}

.hamb-line::before,
.hamb-line::after{
    background: var(--white);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.hamb-line::before{
    top: 5px;
}

.hamb-line::after{
    top: -5px;
}

.side-menu {
    display: none;
}

.side-menu:checked ~ nav{
    max-height: 100%;
}

.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;
}

.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}


.nav .menu .certificados{
    background-color:var(--black1);
    border-radius: 10px;
    padding: 1rem;
    margin-top:1rem;
    margin-right: 2rem;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.nav .menu .certificados:hover{
    background-color:var(--yellow-light);
    color:var(--blue2);
}

@media (min-width: 600px){
    .nav    {
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;
    }

    .menu li {
        float: left;
    }

    .menu a:hover {
        background-color: transparent;
        color: var(--yellow-light)
    }

    .hamb {
        display: none;
    }
}





