.deconstructed {
  position: relative;
  margin: auto;
  height: 0.71em;
  color: transparent;
  font-family: 'Cambay', sans-serif;
  font-size: 5vw;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: hidden;
  min-height: 10vh;
  background-color: white;
  overflow: hidden;
}

.deconstructed > div {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: #0e104a;
  pointer-events: none;
}

.deconstructed > div:nth-child(1) {
  -webkit-mask-image: linear-gradient(black 25%, transparent 25%);
  mask-image: linear-gradient(black 25%, transparent 25%);
  animation: deconstructed1 5s infinite;
}

.deconstructed > div:nth-child(2) {
  -webkit-mask-image: linear-gradient(transparent 25%, black 25%, black 50%, transparent 50%);
  mask-image: linear-gradient(transparent 25%, black 25%, black 50%, transparent 50%);
  animation: deconstructed2 5s infinite;
}

.deconstructed > div:nth-child(3) {
   -webkit-mask-image: linear-gradient(transparent 50%, black 50%, black 75%, transparent 75%);
  mask-image: linear-gradient(transparent 50%, black 50%, black 75%, transparent 75%);
  animation: deconstructed3 5s infinite;
}

.deconstructed > div:nth-child(4) {
   -webkit-mask-image: linear-gradient(transparent 75%, black 75%);
  mask-image: linear-gradient(transparent 75%, black 75%);
  animation: deconstructed4 5s infinite;
}

@keyframes deconstructed1 {
  0% {
    transform: translateX(100%);
  }
  26% {
    transform: translateX(0%);
  }
  83% {
    transform: translateX(-0.1%);
  }
  100% {
    transform: translateX(-120%);
  }
}

@keyframes deconstructed2 {
  0% {
    transform: translateX(100%);
  }
  24% {
    transform: translateX(0.5%);
  }
  82% {
    transform: translateX(-0.2%);
  }
  100% {
    transform: translateX(-125%);
  }
}

@keyframes deconstructed3 {
  0% {
    transform: translateX(100%);
  }
  22% {
    transform: translateX(0%);
  }
  81% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-130%);
  }
}

@keyframes deconstructed4 {
  0% {
    transform: translateX(100%);
  }
  20% {
    transform: translateX(0%);
  }
  80% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-135%);
  }
}

.topnav {
  background-color: #0e104a;
  overflow: hidden;
}

.topnav a {
  float: left;
  color: white;
  font: Helvetica;
  text-align: center;
  text-decoration: none;
  padding: 14px 16px;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #676be0;
  color: white;
}

.topnav a.active {
  background-color: #676be0;
  color: white;
}

.parallax {
    background-image: url("https://codehs.com/uploads/456f156e7df512f975f40d753ae74fc0");
    height: 1200px;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center top;

}


#textphoto {
    text-align: center;
    font-size: 80px;
    color: white;
    font-family: Arial;
    padding-top: 500px;
}

.curvedTextBox {
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  background-color: white;
  width: 40%;
  height: 200px;
  border: 1px solid #000;
  border-radius: 10px; /* adjust this value to control the amount of curve */
  padding: 10px;
  box-sizing: border-box;
}

.curvedTextBox h1 {
  font-size: 80px;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  font-family: Verdana;
}








#background {
    width: 100%;
    height: 300px;
    background-color: #0e104a;
}

.imageGallery {
    margin-top: 100px;
    display: flex;
    align-items: center;
}

.imageGallery img{
    float: left;
    transition-duration: 2s;
    margin-left: 50%;
    display: block;
    height: 500px;
    width: auto;
    border: inset;
    border-color: #0e104a;
    border-width: 30px;
}





#img1:hover {
    filter: grayscale(100%)
}

#img2:hover {
    transform: rotate3d(90, 50, 20, 90deg);
}

#img3:hover {
    animation-name: bounce;
    animation-duration: 2s;
    animation-timing-function: ease;
}
@keyframes bounce {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-50px); }
  100% { transform: translateY(0); }
}

#desc {
    text-align: center;
    padding-top: 35px;
}

#footer-title {
    color: white;
    background-color: #0e104a;
    font-family: Arial;
}
#gmail {
    color: #0e104a;
    font-family :Arial;
    text-align: center;
}
#htmlcss {
    color: #0e104a;
    background-color: white;
    font-family: Arial;
    text-align: center;
}
#w3school {
    color: #0e104a;
    font-family: Arial;
    text-align: center;
}

.column {
  float: left;
  width: 33%;
}
.column2 {
  float: left;
  width: 16.6%;
}
.row::after {
  content: "";
  clear: both;
  display: table;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}