
:root {
  --blue: #095ecd;
  --dark-blue: #303c8d;
  --red: #d83357;
  --orange: #d8872b;
  --big-font: "Fredoka", sans-serif;
  --basic-font: "Vend Sans", sans-serif;
}

header{
  width:100%;
  height:fit-content;
  display:flex;
  justify-content:center;
}

nav{
    width:80%;
    display:flex;
    justify-content: space-between;
    height:fit-content;
    margin-top:1rem;
}

.nav-logo{
  width:8rem;
  height:auto;
}

.nav-logo img{
  width:100%;
  object-fit: cover;
}

nav a{
  font-weight: 800;
  color:var(--dark-blue);
  text-decoration: none;
}

nav .nav-buttons{
  width:40%;
  display:flex;
  justify-content:space-between;
  align-items: center;
}

.nav-button-cta{
  background-color: var(--dark-blue);
  padding:10px 20px;
  border-radius:30px;
  color:white;
}

*,*::before,*:after{
    box-sizing:border-box;
}

#hamburgerButton.menu_hamburger{
    position:absolute;
    left:-100vw;
}

.menu_hamburger+label{
    position:fixed;
    top:30px;
    right:20px;
    cursor:pointer;

    display:flex;
    align-items:center;
    justify-content:center;

    height:70px;
    width:70px;

    background:white;
    border-radius:50%;

    box-shadow: 0 4px 12px rgba(0,0,0,0.15);

    z-index:1000;
}


.menu_hamburger+label span{
    position:relative;
    width:50px;
    height:7px;
    background-color: var(--dark-blue);
    transition:background 10ms 300ms;

}

.menu_hamburger+label span::after,
.menu_hamburger+label span::before{
transition:top 300ms 350ms, transform 300ms 50ms;
position:absolute;
content:'';
width:50px;
height:inherit;
background-color: var(--dark-blue);
}
.menu_hamburger+label span::before {
	
  top: -15px;
	
}
	
.menu_hamburger+label span::after {
	
  top: 15px;
	
}
	
.menu_hamburger:checked+label span {
	
  background: unset;
  
}
	
.menu_hamburger:checked+label span::after,
.menu_hamburger:checked+label span::before {

transition: top 300ms 50ms, transform 300ms 350ms;
top: 0;

}

.menu_hamburger:checked+label span::before {

  transform: rotate(45deg);
  
}

.menu_hamburger:checked+label span::after {

  transform: rotate(-45deg);
}

@media (min-width:1200px) {
 .menu_hamburger+label{
    display:none;
 }
}

@media (max-width:1200px){
    nav{
        position:fixed;
        left:0;
        top:0;
        height:250px;
        width:100%;
        transition: transform 0.4s ease-in;
        transform:translateY(-100%);
        will-change:transform;
        display:flex;
        flex-direction:column;
        justify-content:flex-end;
        align-items:center;
        background:white;
        margin-top: 0;
    }

    nav .nav-buttons{
  width:100%;
  height:150px;
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:safe;
}


.nav-logo{
  width:6rem;
  margin-bottom:20px;
  height:auto;
}


    nav a{
        opacity:0;
        visibility: hidden;
    }

    .menu_hamburger:checked+label~nav{
        transform:unset;
    }

    .menu_hamburger:checked+label~nav a{
        visibility:visible;
        opacity:1;
        cursor: pointer;
    }

    .nav-buttons span{
        width:100%;
        height:100%;
        border-bottom:2px solid var(--dark-blue);
        display:flex;
        justify-content: center;
        align-items: center;
    }

    .nav-buttons span:last-child{
        border-bottom:none;
    }

    .nav-button-cta{
  background-color: var(--dark-blue);
  color:white;
  width:100%;
  height: 100%;
  padding: 0;
  border-radius: 0;
  display:flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: none;
}

}
