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

body {
    font-family: 'Cabin', sans-serif;    
    margin: 0;
    padding: 0;
    justify-content: space-between;
    height: 100vh;
    color: white;
    background-color: rgb(26, 26, 26);
  }


  
.logo img{
  margin:0;
  height:5rem;
  width:auto;
}

header{
    position:fixed;
    display: flex;
    color: white;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    box-sizing: border-box;
   
} 
  
  .nav-bar {
    display:flex;
    padding: 1rem;
    gap:1rem;
  }

  .nav-bar-mobile{
    display: flex;
    position: relative;
    flex-direction: column;
  }

  .nav-bar a{
    padding:0.5rem 3rem;
    border-style: solid;
    border-width: 0.1rem;
    border-radius: 1.25rem;
    background-color: rgb(26, 26, 26) ;
    
  }

  .nav-bar a:hover{
    background: white;
    color:black;
  }
  
  .nav-bar a:focus{
    background: white;
    color:black;
  }

  
  .logo {
    display: none;
    font-size: 2rem;
  }

  
@media(min-width:31rem){
  .logo{
    display: block;
    flex-direction: row;
  }
}

  .introduction {
    font-size: 1rem;
    line-height: 1.5;
  }


  
  h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 2rem;
    font-weight: 500;
    margin: 0.75rem 0;
    line-height: 1.25;
  }
  
  h3 {
    font-size: 1.75rem;
    font-weight: 400;
    margin: 0.5rem 0;
    line-height: 1.3;
  }
  
  h4 {

    font-size: 1.5rem;
    font-weight: 300;
    margin: 0.5rem 0;
    line-height: 1.35;
  }
  
  h5 {
    font-size: 1.25rem; 
    font-weight: 300; 
    margin: 0.5rem 0;
    line-height: 1.5; 
  }
  

  p {
    font-family: 'Figtree', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.5;
    margin: 1rem 0;
    max-width: 40rem;
  }
  
  li {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  a {
    font-size: 1rem;
    font-weight: 400;
    color: inherit;
    text-decoration: none;
  }
  
  img{
    max-width: 100%;
    height: auto;
  }


  .grey{
    color: rgb(166, 166, 166);
  }

  .white{
    color: white;
  }


.centered-horizontal-grid{
  justify-self: center;

}

.centered-vertical-grid{
  align-self: center;
}

.centered-horizontal-flex{
  margin-left: auto;
  margin-right: auto;
}

.centered-text{
  text-align: center;
}

.centered-item{
  margin-left: auto;
  margin-right: auto;
}

.dropdown{
  display: none;
  position:absolute;
  right:2rem;
  top:4rem;
  
}

.dropdown li{
  padding: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  outline-style: solid;
  outline-color: white;
}

.dropdown.open{
  display: block;
}

.hamburger-menu{
  display: none;
  position:absolute;
  right:2rem;
  top:2rem;
}

.hamburger-menu .bar{
  width: 2rem;
  height: 3px;
  background-color: white;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;

}

.hamburger-menu.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger-menu.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 48rem){
  .hamburger-menu{
    display: block;
  }
  .nav-bar{
    display: none;
  }
}