/* Base Styles */

body {
  margin: 0; 
  background-color: #176B87;
  font-family: sans-serif;
}

a {
  color: white;
  text-decoration: none;
      display: inline-block; 
}

a:hover {
    color:#64CCC5; 
    background-color: none;
    text-decoration:none; 
    cursor:pointer; 
    text-decoration:none
}

#selectionWrapper {
  display: flex;
  background-color: #053142;
  padding: 20px;
  justify-content: center;
      
}

.fontti{
    font-family: sans-serif;

   
}

.links {
  display: flex;
  gap: 60px;
  font-size: 24px;
}

.links a {
  color: white;
}

.links a:hover {
    color:#64CCC5; 
    background-color: none;
    text-decoration:none; 
    cursor:pointer; 
    text-decoration:none

}

#smallheadWrapper {
  display: flex;
  background-color: #1B5264;
  padding: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.description {
  font-size: 28px;
  color: white;
  margin: 20px;
  max-width: 800px;
}

.face {
  width: 250px;
  height: 250px;
  margin: 20px;
  object-fit: cover;
  border-radius: 8px;
}

#pageWrapper {
    flex-direction: row;
  background-color: #176B87;
  padding: 20px;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.boxTogetherFlex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.downFlex {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.box {
  width: 300px;
  min-height: 300px;
  margin: 20px;
  padding: 20px;
  border: 3px solid black;
  background: linear-gradient(#64CCC5, #E0F5F5);
}

.WorkExp {
  width: 90%;
  max-width: 1000px;
  padding: 20px;
  margin: 40px auto;
  border: 3px solid black;
  background: linear-gradient(#64CCC5, #E0F5F5);
}

h4 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 10px;
}

h2 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 10px;
    margin-top: -10px;
}

p, li {
  font-size: 16px;
  margin: 10px;
    margin-left: -10px;
}

#UnderWrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  background-color: #053142;
  width: 100%;
  padding: 20px;
     margin-bottom: -20px;
}


.Underline {
  color: white;
  font-size: 20px;
         margin-left: auto;
        margin-right: auto;
            margin-bottom: 30px;
    margin-top: 30px;
  align-items: center;
}


/* Responsive Layouts */

/* Small screens */
@media (max-width: 869px) {
  .links {
    flex-direction: row;
    margin-left: auto;
      margin-right: auto;
    font-size: 20px;
  }

  .box,
  .WorkExp {
    width: 70%;
      margin-left: auto;
      margin-right: auto;
      justify-content: center;
   
  }

  .description {
    font-size: 20px;
  }

  .face {
    width: 200px;
    height: 200px;
  }
    
    h4 {
        font-size: 18px;
    }

    
    .Underline {
  color: white;
  font-size: 20px;
         margin-left: auto;
        margin-right: auto;
       text-align: center;
}
}
/* Medium screens */
@media (min-width: 870px) and (max-width: 1536px) {
  .box {
    width: 260px;
  }

  .WorkExp {
    width: 90%;
  }

  .links {
     font-size: 30px;
  }

  .description {
    font-size: 25px;
  }
    
        .Underline {
  font-size: 40px;
}
    
}

/* Large screens */
@media (min-width: 1537px) {
  .box {
    width: 80%;
  }

  .face {
    width: 300px;
    height: 300px;
  }

  .links {
    font-size: 60px;
  }

  .description {
    font-size: 40px;
  }

        .ImageSizes {
 display: block;
  margin: 0 auto;
  max-width: 100%;
            height: 100%;
     margin-left: auto;
        margin-right: auto;
    margin-top: 20px;
}
    
    
    h3, h2{
        
        font-size: 30px;
        margin-left: auto;
        margin-right: auto;
         text-align: center;
      
        
    }
    
    li {
        font-size: 20px;
    }
    
    
.Underline {
  color: white;
  font-size: 45px;
         margin-left: auto;
        margin-right: auto;
            margin-bottom: 30px;
    margin-top: 30px;
  align-items: center;
}

}
