html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  height: 100%;
  margin: 0;
  color: #c1c1c1;
  font-family: "M PLUS 1 Code", sans-serif;
  font-weight: 800;
  background-color: #121212;
}

p {
  font-weight: 300;
}
ul {
  background-color: rgb(63, 62, 62);
  box-sizing: border-box;
  list-style-type: none;
  overflow: hidden;
  padding-top: 20px;
  padding-bottom: 20px;
  border-radius: 1%;
}
.home {
  width: 40px;
  background-color: #c1c1c1;
  border: 2px solid #c1c1c1;
  border-radius: 5px;
  padding: 0px;
}
li {
  padding-left: 20px;
  padding-right: 20px;
  list-style-type: none;
  list-style-type: none;
  float: right;
  font-size: 30px;
}
.li {
  float: left;
}

.underline:hover {
  border-bottom: 2px solid #5e7eb1;
  transition: 0.07s;
}
a:hover {
  color: #5e7eb1;
  transition: 0.3s;
}

a {
  color: #c1c1c1;
  background-color: rgba(0, 0, 0, 0);
  text-decoration: rgb(255, 255, 255);
  text-decoration-color: rgb(255, 255, 255);
  transition: 0.3s;
}
#nightModeIcon1 {
  width: 20px;
}
#nightModeIcon2 {
  width: 20px;
}
#nightModeButton {
  border: 0;
  color: white;
  background-color: #5e7eb1;
  border-radius: 25%;
  padding: 7px;
  border: 3px solid #5e7eb1;
  cursor: pointer;
  transition: 0.3s;
}
#nightModeButton:hover {
  border: 3px solid #e9e9e9;
  transition: 0.3s;
}
.profilePicture > img {
  height: 300px;
  width: 300px;
  border-radius: 50%;
}
a {
  position: relative;
}
.containerChild {
  background-color: #2f2f2f;
  border-radius: 10px;
  border: 4px solid #1e1e1e;
  padding-top: 20px;
  transition: 0.3s;
}
.containerChild:hover {
  background-color: #444d67;
  color: #c1c3c9;
  box-shadow: 0 4px 8px 0 rgba(204, 204, 204, 0.2),
    0 6px 20px 0 rgba(194, 194, 194, 0.19);

  transition: 0.3s;
}

.containerChild > a {
  display: block;
  text-align: center;
}
.containerChild > p {
  text-align: center;
  font-size: 16px;
  margin-left: 3%;
  margin-right: 3%;
}
.static {
  position: absolute;
  padding: 10px;
  padding-right: 5px;
  width: 100%;
  height: 500px;
  border-radius: 2%;
  max-width: 95%;
  max-height: 100%;
  height: auto;
  border-radius: 5%;
  z-index: 1;
}
.static:hover {
  opacity: 0;
}

.active {
  padding: 10px;
  padding-right: 5px;
  width: 100%;
  height: 500px;
  border-radius: 2%;
  max-width: 95%;
  max-height: 100%;
  height: auto;
  border-radius: 5%;
}
a > img:hover {
  cursor: pointer;
}

.profileDescs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 44px;
  animation-name: profileAnimation;
  animation-duration: 4s;
}

@keyframes profileAnimation {
  0% {
    color: rgba(255, 255, 255, 0);
  }
  100% {
    color: #c1c1c1;
  }
}

.name {
  animation-name: profileAnimation2;
  animation-duration: 8s;
  animation-fill-mode: forwards;
}
@keyframes profileAnimation2 {
  0% {
    color: rgba(0, 0, 0, 0);
  }
  100% {
    color: rgb(255, 0, 0);
  }
}

.profileDescs > * {
  margin: 0;
  padding-left: 10px;
}

#projects > h2 {
  font-size: 30px;
  margin-left: 7%;
}

.dash {
  animation-name: profileAnimation3;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}
@keyframes profileAnimation3 {
  0% {
    color: rgba(0, 0, 0, 0);
  }
  100% {
    color: rgb(255, 0, 0);
  }
}
.navBar {
  position: fixed;
  top: 0;
  width: 100%;
  margin-top: 0;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  z-index: 2;
  color: #c1c1c1;

  padding-bottom: 6px;
  padding-top: 8px;
}

#introduction {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 40px;
  margin-top: 16%;
  margin-bottom: 16%;
}
#projects {
  margin-top: 10%;
  margin-left: 4%;
  margin-right: 4%;
}
.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  grid-gap: 100px;
  margin-left: 7%;
  margin-right: 7%;
}

#contact {
  display: flex;
  justify-content: space-around;
  margin-top: 10%;
}

#about {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 30px;
  margin-top: 10%;
  margin-bottom: 10%;
  text-align: center;
}
.socials {
  width: 70px;
  height: 70px;
  background-color: #c1c1c1;
  border-radius: 25%;
  margin-left: 6px;
  margin-right: 6px;
  padding: 0;
  transition: 0.3s;
}
.socialHeader {
  color: #5e7eb1;
}
.socials:hover {
  background-color: #5e7eb1;
  transition: 0.3s;
}
.description {
  margin: 5%;
  text-align: justify;
}

#contact {
  text-align: center;
  margin-bottom: 7%;
}
iframe {
  height: 100vh;
}
.colorful {
  background-image: linear-gradient(270deg, #ff0000, #0035ff, #19ff00, #ff00f9);
  background-size: 800% 800%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;

  -webkit-animation: AnimationName 9s ease infinite;
  -moz-animation: AnimationName 9s ease infinite;
  animation: AnimationName 9s ease infinite;
}

@-webkit-keyframes AnimationName {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 51%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@-moz-keyframes AnimationName {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 51%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes AnimationName {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 51%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media only screen and (max-width: 810px) {
  .profileDescs {
    margin: 3%;
    text-align: center;
  }
  .li {
    float: none;
  }
  li {
    float: none;
  }
  .navBar {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 0px;
  }

  #introduction {
    flex-direction: column;
    align-items: center;
  }
  .container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-gap: 20px;
  }
  #contact {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .profilePicture > img {
    width: 200px;
    height: 200px;
    border-radius: 19%;
  }
  #nightModeButton {
    margin-top: 10px;
  }
  #about {
  }
  .description {
    font-size: 24px;
    margin: 2%;
    text-align: center;
  }
}
/* dark mode classes */
.dark-mode {
  background-color: rgb(255, 255, 255);
  color: #1e2740;
  transition: 0.3s;
}
.dark-mode2 {
  border-color: white;
  background-color: rgb(255, 255, 255);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  transition: 0.3s;
}
.dark-mode2:hover {
  color: black;
  border-color: white;
  background-color: white;
  box-shadow: 0 4px 50px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  transition: 0.3s;
}
.dark-mode3 {
  background-color: white;
  transition: 0.3s;
}
.dark-mode3:hover {
  background-color: lightsteelblue;
  transition: 0.3s;
}
.dark-mode4 {
  color: #1e2740;
}

.dark-mode5 {
  background-color: rgb(176, 196, 222);
  transition: 0.3s;
}
.dark-mode6 {
  color: #528cd6;
}
.dark-mode7 {
  background-color: #b0c4de;
  border-color: #b0c4de;
}
