* {
 font-family: "Montserrat";
 margin: 0;
 list-style-type: none;
}

header ul {
  margin: 0;
  padding: 0px 30px;
  overflow: hidden;
  background-color: #2F799F;
}

header li {
  float: right;
}

a {
  text-decoration: none;
}

#pc{
  font-size: 16px;
  margin: 10px;
  color: white;
  background-color: #2F799F;
  border-radius: 2px;
  border: 2px solid #8DCBEB;
}

header button:hover{
  background-color: #8DCBEB;
  cursor: pointer;
}

header li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
}

header li a:hover {
  background-color: #8DCBEB;
}

.active {
  background-color: #8DCBEB;
}

#bs{
  display: none;
}

.menu-icons{
  color: #2F799F;
  font-size: 40px;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  z-index:1500;
  display: none;
}

@media screen and (max-width: 950px){

  #pc{
    display: none;
  }

  #bs{
    display: flex;
    font-size: 16px;
    font-weight: bold;
    margin: 10px;
    color: #2F799F;
    background-color: white;
    border-radius: 2px;
    border: 2px solid #2F799F;
    position: absolute;
    top: 10px;
    left: 10px;
  }

  .nav-list{
    padding: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: none;
    align-items: initial;
    flex-direction: column-reverse;
  }

  .nav-list li{
    line-height: 5.5rem;
    font-size: 1.4rem;
  }

  .menu-icons{
    display: block;
  }

  .ion-md-close{
    display: none;
  }

  nav.active .ion-md-close{
    display: block;
    color: white;
    position: fixed;
    top: 10px;
    right: 20px;
  }

  nav.active .ion-md-menu{
    display: none;
  }

  nav.active .nav-list{
    display: flex;
  }
}



h3{
  text-align: center;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.title {
  text-align: center;
  font-size: 60px;
  margin-top: 60px;
  margin-bottom: 10px;
  color: #2F799F;
  font-weight: normal;
}

.subtitle {
  font-size: 20px;
  width: 700px;
}

.circle{
  width: 350px;
  border-radius: 50%;
}

.side {
  display: inline-flex;
  margin: 20px 0 40px 0;
}

.bio{
  margin: 30px;
  text-align: justify;
  width: 50%;
}

.bio a{
  text-decoration: none;
  color: black;
}

@media screen and (max-width: 950px){

  .side{
    display: block;
    align-items: center;
  }

  .circle{
    display: block;
    margin: 20px auto;
    width: 80%;
    max-width: 350px;
  }

  .bio{
    text-align: justify;
    width: 80%;
    margin: auto;
  }
  .title{
    margin: 80px 40px 0 40px;
  }
}

@media screen and (max-width: 560px){
  .title{
    font-size: 40px;
  }
}





.courses{
  margin: 20px;
  padding: 0;
  text-align: justify;
  width: 700px;
}

.courses li{
  padding: 20px;
}

.courses a {
  color: #2F799F;
}



.jobs{
  margin: 30px;
  padding: 0;
  text-align: justify;
  width: 350px;
}

.jobs li{
  padding: 15px;
}

.jobs b{
  font-size: 18px;
}


.boxes{
  columns: 4;
  column-gap: 40px;
  column-width: 200px;
  margin: 40px 12%;
}

.box {
  display: inline-block;
  background-color: #8DCBEB60;
  margin-bottom: 30px;
}

.box img{
  width: 100%;
  height: 100%;
}

.textico {
  padding: 20px;
  padding-top: 10px;
}

.box h4{
  color: #2F799F;
  margin-bottom: 15px;
}

.box h5{
  color: black;
  margin-bottom: 5px;
}

.box p{
  font-weight: normal;
}

.boxes a{
  text-decoration: none;
}





.intro{
  font-weight: normal;
  margin: 20px 0;
  justify-content: center;
  align-items: center;
}

.grid-container{
  width: 1200px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(60, 20px);
  grid-template-rows: repeat(70,20px);
}

.grid-container div{
  background-color: #8DCBEB60;
  margin: auto;
  padding: 20px;
}

.grid-container div p{
  margin-top: 20px;
  color: #2F799F;
  font-weight: bold;
  text-align: right;
}

.item-1{
  grid-area: 9/4/20/30;
}

.item-2{
  grid-area: 1/23/6/33;
}

.item-3{
  grid-area: 4/35/20/55;
}

.item-4{
  grid-area: 34/1/40/15;
}

.item-5{
  grid-area: 38/21/38/31;
}

.item-6{
  grid-area: 24/33/40/61;
}

.item-7{
  grid-area: 54/6/65/28;
}

.item-7b{
  grid-area: 57/6/68/28;
}

.item-8{
  grid-area: 43/38/55/57;
}


@media screen and (max-width: 1250px){
  .grid-container{
    display: block;
    width: 100%;
    align-items: center;
  }

  .grid-container div{
    width: 80%;
    margin: 30px auto;
    max-width: 700px;
  }
}




.fill{
  height:500px;
}

footer {
  height: 100px;
  background-color: #2F799F;
}

footer a{
  color:white;
  margin: 20px;
  font-style: normal;
}

@media screen and (max-width: 560px){
  #mail{
    display: none;
  }

}
