* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto; /* Only allow vertical scroll on body */
  height: 100%;
}


body {
 

  font-family: sans-serif;
    
  background-color: #00076c;           

}

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;
      flex-direction: row;
  background-color: #050A42;
  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;
  padding: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.description {
  font-size: 60px;
  color: white;
  margin: 20px;
  max-width: 800px;
    font-weight: bold;
     text-align: center;
}

.face {
  width: 250px;
  height: 250px;
  margin: 20px;
  object-fit: cover;
  border-radius: 8px;
}

#pageWrapper {

 
  padding: 20px;
    
      margin: 0; 
  background-color: #430070;
  font-family: sans-serif;
    
  background-image: url("../IMG/BGwater.gif");

    background-size: cover;
  background-repeat: no-repeat;      /* Prevents tiling */
  background-position: center;       /* Keeps it centered */
  background-color: #222;            /* Fallback background */
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.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: auto;
       margin-left: 20px;
       margin-right: 20px;
  min-height: 300px;
  margin: 20px;
  padding: 20px;
  border: 3px solid black;
      background: linear-gradient(#2722C3, #008C3A);
             margin-left: auto;
        margin-right: auto;
}

.doomedVR {
    
      background: linear-gradient(#430070, #B80000);
             margin-left: auto;
        margin-right: auto;
    
}

.projectlink {
    
      font-size: 40px;
  text-align: center;
  margin-bottom: 10px;
    margin-top: 10px;
     font-weight: bold;
}


h3 {
  
   color: white; 
}

h2 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 10px;
    margin-top: 10px;
    color: white;
}

p, li {
  font-size: 16px;
  margin: 10px;
    margin-left: -10px;
}

#UnderWrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  background-color: #050A42;
  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;
}


.ImageSizes {
 display: block;
  margin: 0 auto;
 
  max-width: 100%;
  height: auto;

  height: auto;
      margin-bottom: 20px;
    margin-top: 20px;
}


    .center-widget {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
        
  }




/* Responsive Layouts */

/* Small screens */
@media (max-width: 869px) {
  .links {
    flex-direction: row;
    margin-left: auto;
      margin-right auto;
    font-size: 20px;
  }

  .box,
  .WorkExp {
    width: 90%;
      margin-left: auto;
      margin-right: auto;
      justify-content: center;
   
  }

  .description {
    font-size: 40px;
  }

  .face {
    width: 200px;
    height: 200px;
  }
    
    h4 {
        font-size: 18px;
    }

    
    .Underline {
  color: white;
  font-size: 20px;
         margin-left: auto;
        margin-right: auto;
       text-align: center;
}
    
    .ImageSizes {
 display: block;
  margin: 0 auto;
  width: 400px;
  height: auto;
     margin-left: auto;
        margin-right: auto;
    margin-top: 20px;
}

    
}



/* Medium screens */
@media (min-width: 870px) and (max-width: 1536px) {
  .box {
    width: auto;
      margin-left: 100px;
       margin-right: 100px;
  }

  .WorkExp {
    width: 90%;
  }

  .links {
      font-size: 30px;
  }

  .description {
    font-size: 60px;
  }
    
    
        .Underline {
  font-size: 40px;
}
}

/* Large screens */
@media (min-width: 1537px) {
  .box {
    width: auto;
       margin-left: 200px;
       margin-right: 200px;
  }

  .face {
    width: 300px;
    height: 300px;
  }

  .links {
    font-size: 60px;
  }

  .description {
    font-size: 60px;
  }
    
        .ImageSizes {
 display: block;
  margin: 0 auto;
  max-width: 100%;
            height: 100%;
     margin-left: auto;
        margin-right: auto;
    margin-top: 20px;
}

    
    .Underline {
  color: white;
  font-size: 45px;
         margin-left: auto;
        margin-right: auto;
            margin-bottom: 30px;
    margin-top: 30px;
  align-items: center;
}
    
    h2 {
        font-size:  40px;
    }

}
