body {
  display: flex;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  font-family: "Oswald", sans-serif;
  align-content: center;
  overflow: hidden;
  background: rgb(0, 0, 0);
  flex-wrap: wrap;
  overflow-x: hidden;
}

.arrow-container {
  display: flex;
  position: relative;
  width: 100%;
  align-items: center;
  justify-content: center;
  height: 50px;
  background-color: #00000011;
}

.card3d {
  margin: 10px;
  transform: scale(1);
  perspective: 600px;
}

.card3d img:hover {
  border-radius: 25px;
  cursor: pointer;
}

.cardglow1:hover {
  box-shadow: 0 0px 20px rgb(255, 204, 0);
}

.cardglow2:hover {
  box-shadow: 0 0px 30px 5px rgb(128, 90, 116);
}

.card3d:hover {
  z-index: 10;
  transform: scale(1.2);
}

  .card3d,
  .card3d img {
    transition: all 350ms ease-out;
  }

.modal {
  transition: all 300ms ease-out;
}

canvas {
  position: absolute;
  z-index: 0;
  box-sizing: border-box;
  border: 1px solid black;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  top: 0;
  left: 0;
  filter: blur(3px);
}

.black-div {
  background-color: rgba(0, 0, 0, 0.404);
  position: fixed;
  top: 0;
  padding-left: 30px;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
}

.avatar {
  border-radius: 50%;
}

h1 {
  color: white;
  font-size: 40px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin: 30px;
}

.gallery {
  width: 100vw;
  padding: 100px;
  display: flex;
  overflow: scroll;
  z-index: 0;
}

.gallery div {
  width: 25%;
  display: grid;
  grid-template-columns: auto auto auto;
  padding: 10px;
}

.gallery-wrap {
  display: flex;
  align-items: center;
  padding-left: 100px;
  justify-content: center;
}

.animation {
  height: 50px;
  overflow: hidden;
  color: #ffffff;
  font-size: 33px;
  vertical-align: middle;
  text-transform: uppercase;
  text-shadow: 0 0 7px rgba(255, 255, 255, 0.3), 0 0 3px rgba(255, 255, 255, 0.3);
}

.animation > div > div {
  height: 50px;
  margin-bottom: 50px;
  padding-left: 10px;
  padding-right: 10px;
  display: inline-block;
}

.animation div:first-child {
  animation: text-animation 10s infinite;
}

.first div {
  background-color: #d82c20;
}
.second div {
  background-color: #8c338f;
}
.third div {
  background-color: #0576c1;
}

@keyframes text-animation {
  0% {
    margin-top: 0;
  }
  10% {
    margin-top: 0;
  }
  20% {
    margin-top: -100px;
  }
  30% {
    margin-top: -100px;
  }
  40% {
    margin-top: -200px;
  }
  60% {
    margin-top: -200px;
  }
  70% {
    margin-top: -100px;
  }
  80% {
    margin-top: -100px;
  }
  90% {
    margin-top: 0;
  }
  100% {
    margin-top: 0;
  }
}

@keyframes modal-appear {
  from { opacity: 0; }
  to   { opacity: 1; }
} 
/* SCROLLBAR */

::-webkit-scrollbar {
  width: 110px;
  height: 30px;
  background-color: #00000033;
}

#project-gallery::-webkit-scrollbar {
  width: 110px;
  height: 10px;
  background-color: #00000033;
}

/* Track */
::-webkit-scrollbar-track {
  display: none;
}

/* Handle */
::-webkit-scrollbar-thumb {
  border: 1px solid rgba(41, 41, 41, 0);
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  margin-left: 4px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

::-webkit-scrollbar-corner {
  display: none;
}

/* MODAL */

/* The Modal (background) */
.modal {
  position: fixed; /* Stay in place */
  z-index: 100; /* Sit on top */
  left: 0;
  display: none;
  opacity: 1;
  animation: modal-appear 0.5s;
  top: 0;
  width: 100vw; /* Full width */
  height: 100vh; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #394757;
  margin: 5% auto;
  padding: 20px;
  border: 6px solid #4e5e70;
  width: 80vw;
  height: 74vh;
}

/* Modal Content/Box */
.modal-about {
  background-color: #394757;
  margin: 5% auto;
  padding: 20px;
  border: 6px solid #4e5e70;
  width: 40vw;
  height: 74vh;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  margin-top: -30px;
  font-size: 50px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.icon {
  width: 30px;
  height: 30px;
  margin-right: 15px;
  opacity: 0.5;
}

/* FORM MODAL */

#description {
  background-color: #2d3844;
  display: inline-block;
  border: 3px solid #4e5e70;
  margin-top: 10px;
  margin-left: 15px;
  margin-right: 15px;
  padding: 10px;
  vertical-align: top;
  width: 52%;
  height: 58%;
}

#preview {
  display: inline-block;
}

.specs {
  display: inline-block;
  vertical-align: top;
  width: 22%;
  height: 60%;
}

#project-gallery {
  align-content: center;
  display: flex;
  align-items: center;
  margin-left: 10px;
  width: 100%;
  height: 24%;
  overflow-x: auto;
  overflow-y: hidden;
}

#project-title {
  color: white;
  font-size: 45px;
  margin-left: 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
  color: rgb(163, 171, 180);
  font-size: 29px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.modal-text {
  color: white;
  font-size: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 1);
}

.about-text {
  color: white;
  font-size: 23px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 1);
}


.thumbnail {
  height: 140px;
  width: auto;
  margin-right: 10px;
  border-style: solid;
  border-radius: 10px;
  border-color: #0c1e2b;
}

.videothumbnail {
  height: 140px;
  width: auto;
  background-color: #0c0c0c;
  margin-right: 10px;
  border-style: solid;
  border-radius: 10px;
  border-color: #0c1e2b;
}

hr {
  height: 0;
  border: 0;
  margin: 7px;
  border-top: 1px solid #4f6277;
}
b,
strong {
  color: rgb(94, 143, 173);
}

a:link {
  color: #0576c1;
}

a:visited {
  color: #0576c1;
}

a:hover {
  color: #23a7ff;
}

a:active {
  color: #0576c1;
}

#about-me {
  position: fixed;
  right: 0;
  margin-right: 40px;
}

.icon-about {
  width: 40 px;
  height: 40px;
  transition: all 150ms ease-out;
  margin-right: 8px;
}

.icon-about:hover{
  box-shadow: 0 0px 15px 5px rgba(0, 0, 0, 0.5);
  border-radius: 25px;
}