* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  box-sizing: border-box;
  list-style: none;
  border: none;
  box-shadow: none;
  outline: none;
}
:root {
  --bg-color: hsl(240, 50%, 90%);
  --second-bg-color: hsl(white);
  --main-color: hsl(210, 100%, 46%);
  --text-color: hsl(240, 50%, 10%);
}
body {
  background-color: var(--bg-color);
}
#logo1 {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 10px 3%;
  font-size: 25px;
  margin-top: -5%;
  align-items: center;
  background-color: white;
  z-index: 100;
}
.logo {
  display: flex;
  justify-content: space-between;
}
.logo h1 {
  font-family: sans-serif;
  letter-spacing: -2px;
}

.logo a i {
  font-size: 30px;
  padding: 10px;
  border-radius: 50%;
  color: var(--text-color);
  transition: background-color 0.3s;
}
.logo a i:hover {
  color: hsl(210, 100%, 60%);
}
#section-sidemenu {
  position: fixed;
  top: 80px;
  right: 0;
  width: 270px;
  height: calc(100vh - 1px);
  background-color: white;
  display: none;
  overflow-y: auto;
  margin-top: -2%;
  padding: 20px;
  transition: right 0.3s ease;
  z-index: 99;
}
.infomenu {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5%;
  padding: 10px;
  border: none;
}
.infomenu a {
  color: blue;
  font-size: 25px;
}
#infobtn:hover {
  color: black;
}
#sidemenubtn:hover {
  color: black;
}
#sidemenu a {
  display: block;
  font-size: 30px;
  font-weight: bold;
  color: var(--text-color);
  margin: 15% 1px;
  padding-left: 5%;
}
#sidemenu a:hover {
  color: hsl(240, 50%, 60%);
}
#infocontainer {
  margin: 5%;
}
#infocontainer p {
  margin-top: 5%;
  padding-bottom: 10%;
}
#infocontainer a {
  padding: 10px 20px;
  background-color: var(--main-color);
  color: white;
  align-items: center;
  text-align: center;
  border-radius: 10px;
}
#infocontainer h1 {
  margin-top: 10%;
}
.contact-info p i {
  margin-right: 10%;
}
@media (min-width: 1050px) {
  #section-sidemenu {
    width: 500px;
    background: white;
    height: 100%;
  }
}
.home {
  padding: 100px 5% 5% 5%;
  margin: 5% 0% 0% 0%;
  background-color: hsl(240, 50%, 95%);
}
.myname {
  white-space: nowrap;
  overflow: hidden;
  display: inline-flex;
  z-index: 5;
  border-right: 2px solid black;
  animation: typing 4s steps(20) forwards, blink 0.7s step-end infinite;
}

@keyframes typing {
  from {
    width: 0ch;
  }
  to {
    width: 8ch;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}
.home h1 {
  padding-top: 5%;
  font-size: 30px;
  margin-bottom: 5%;
  display: inline-block;
}
.home p {
  font-size: 17px;
  margin-bottom: 10px;
}
.homespan {
  color: var(--main-color);
  font-size: 25px;
  font-family: "Gill Sans", "Gill Sans MT", sans-serif;
}
.CV {
  margin-top: 5%;
  align-items: center;
  text-align: center;
}
.CV a {
  font-size: 20px;
  font-family: monospace;
  font-weight: lighter;
  color: var(--main-color);
}
.CV a:hover {
  color: hsl(210, 100%, 60%);
}
.seework {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 2px;
  background-color: var(--main-color);
  border-radius: 50px;
  color: hsl(0, 0%, 98%);
  width: 30%;

  margin: 20px auto;
  font-size: 20px;
}
.seework:hover {
  background-color: hsl(210, 100%, 60%);
}
#seework2 {
  align-items: center;
  text-align: center;
}
#seework {
  display: none;
  align-items: center;
  text-align: center;
}
@media (min-width: 700px) {
  .home {
    padding-top: 80px 5% 5% 5%;
    margin: 5% 0% 0% 0%;
  }
  .home h1 {
    padding-top: 2px;
    margin-bottom: 30px;
  }
  .CV,
  .seework {
    margin-top: 30px;
  }
}
.about {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background-color: hsl(210, 50%, 40%);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: none;
}

.about h1 {
  font-size: 32px;
  margin-bottom: 10px;
  border-bottom: 2px solid white;
  display: inline-block;
}

.about h2 {
  font-size: 24px;
  margin-top: 20px;
}

.about p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.skills-list {
  list-style: none;
  padding: 0;
}

.skills-list li {
  margin-bottom: 15px;
  background-color: hsl(210, 50%, 35%);
  padding: 15px;
  border-radius: 8px;
}

.skills-list strong {
  display: block;
  font-size: 18px;
  margin-bottom: 5px;
  color: hsl(210, 100%, 85%);
}

.other-section {
  text-align: center;
  margin-top: 30px;
}

@media (max-width: 600px) {
  .about {
    padding: 20px;
  }

  .about h1 {
    font-size: 26px;
  }

  .about p,
  .about li {
    font-size: 15px;
  }
}
.project {
  align-items: center;
  text-align: center;
  margin-bottom: 50px;
}
.projectcontainer {
  display: none;
}
@media (min-width: 550px) {
  .projectcontainer {
    display: none;
    grid-template-columns: repeat(auto-fill, 550px);
    justify-content: center;
    gap: 20px;
    overflow: hidden;
  }
}
.project h1 {
  margin-top: 20px;
  padding-top: 50px;
  font-size: 35px;
  text-align: center;
  color: black;
  margin-bottom: 45px;
  border-top: 1px solid black;
}
.main-iframebox {
  width: 98%;
  border: 1px solid hsl(0, 0%, 80%);
  margin: 35px auto;
  background-color: white;
  border-radius: 10px;
  padding-bottom: 30px;
  max-width: 1000px;
}
.main-iframe {
  height: 70vh;
  width: 100%;
  max-width: 1000px;
  border: none;
}
.iframebox {
  text-align: center;
  border: 1px solid hsl(0, 0%, 80%);
  margin: 15px 5px;
  background-color: white;
  border-radius: 10px;
  padding-bottom: 30px;
  max-width: 100%;
}
iframe {
  border-radius: 10px;
  width: 100%;
  max-width: 100%;
  height: 300px;
  border: none;
}
.iframebox h2,
.main-iframebox h2 {
  font-size: 30px;
  margin-bottom: 5%;
  padding-top: 2rem;
}
.iframebox a,
.main-iframebox a {
  font-size: 16px;
  color: white;
  padding: 5px 10px;
  border-radius: 10px;
  background-color: var(--main-color);
}
.iframebox a:hover,
.main-iframebox a:hover {
  color: hsl(0, 0%, 70%);
  background-color: hsl(0, 0%, 38%);
}
.articleskill {
  padding: 30px 25px 5px 25px;
}
.articleskill h2 {
  align-items: center;
  font-weight: bolder;
  border-bottom: 1px solid black;
  margin-bottom: 5%;
  font-size: 30px;
}
.skillscontainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  list-style: none;
}
.skillscontainer h3 {
  border: 1px solid black;
  padding: 10px 16px;
  border-radius: 5px;
  font-size: 16px;
  color: hsl(0, 0%, 15%);
}
.services {
  padding: 3rem 1rem;
  background-color: hsl(0, 0%, 98%);
  text-align: center;
}

.services h2 {
  font-size: 45px;
  margin-bottom: 2rem;
  color: hsl(0, 0%, 20%);
}

.service-list {
  display: grid;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
  color: hsl(210, 100%, 56%);
  margin-bottom: 8px;
  font-size: 32px;
}

.service-card p {
  color: hsl(0, 0%, 5%);
  font-size: 20px;
}
.with-contact {
  margin: 5%;
  align-items: center;
  text-align: center;
}
.contact-location {
  padding: 30px;
  margin-top: 20px;
  border-radius: 5px;
  background-color: hsl(240, 50%, 90%);
  border: 1px solid hsl(240, 50%, 87%);
}
.contact-location i {
  font-size: 3rem;
  color: var(--main-color);
  border: 1px solid hsl(240, 50%, 80%);
  padding: 5%;
  border-radius: 50%;
}
.contact-location p {
  font-size: 20px;
  margin: 10px 0;
}
.contact-location a {
  font-size: 20px;
  margin-top: 0px;
  color: var(--main-color);
}
.contact-location a:hover {
  color: hsl(240, 50%, 95%);
}
.contact-location i:hover {
  color: hsl(240, 50%, 90%);
  background-color: hsl(240, 50%, 95%);
}
.contact-section {
  padding: 3rem 1rem;
  text-align: center;
  background-color: hsl(0, 0%, 98%);
}

.contact-section h2 {
  margin-bottom: 1rem;
  color: hsl(0, 0%, 20%);
  font-size: 32px;
}

summary {
  background-color: hsl(210, 100%, 56%);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  padding: 10px;
  margin-right: 20%;
  margin-left: 20%;
  margin-bottom: 1rem;
}
@media (min-width: 800px) {
  summary {
    margin-left: 35%;
    margin-right: 35%;
  }
}
summary:hover {
  background-color: hsl(210, 100%, 66%);
}
summary::-webkit-details-marker {
  display: none;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.contact-form input {
  padding: 10px;
  border-radius: 6px;
  font-size: 20px;
  border: 1px solid hsl(0, 0%, 80%);
}
.contact-form ::placeholder {
  font-size: 16px;
}
.contact-form textarea {
  padding: 3%;
  font-size: 20px;
  height: 200px;
  border-radius: 6px;
  border: 1px solid hsl(0, 0%, 80%);
}
.contact-form textarea::placeholder {
  padding: 3% 0% 0% 2%;
}
.contact-form button {
  padding: 10px;
  background-color: hsl(210, 100%, 56%);
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

footer {
  background: hsl(0, 0%, 98%);
  padding: 5%;
  text-align: center;
  color: black;
}
.footer-nav {
  margin-bottom: 5%;
}

.footer-nav a {
  margin: 0 8px;
  text-decoration: none;
  color: hsl(210, 100%, 56%);
  font-weight: 500;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: hsl(210, 100%, 70%);
  font-size: 20px;
}

.social-icons a {
  margin: 0 5%;
  font-size: 1.5rem;
  justify-content: space-between;
  color: hsl(210, 100%, 56%);
  transition: color 0.3s;
}

.social-icons a:hover {
  color: hsl(210, 100%, 40%);
  font-size: 20px;
}

footer p {
  margin-top: 2%;
  font-size: 14px;
  color: hsl(0, 0%, 10%);
}
