@import url("https://fonts.googleapis.com/css2?family=Tinos:ital,wght@0,400;0,700;1,400;1,700&display=swap");

/* Homepage codes */
#logo {
  width: 250px;
  height: 300px;
  object-fit: cover;
  cursor: zoom-in;
}
.my-image {
  width: 400px;
  height: 400px;
  border-radius: 200px;
  object-fit: cover;
  cursor: zoom-in;
}
.homepage-flexbox {
  display: flex;
  margin-top: 90px;
}
.homepage-text {
  text-align: center;
}

@media screen and (max-width: 480px) {
  #logo {
    display: none;
  }
  .my-image {
    width: 100%;
    height: 100%;
  }
  .homepage-flexbox {
    flex-wrap: wrap-reverse;
    margin-top: 10px;
  }
}
@media screen and (min-width: 481px) and (max-width: 1094px) {
  .homepage-flexbox {
    flex-wrap: wrap-reverse;
    justify-content: center;
    margin-top: 10px;
  }
  #logo {
    display: none;
  }
}

/*About me page codes*/
.aboutme-flexbox {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}
.aboutme-paragraph {
  width: 800px;
  margin-left: 10px;
  margin-right: 10px;
}
.aboutme-flexbox:nth-child(even) {
  flex-direction: row-reverse;
}

@media screen and (max-width: 480px) {
  .aboutme-flexbox {
    flex-wrap: wrap-reverse;
  }
}
@media screen and (min-width: 481px) and (max-width: 880px) {
  .aboutme-flexbox {
    flex-wrap: wrap-reverse;
  }
}

/*Skills page codes */
.skills-flexbox {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}
.skills-flexbox:nth-child(even) {
  flex-direction: row-reverse;
}
.skills-paragraph {
  width: 800px;
  margin-left: 10px;
  margin-right: 10px;
}
@media screen and (max-width: 480px) {
  .skills-flexbox {
    flex-wrap: wrap;
  }
}
@media screen and (min-width: 481px) and (max-width: 880px) {
  .skills-flexbox {
    flex-wrap: wrap;
  }
}

/*projects page codes*/
.project-flexbox {
  display: flex;
  justify-content: center;
}
.project-container {
  border-style: solid;
  border-width: 1px;
  border-color: rgb(64, 9, 75);
  margin-top: 40px;
  width: 500px;
  height: 300px;
  text-align: center;
  margin-right: 30px;
  box-shadow: 0 0 10px 1px rgb(188, 153, 205);
  border-radius: 14px;
  display: grid;
  grid-template-rows: 150px 100px 50px;
}
.project-title {
  font-weight: bold;
  margin-top: 40px;
  font-size: 30px;
}
.project-description {
  margin-top: -32px;
}
.project-a {
  background-color: rgb(103, 92, 167);
  text-decoration: none;
  padding: 12px;
  border-radius: 34px;
  font-weight: bold;
  text-align: center;
  color: white;
  box-shadow: 0 0 10px 1px rgb(131, 77, 131);
}
.project-a:hover {
  opacity: 0.7;
}

@media screen and (max-width: 800px) {
  .project-flexbox {
    flex-wrap: wrap;
  }
  .project-container {
    margin-right: 0;
    width: 100%;
  }
  .project-title {
    margin-top: 20px;
    margin-bottom: 0px;
  }
  .project-description {
    margin-top: -50px;
  }
}
/*Certifications code*/
.cert-link-div {
  justify-self: center;
  margin-top: 50px;
}

.cert-links {
  display: block;
  font-size: 29px;
  margin-bottom: 35px;
  text-decoration: underline;
  color: black;
}
.cert-links:hover {
  color: gray;
}
.cert-badge-image {
  width: 270px;
}
.cert-link_image-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

/* interests page codes*/
.image {
  width: 250px;
  height: 170px;
  object-fit: cover;
}
.image-maths,
.image-hxh,
.image-DN {
  width: 250px;
  height: 170px;
}
.interests-flexbox {
  display: flex;
  justify-content: space-evenly;
}
.img-box,
.img-box-2,
.img-box-3 {
  border-width: 1px;
  border-style: solid;
  height: 170px;
}
.img-box {
  border-color: rgb(16 12 88);
  box-shadow: 0 0 10px 4px rgb(16 12 88);
}
.img-box-2 {
  border-color: rgb(62, 93, 198);
  box-shadow: 0 0 10px 4px rgb(62, 93, 198);
}
.img-box-3 {
  border-color: rgb(19, 81, 117);
  box-shadow: 0 0 10px 4px rgb(17, 106, 117);
}
@media screen and (max-width: 580px) {
  .interests-flexbox {
    flex-wrap: wrap;
  }
  .image,
  .image-maths,
  .image-hxh,
  .image-DN {
    width: 100px;
    height: 70px;
  }
  .img-box,
  .img-box-2,
  .img-box-3 {
    height: 70px;
    margin-bottom: 12px;
  }
  .img-box {
    box-shadow: 0 0 10px 1px rgb(16 12 88);
  }
  .img-box-2 {
    box-shadow: 0 0 10px 1px rgb(62 93 198);
  }
  .img-box-3 {
    box-shadow: 0 0 10px 1px rgb(17 106 117);
  }
}
@media screen and (min-width: 581px) and (max-width: 750px) {
  .interests-flexbox {
    flex-wrap: wrap;
  }

  .image,
  .image-maths,
  .image-hxh,
  .image-DN {
    width: 120px;
    height: 100px;
  }
  .img-box,
  .img-box-2,
  .img-box-3 {
    height: 100px;
    margin-bottom: 12px;
  }
  .img-box {
    box-shadow: 0 0 10px 1px rgb(16 12 88);
  }
  .img-box-2 {
    box-shadow: 0 0 10px 1px rgb(62 93 198);
  }
  .img-box-3 {
    box-shadow: 0 0 10px 1px rgb(17 106 117);
  }
}
@media screen and (min-width: 751px) and (max-width: 1000px) {
  .interests-flexbox {
    flex-wrap: wrap;
  }

  .image,
  .image-maths,
  .image-hxh,
  .image-DN {
    width: 150px;
    height: 100px;
  }
  .img-box,
  .img-box-2,
  .img-box-3 {
    height: 100px;
    margin-bottom: 12px;
  }
  .img-box {
    box-shadow: 0 0 10px 1px rgb(16 12 88);
  }
  .img-box-2 {
    box-shadow: 0 0 10px 1px rgb(62 93 198);
  }
  .img-box-3 {
    box-shadow: 0 0 10px 1px rgb(17 106 117);
  }
}
@media screen and (min-width: 1000px) and (max-width: 1400px) {
  .interests-flexbox {
    flex-wrap: wrap;
  }

  .image,
  .image-maths,
  .image-hxh,
  .image-DN {
    width: 235px;
    height: 160px;
  }
  .img-box,
  .img-box-2,
  .img-box-3 {
    height: 160px;
    margin-bottom: 12px;
  }
  .img-box {
    box-shadow: 0 0 10px 1px rgb(16 12 88);
  }
  .img-box-2 {
    box-shadow: 0 0 10px 1px rgb(62 93 198);
  }
  .img-box-3 {
    box-shadow: 0 0 10px 1px rgb(17 106 117);
  }
}

/*contacts page codes*/
.heading-box {
  text-align: center;
  font-size: 38px;
  font-weight: 700;
  padding: 80px;
  margin-left: -10px;
  margin-right: -10px;
}

.insta,
.facebook,
.discord,
.github {
  width: 40px;
  height: 35px;
  object-fit: cover;
  margin-right: 20px;
}
.social-media-flexbox {
  display: flex;
  margin-top: 30px;
}
.contacts-flexbox {
  display: flex;
  justify-content: center;
  margin-top: -8px;
}
.contacts-container {
  border: 0px black solid;
  box-shadow: 0 0 10px 3px rgb(17, 61, 112);
  width: 420px;
  height: 400px;
  margin-right: 20px;
  background-color: rgb(255, 255, 255);
  padding-left: 10px;
  padding-top: 10px;
}
.contacts-container {
  justify-self: center;
}
.contacts-container > div {
  display: flex;
  align-items: center;
}
.contacts-container > div > h3 {
  margin-right: 10px;
}
.contacts-container a {
  color: blue;
}
.contacts-container label {
  font-weight: 700;
}
.contacts-container .label-space {
  display: inline-block;
  width: 55px;
}
.contacts-container input[type="text"],
[type="tel"],
[type="email"],
[type="number"],
[type="radio"] {
  margin-bottom: 12px;
  padding: 3px;
  border-radius: 5px;
  border: 1px black solid;
}
.contacts-container input[type="email"],
[type="tel"],
[type="text"] {
  width: 200px;
}
.contacts-container input[type="radio"] {
  cursor: pointer;
}
.contacts-container {
  position: relative;
}
.submit-button {
  background-color: lightgreen;
  border: none;
  border-radius: 3px;
  padding: 10px;
  margin-top: 40px;
  position: absolute;
  right: 20px;
  bottom: 30px;
  cursor: pointer;
}
.submit-button:hover {
  opacity: 0.7;
}
.reset-button {
  background-color: tomato;
  border: none;
  border-radius: 3px;
  padding: 10px;
  margin-top: 20px;
  position: absolute;
  bottom: 30px;
  right: 90px;
  cursor: pointer;
}
.reset-button:hover {
  opacity: 0.7;
}
textarea {
  width: 200px;
  height: 110px;
}
.mail-phone:hover {
  background-color: rgb(221, 237, 255);
}

@media screen and (max-width: 875px) {
  .contacts-flexbox {
    flex-wrap: wrap;
    justify-self: center;
  }
  .contacts-container {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .heading-box {
    font-size: 28px;
  }
}
