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

}

h2{
  margin: 0;
  padding: 0;
}

body{
  background-color: #16161D;
}
img {
  max-width: 100%;
  height: auto;
}

body {
  margin: 0;
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}
nav{

  background-color:#F9F9F9 ;
  width: 50%;
  margin-left: auto;
  height: 6rem;

}
a,li,ul{
text-decoration: none;
list-style-type: none;
color: #374151;
font-family:'Poppins', Helvetica, sans-serif;
font-weight: 100;
}
.list{
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem;
  font-size: large;
}
a:hover{
  color: #3B82F6;
}

.hero{
  padding: 0.3rem;
  font-family:'Poppins', Helvetica, sans-serif;
  font-weight: 500;
  color: white;

}

.hero2{
  padding: 0.3rem;
  font-family:'Poppins', Helvetica, sans-serif;
  font-weight: 500;
  color: white;

}
.nav-cont{
  display: flex;
  height: 6rem;
  flex:1;
  background-color: #1f2937;
  width: 100%;
  justify-content: center;
  align-items: baseline;
  flex-direction: row;
}

.pfp{
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  object-fit: cover;
  border: 0.2rem solid white;
  display: block;
}
.pfpcont{
padding: 1rem;
}

.navtop{
  background-color: #245191;
  display: flex;
  
}

.herocont{
  display: flex;
  flex-direction: column;
}

.welcome{
  display: flex;
  flex-direction: row;
}
.bighero{
  padding: 2rem;
  font-family:'Poppins', Helvetica, sans-serif;
  font-weight: 500;
  color: white;

}
.menu-toggle{
  display: none;
}


 /* Phone */
 @media (max-width: 480px){

  nav{
    background-color: #F9F9F9;
    width: 100%;
    margin-left: 0;
    height: auto;
    padding: 0.5rem 0;
  }

  a{
    text-decoration: none;
    color: #374151;
    font-family: 'Poppins', Helvetica, sans-serif;
    font-weight: 100;
    font-size: 1rem;
  }

  li{
    list-style-type: none;
  }

  ul{
    list-style-type: none;
  }

  .list{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    gap: 0.8rem;
    font-size: small;
  }

  .hero{
    font-family: 'Poppins', Helvetica, sans-serif;
    font-weight: 500;
    color: white;
  }

  .hero2{
    font-size: medium;
    font-family: 'Poppins', Helvetica, sans-serif;
    font-weight: 500;
    color: white;
  }

  .nav-cont{
    flex: 1;
    background-color: #1f2937;
    display: flex;
    flex-wrap: wrap;
    min-height: 6rem;
    height: auto;
    justify-content: space-between;
    align-items: flex-start;
  }

  .pfp{
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
    border: 0.2rem solid white;
    display: block;
  }

  .pfpcont{
    padding: 1rem;
  }

  .navtop{
    background-color: #245191;
    display: flex;
  }

  .herocont{
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
  }

  .welcome{
    display: flex;
    flex-direction: row;
  }

  .bighero{
    font-size: x-large;
    padding: 1rem;
    font-family: 'Poppins', Helvetica, sans-serif;
    font-weight: 500;
    color: white;
  }

  .menu-toggle{
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    margin-left: auto;
    padding: 0.75rem 1rem;
  }

  .site-nav{
    display: none;
    width: 100%;
  }

  .nav-cont.active .site-nav{
    display: block;
  }
}

@media (max-width: 768px){
  nav{
    width: 60%;
  }

  .list{
    gap: 0.5rem;
    font-size: medium;
  }

  .nav-cont{
    justify-content: space-between;
    align-items: center;
  }

  .herocont{
    min-width: 0;
  }
}