@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Allura&family=Orbitron:wght@400..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(45deg, rgb(150, 4, 4), rgb(232, 82, 82));
  height: 420dvh;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 150px;
  padding: 0 5%;
  position: relative;
  width: 100%;
  z-index: 100;
}

header h1 {
  font-size: 60px;
  color: white;
}
header .title {
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  transition: 0.4s;
}
header nav {
  display: flex;
  gap: 30px;
}
header nav a {
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 99px;
  transition: 0.4s;
  color: white;
}
header .title {
  background: #692525;
}
header .title:hover {
  background: #a93c3c;
}
header nav a:hover {
  background: #692525;
}
header nav a:hover > a:not(:hover) {
  background: none;
}

@media screen and (max-width: 1024px) {
  header {
    height: 100px;
    padding: 0 3%;
  }

  header h1 {
    font-size: 40px;
  }
  header nav {
    gap: 20px;
  }
  header nav a {
    font-size: 16px;
    padding: 8px 12px;
  }
}

@media screen and (max-width: 768px) {
  header {
    height: 80px;
    padding: 0 2%;
    justify-content: center;
    flex-wrap: wrap;
  }

  header .title {
    font-size: 30px;
    margin-left: 150px;
    margin-right: 150px;
    margin-top: 20px;
    margin-bottom: 40px;
  }
}

.profileHeader {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.profileHeader .about-him {
  display: flex;
  width: 100%;
  justify-content: space-around;
  margin-bottom: 30px;
}
.profileHeader .about-him img {
  width: 200px;
  height: 200px;
  border: 5px solid;
  border-radius: 50%;
}
.profileHeader .about-him h1 {
  margin-top: 80px;
  width: 39%;
  height: 5%;
  text-align: center;
  color: white;
  font-size: 40px;
}
.profileHeader h3 {
  margin-top: 50px;
  margin-bottom: 50px;
  text-align: center;
}
.profileHeader p {
  text-align: center;
  margin-top: 20px;
}
.profileHeader .socialNetworkNavBar {
  margin-top: 40px;
  display: flex;
  justify-content: space-around;
}
.profileHeader .socialNetworkNavBar .socialNetworkNav img {
  border: 3px solid;
  border-radius: 25px;
}

a{
  color:rgb(0, 0, 0);
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .profileHeader {
    margin-top: 100px;
  }
  .profileHeader .about-him img {
    margin-right: 30px;
  }
  .profileHeader .about-him h1{
    top: 50%;
    transform: translate(0, -15%);
  }
}

.contact {
  position: absolute;
  width: 30%;
  top: 125%;
  left: 50%;
  transform: translate(-50%, 0);
  border: 10px solid #611616;
  padding: 2%;
  border-radius: 250px;
  background: rgb(255, 175, 175);;
}

.contact h1 {
  text-align: center;
  margin-bottom: 30px;
}
.contact .info {
  text-align: center;
  margin-bottom: 5px;
}
.contact .info p {
  text-align: center;
  margin-bottom: 10px;
}

.school {
  position: absolute;
  width: 70%;
  top: 180%;
  left: 50%;
  transform: translate(-50%, 0);
  border: 10px solid #611616;
  padding: 2%;
  border-radius: 25px;
  background: rgb(255, 175, 175);;
}

.school h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 40px;
}
.school article {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 5px;
}
.school article .title {
  padding: 2%;
}
.school article .title .left h3 {
  margin-bottom: 5px;
}

.job {
  position: absolute;
  width: 70%;
  top: 310%;
  left: 50%;
  transform: translate(-50%, 0);
  border: 10px solid #611616;
  padding: 2%;
  border-radius: 25px;
  background: rgb(255, 175, 175);;
}

.job h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 40px;
}
.job article {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 5px;
}
.job article .title {
  padding: 2%;
}
.job article .title .left h3 {
  margin-bottom: 5px;
}

.copyright {
  margin-top: 10%;
  position: absolute;
  width: 39%;
  top: 380%;
  left: 50%;
  transform: translate(-50%, 0);
  border: 5px solid #611616;
  padding: 25px;
  border-radius: 25px;
  background: rgb(255, 175, 175);;
  text-align: center;
  font-size: 100%;
}
