html {
  height: 100%;
  min-height: 100%;
}

body {
  font-family: "Nanum Gothic Coding", monospace;
  background-color: floralwhite;
  margin: 0;
  height: 100%;
  min-height: 100%;
}

a {
  text-decoration: none;
}

h1,
h2,
h3,
span,
p {
  text-align: center;
  padding: 0px;
  margin: 0px;
}

h1 {
  color: mediumpurple;
}

.title {
  width: 70%;
  max-width: 800px;
  margin: auto;
  padding: 20px 0;
  border-top: solid 1px mediumpurple;
  border-bottom: solid 1px mediumpurple;
}

.title__h1 {
  margin: 20px 0;
}
.explain {
  color: lightpink;
  margin: 20px;
}

h3,
span {
  color: white;
  margin: 10px 0px;
}

.projects {
  width: 80%;
  min-height: 200px;
  max-width: 2000px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: all var(--anmation-duration) ease-out;
  margin: 40px auto;
}

.project {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30%;
  max-width: 600px;
  min-width: 300px;
  margin: 5px;
  background-color: var(--color-light-white);
  border-radius: 10px;
  box-shadow: 0px 1px 7px 2px rgba(78, 51, 51, 0.445);
}

.project__img {
  border-radius: 10px;
  width: 100%;
  height: 100%;
}

.project__title {
  position: absolute;
  background-color: palevioletred;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: all 260ms ease-in;
}

.project:hover .project__title {
  opacity: 0.8;
  transform: translateY(0px);
}

#contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 120px;
  background-color: lightpink;
}

.contact__rights {
  color: palevioletred;
  padding: 10px 0;
  font-size: 10px;
}

.contact__title {
  color: white;
  padding: 10px 0;
}

.contact__links {
  display: flex;
  justify-content: center;
  align-items: center;
  color: mediumpurple;
  font-size: 12px;
  transition: all 120ms ease-in;
  padding: 10px 0;
}
.contact__links i {
  color: mediumpurple;
  padding-left: 10px;
  font-size: 20px;
}

.contact__links i:hover {
  transform: scale(1.1);
  color: var(--color-yellow);
}

/* For below 768px screen width */
@media screen and (max-width: 768px) {
  .projects {
    width: 100%;
    margin: 40px 0px;
    padding: 0px;
  }
  .project {
    width: 100%;
    max-width: 1000px;
    margin: 2px 0px;
    border-radius: 0px;
  }
  .project__img {
    border-radius: 0px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1980px) {
  .project__container {
    margin: 10px 0px;
    overflow: auto;
    display: flex;
    align-items: center;
    width: 100%;
    height: 67.2%;
  }
}
