* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: 0.3s ease;
  scroll-behavior: smooth;
}

body{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.about {
  padding: 30px;
  width: 100%;
  height: 80vh;
  background: linear-gradient(to bottom, #020213fb, #020213, #04309f);
  display: flex;
  align-items: center;
}

.prof {
  /* margin-top: 25%; */
  width: 40%;
  height: 90%;
  color: #fff;
  padding-top: 320px;
  font-size: 36px;
  border-radius: 12px;
  text-align: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)),
    url(./prof.jpg);
  background-size: cover;
  background-position: center;
  /* margin-left: 30%; */
  /* box-shadow: 2px 2px 6px #333; */
}

.about-me {
  width: 48%;
  border-radius: 0 12px 12px 0;
  height: 75%;
  padding: 20px;
  color: #fff;
  /* background-color: #020213; */
  background:  linear-gradient(to top, #04309f, #04309f, #020213, #020213);
  /* box-shadow: 2px 2px 6px #333; */
}

.about-me h1 {
  font-size: 50px;
  margin-bottom: 10px;
}

.about-me p {
  font-size: 24px;
}

.icons {
  margin-top: 5%;
  text-align: right;
  position: relative;
}

.icons span{
  font-size: 22px;
  display: flex;
  gap: 10px;
  align-items: flex-end;
  position: absolute;
  right: 10px;
  color: #fff;
}

.icons span a{
  color: #fff;
}

.projects {
  width: 100%;
  height: 110vh;
  background: linear-gradient(180deg, #04309f, #020213, #020213);
  padding: 40px;
  display: flex;
  color: #fff;
  flex-direction: column;
}

.projects h2 {
  margin-left: 120px;
  margin-bottom: 30px;
}

.myprojs {
  width: 100%;
  height: 90%;
  display: flex;
  flex-wrap: wrap;
  /* align-items: center; */
  justify-content: center;
  gap: 20px 70px;
}

.project {
  background-color: #04309f;
  background-color: transparent;
  width: 23%;
  height: 50%;
  /* box-shadow: 2px 2px 6px #333; */
  border: 4px solid #04309f;
  border-radius: 7px;
  position: relative;
}

.project-img {
  width: 100%;
  border-radius: 7px 7px 0 0;
  height: 70%;
  background-color: #75696b;
  text-decoration: none;
  border-bottom: 1px solid #04309f;
}

.project-img img {
  width: 100%;
  height: 100%;
  border-radius: 7px 7px 0 0;
}

.project h4 {
  color: #fff;
  display: flex;
  align-items: center;
  padding: 3px;
  font-weight: 300;
  justify-content: space-between;
  font-size: 20px;
}

.project h4 a {
  text-decoration: none;
  color: #fff;
}

.project h4 span{
  display: flex;
  gap: 10px;
}
.project p {
  color: #f2f2f2;
  padding: 5px;
}

footer {
  width: 100%;
  height: 60vh;
  /* background-color: #04309f; */
  background: linear-gradient(
    to top,
    #04309f,
    #020213,
    #020213,
    #020213
  );
  display: flex;
  padding: 20px;
}

.left {
  width: 45%;
  padding: 20px;
  color: #fff;
  /* background-color: red; */
}

.left h2 {
  font-size: 34px;
  padding: 10px 0;
}

.please {
  width: 45%;
  margin-bottom: 20px;
}

.address {
  margin-bottom: 20px;
}

.links {
  font-size: 24px;
  padding: 10px 0;
}
.links span{
  display: flex;
  gap: 10px;
}
.links span a{
  color: #fff;
}
.contacts a{
    text-decoration: none;
    color: #fff;
}

.right {
  width: 45%;
  height: 100%;
  background: url(./prof.jpg);
  background-size: cover;
  background-position: center;
  border-radius: 12px;
}

@media (max-width: 1156px) {
  .about {
    height: max-content;
    flex-direction: column;
  }

  .icons {
    margin-top: 10px;
  }

  .prof {
    width: 60%;
    height: 350px;
    border-radius: 12px 12px 0 0;
    padding-top: 280px;
    font-size: 30px;
  }
  .about-me {
    width: 60%;
    height: 360px;
    border-radius: 0 0 12px 12px;
  }

  .about-me h1{
    font-size: 36px;
  }
  .projects {
    height: max-content;
    padding: 20px;
  }

  .projects h2 {
    text-align: center;
    margin-left: 10px;
    margin-bottom: 2px;
  }
  .myprojs {
    margin-top: 30px;
  }
  .project {
    width: 35%;
    height: 300px;
  }
  footer {
    height: max-content;
  }

  .left {
    height: 350px;
  }

  .right {
    margin-top: 40px;
    width: 56%;
    height: 280px;
  }
}

@media (max-width: 696px) {
  .about {
    padding: 30px 0;
  }
  .prof {
    height: 300px;
    width: 90%;
    padding-top: 200px;
  }
  .about-me {
    width: 90%;
    padding: 7px;
    height: 250px;
  }

  .about-me p {
    font-size: 15px;
  }

  .project {
    width: 90%;
    padding: 0;
  }

  .project h4 {
    font-size: 17px;
  }

  footer {
    padding: 10px;
    flex-direction: column;
  }

  .left {
    width: 96%;
    height: max-content;
  }

  .left h2 {
    font-size: 24px;
  }

  .right {
    width: 95%;
    height: 300px;
  }
  .please {
    width: 90%;
  }
}

@media (max-width: 310px) {
  .project {
    padding: 0;
    width: 99%;
    height: max-content;
  }

  .project-img {
    width: 100%;
    height: 200px;
  }

  .project p {
    font-size: 15px;
  }
}
