*,
*::before,
*::after {
  box-sizing: border-box;
}

main,
footer {
  font-family: "Source Sans 3", sans-serif;
}

body {
  background: rgb(112, 112, 112);
  background: linear-gradient(
    90deg,
    rgba(112, 112, 112, 1) 0%,
    rgba(68, 57, 57, 1) 60%,
    rgba(43, 23, 23, 1) 100%
  );
  margin: 0;
}

main.main-container {
  display: flex;
  flex-direction: column;
}

main.main-container .top {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

main.main-container .top .rezex {
  max-width: 145px;
  width: 100%;
  height: auto;
}

main.main-container .top .me {
  max-width: 205px;
  width: 100%;
  height: auto;
  margin-top: -55px;
}

main.main-container .top h1 {
  font-size: 22px;
  margin-top: -25px;
  font-weight: 500;
  color: white;
}

main.main-container .top p {
  margin-top: -5px;
  color: white;
  font-size: 18px;
  font-weight: 300;
}

main.main-container .bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

main.main-container .bottom .link-personal {
  margin-top: 10px;
  transition: 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-content: center;
  gap: 0.5rem;
}

main.main-container .bottom .link-personal a {
  text-decoration: none;
  color: black;
  background-color: white;
  box-shadow: 0 3.5px 3px rgb(32, 27, 27);
  border-radius: 25px;
  padding: 10px 10px;
  transition: all 0.2s ease-in-out;
  width: 365px;
  text-align: center;
}

main.main-container .bottom .link-personal a:hover {
  transform: scale(1.03);
  transition: all 0.2s ease-in-out;
}

main.main-container .bottom .social-media {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.social-media img:hover {
  transform: scale(1.05);
  transition: all 0.2s ease-in-out;
}

.social-media:hover > img:not(:hover) {
  filter: blur(7.5px);
  transition: all 0.2s ease-in-out;
  transform: scale(0.9);
}

main.main-container .bottom .social-media .facebook img {
  width: 35px;
  transition: all 0.2s ease-in-out;
}



main.main-container .bottom .social-media .instagram img {
  width: 35px;
  transition: all 0.2s ease-in-out;
}



main.main-container .bottom .social-media .github img {
  width: 35px;
  transition: all 0.2s ease-in-out;
}



main.main-container .bottom .social-media .email img {
  width: 35px;
  transition: all 0.2s ease-in-out;
}



main.main-container .bottom .social-media .linkedin img {
  width: 35px;
  transition: all 0.2s ease-in-out;
}

.alert {
  padding: 20px;
  background-color: #f44336;
  color: white;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  z-index: 9999;
  flex-direction: row-reverse;
  align-items: center;
  transition: 0.5s;
  bottom: 0;
  height: 50px;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.alert a {
  background-color: #f44336;
  color: white;
  border: solid 1px white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 10px;
  padding: 10px 20px;
  text-decoration: none;
  font-family: "Source Sans 3", sans-serif;
}

.alert a:hover {
  background-color: white;
  color: #f44336;
  transition: 0.3s;
}

main.main-container .bottom .social-media .youtube img {
  width: 35px;
  transition: all 0.2s ease-in-out;
}


main.main-container .bottom .social-media .whatsapp img {
  width: 35px;
  transition: all 0.2s ease-in-out;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(255, 255, 255);
  width: 100%;
  border-top: 1px solid black;
  margin-top: 45px;
}

footer div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20rem;
}

/*.alert {
  padding: 15px;
  background-color: #383737;
  color: white;
  position: fixed;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  align-content: center;
  width: 100%;
  max-width: 1980px;
  font-family: "Source Sans 3", sans-serif;
}*/

.close {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  justify-self: flex-end;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

@media screen and (max-width: 769px) {
  main.main-container .top h1 {
    font-size: 18.5px;
  }
  main.main-container .top p {
    font-size: 15.5px;
  }
  main.main-container .bottom .link-personal a {
    padding: 10px 95px;
    font-size: 85%;
  }
  main.main-container .bottom .social-media .facebook img {
    width: 30px;
  }
  main.main-container .bottom .social-media .instagram img {
    width: 30px;
  }
  main.main-container .bottom .social-media .github img {
    width: 30px;
  }
  main.main-container .bottom .social-media .email img {
    width: 30px;
  }
  main.main-container .bottom .social-media .linkedin img {
    width: 30px;
  }
  main.main-container .bottom .social-media .youtube img {
    width: 30px;
  }
  main.main-container .bottom .social-media .whatsapp img {
    width: 30px;
  }
  footer div p {
    font-size: 85%;
  }
  .alert {
    max-width: 769px;
    width: 100%;
  }
}

@media screen and (max-width: 426px) {
  footer div {
    gap: 5rem;
  }
  footer div p {
    font-size: 70%;
  }
  .alert {
    font-size: 90%;
  }
  main.main-container .bottom .link-personal a {
    width: 325px;
    font-size: 12px;
  }
}

@media screen and (max-width: 376px) {
  main.main-container .bottom .link-personal a {
    padding: 10px 65px;
    font-size: 75%;
  }
}

@media screen and (max-width: 321px) {
  footer div {
    display: flex;
    flex-direction: column-reverse;
    gap: 0;
  }
  footer div .copy {
    margin-top: -10px;
  }
  main.main-container .bottom .link-personal a {
    padding: 10px 55px;
    font-size: 75%;
  }
  main.main-container .top h1 {
    font-size: 16px;
  }
  main.main-container .top p {
    font-size: 14px;
  }
  main.main-container .bottom .social-media .facebook img {
    width: 25px;
  }
  main.main-container .bottom .social-media .instagram img {
    width: 25px;
  }
  main.main-container .bottom .social-media .github img {
    width: 25px;
  }
  main.main-container .bottom .social-media .email img {
    width: 25px;
  }
  main.main-container .bottom .social-media .linkedin img {
    width: 25px;
  }
  main.main-container .bottom .social-media .youtube img {
    width: 25px;
  }
  main.main-container .bottom .social-media .whatsapp img {
    width: 25px;
  }
  main.main-container .bottom .link-personal a {
    font-size: 10px;
    width: 300px;
  }
}
