html{
  box-sizing: border-box;
}

body{
  width: 100vw;
  height: 100vh;
  margin: 0;
  font-size: 18px;
  font-family: Open Sans, Roboto;
  background-color: whitesmoke;
  overflow-x: hidden;
  align-items: center;
  justify-content: center;
}

p{
  line-height: 1.5;
}

a{
  text-decoration: none;
  color: rgb(33, 12, 228);
}

#nav-bar{
  position:fixed;
  width: 100%;
  margin-top: -17px;
  height: 60px;
  background-color: white;
}

.nav-list{
  list-style: none;
  text-decoration: none;
  display: flex;
  justify-content: flex-start;
  justify-content: space-around;
}

.nav-list a{
  font-size: 1rem; 
}

.nav-list a:hover{
  color: #080125;
}

.responsive-headline{
  padding-top: 50px;
  padding-left: 25px;
  margin-right: 0px;
  font-size: 25px;
  background-color: rgb(212, 221, 230);
}

.teach-phil{
  text-align: center;
}

#philosophy{
  justify-content: center;
  padding: 0px 150px;

}

#about{
  padding: 3px;
  margin-top: 50px;
  margin-left: 0px;
  font-size: 16px;
}

.row{
  background-color: rgb(212, 221, 230);
}

img{
  float: left;
  margin-right: 20px;
}

.main-col{
  text-align: justify;
  padding-left: 10px;
  padding-right: 25px;
  margin-top: 0px;
}

.resume{ 
  margin-top: -10px;
  text-decoration: solid;
  font-weight: bold;
  font-size: 1.2rem;
}


#certedu{
  display: flex;
  flex-direction: row;
  padding-top: 10px;
  padding-left: 80px;
}

#certifications{
  float: right;
  padding-right: 120px; 
}

.close{
  margin-bottom: -10px;
}

h1{
  font-size: 1.5rem;
}

h3{
  color:rgb(142, 142, 238);
  margin-bottom: -10px;
}

#skills{
  display: flex;
  flex-direction: row;
  padding-top: 10px;
}

.skill_text{
  padding-left: 20px;
  text-justify: newspaper;
  padding-right: 30px;
}

.btn{
  color:blue;
}

#lead{
  padding-left: 165px;
  padding-top: 15px;
  font-style: italic;
}

form{
  width: 100%;
  color: whitesmoke;
}
 

fieldset {
  justify-items: center;
  border: none;  
  align-items: center;
  background-color: rgb(19, 15, 15);
}

.address{
  margin-bottom: -10px;
  padding-top: 20px;
}

input{
  height: 30px;
  width: 300px;
}

textarea{
  width: 300px;
  height: 120px;
}

button{
  height: 30px;
  width: 80px;
  font-size: 1.2rem;
  color:#162cee;
}

.social{
  padding-top: 0px;
}

.socialLink{
  display: flex;
  justify-content: space-evenly;
  font-size: 18px;
  height: 30px;
}

.contact-details:hover{
  transform: translateY(5px);
}

footer{
  height: 5px;
  font-weight: 3;
  display: flex;
  justify-content: space-evenly;
  padding-top: 100px;
  padding:0;
  margin-bottom: 40px;
  border-top: 4px solid black;
}

.styleshout{
  color:blue;
}

@media screen and (max-width: 590px){
  #philosophy{
    padding: 5px;
  }
  .nav{
    display: none;
  }
  
}
  
