* {
  box-sizing: border-box;
}

head {
<link rel="preload" as="image" href="../IMG/Wall1.png">

}

#pageWrapper {

  padding: 20px;
  margin: 0; 
  font-family: sans-serif;
  background-image: url("../IMG/Wall1.png");
  background-size: cover;
  background-repeat: no-repeat;      /* Prevents tiling */
  background-position: center;       /* Keeps it centered */
  background-color: #222;            /* Fallback background */
  min-height: 100vh;
}

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: #222;            

}

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

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

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
    width: 100%;  
  margin: 0 auto; /* centers it */
    margin-top: 10px;
    margin-bottom: 10px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;     /* MUST be 100% to scale */
  height: 100%;    /* MUST be 100% to scale */
  border: 0;
}



#selectionWrapper {
  display: flex;
      flex-direction: row;
  background-color: #1A0029;
  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;
}



.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(#B80000, #430070);
             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: #1A0029;
  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;
}

.gif-wrapper{
    display: flex;
      flex-direction: column;
    margin-left: 10px;
      margin-right 10px;
   
}





/* 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: 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;
}
    
    .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;
             margin-bottom: 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;
    }
    
    
    .gif-wrapper{
    display: flex;
      flex-direction: row;
    margin-left: 10px;
      margin-right 10px;
        margin-bottom: 50px;
   
}

}
