@import url('https://fonts.googleapis.com/css2?family=Gochi+Hand&family=Monoton&family=Roboto+Slab:wght@300&display=swap');

* {
  margin: 0;
  padding: 0;
}

body {
  background: #009688;
}

#head li a {
  display: block;
  float:left;
  text-decoration: none;
  color: white;
}

#head li a:hover {
  list-style: none;
  color: black;
  font-weight: bold;
}

#head {
  background: transparent;
  box-shadow: 0 0 10px #00000080;
  font-family: 'Roboto Slab', serif;
  color: black;
  text-decoration: double;
  border-radius: 20px;
  position: fixed; 
  top:0;
  width:100%;
}
 
#head ul {
  text-align: right;
}

#head li {
  display: inline-block;
  padding: 15px 41px;
  width: 80px;
  font-size: 30px;
  text-align: center;
  font-family: 'Gochi Hand';
}

label #btn,
label #cancel {
  color: white;
  font-size: 30px;
  float: right;
  line-height: 80px;
  margin-right: 40px;
  cursor: pointer;
  display: none;
}

#check {
  display: none;
}

#head li-links {
  color: red;
}

.sidebar {
  background-image: linear-gradient(#009688, rgba(77, 74, 74, 0.5));
  ;
  width: 200px;
  height: 90vh;
  margin-top:3px;
  border-radius: 10px;
  font-family: 'Gochi Hand';
}

.sidebar nav1-links {
  text-decoration: none;
  position: relative;
}

.nav1-links li a {
  display: flex;
}

.sidebar nav1 {
  padding: 20px;
}

.sidebar nav1 li {
  text-decoration: none;
  font-size: 20px;
  padding: 20px 10px;
}

.sidebar nav1 li:hover {
  background-color: rgb(221, 205, 184);
  border-radius: 15px;
}

.hoverable {
  display: none;
}

.sidebar ul li:hover .hoverable {
  display: flex;
}

.sidebar a:link {
  color: black;
}

.sidebar a:visited {
  color: black;
}

.sidebar a:active {
  color: rgb(20, 67, 20);
}

.section {
  width: 90vw;
}

.container {
  display: flex;
  margin-top: 50px;
}

.info {
  border-radius: 25% / 50% 0 50% 0;
  box-shadow: 10px 10px white;
  background-image: linear-gradient(#c9da5a, rgba(131, 111, 111, 0.5));
  height: 80vh;
  width: 80vw;
  margin: 38px auto;
  display: flex;
  justify-content: space-around;
 }

img {
  width: 400px;
  height: 60vh;
  margin-right: 90px;
}

.intro {
  display: flex;
  justify-content: center;
  margin-bottom: 130px;
  flex-direction: column;
  margin-left: 160px;
  font-weight: 800;
  font-family: 'Monoton';
  color: black;
}

.hello {
  font-size: 50px;
}

.name {
  font-size: 60px;
}

.about {
  font-size: 40px;
}

/*--aboutme css*/
#aboutme {
  background: linear-gradient(#009688, rgba(0, 0, 0, 0.5)), url(image/aaa.jpg);
  background-size: cover;
  background-position: center;
  height: 100vh;
}

.abt-container {
  width: 1200px;
  padding: 0px 60px;
}

.aboutmehead {
  text-align: center;
  color: black;
  padding-top: 50px;
  font-size: 30px;
  font-family: 'Gochi Hand';
}

.aboutmedetails {
  color: black;
  font-size: 22px;
  padding: 15px auto;
  text-align: center;
  margin-top: 15px;
}

.about-button {
  margin: 20px 580px;
}

.about-button a {
  width: 150px;
  text-decoration: none;
  display: inline-block;
  margin: 0 10px;
  padding: 12px 0;
  color: white;
  border: 1px solid white;
  border-radius: 20px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: color 0.5s;
}

.about-button a span {
  width: 0%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(#009688, rgba(77, 74, 74, 0.5));
  z-index: -1;
  transition: 0.5s;
  border-radius: 20px;
}

.about-button a:hover span {
  width: 100%;
  border: 1px solid rgb(6, 0, 0);

}

.about-button a:hover {
  color: black;
  font-weight: bold;
}

/* EDUCATION */
#education {
  height: 100vh;
  align-content: center;
}

.edu_title {
  font-size: 30px;
  margin: 35px auto;
  text-align: center;
  font-family: 'Gochi Hand';
}

.edu {
  position: relative;
  max-width: 1200px;
  margin: 60px auto;
}

.timeline {
  padding: 10px 30px;
  position: relative;
  width: 50%;
}

.text-box {
  padding: 20px 39px;
  background: white;
  position: relatve;
  border-radius: 10px;
  font-size: 15px;
}

.text-box small {
  font-size: 20px;
}

.left-timeline {
  left: -48px;
}

.right-timeline {
  left: 50%;
}

.timeline i {
  position: absolute;
  width: 40px;
  border-radius: 50%;
  right: -22px;
  top: 32px;
  z-index: 10;
}

.right-timeline i {
  left: -25px;
}

.left-arrow {
  height: 0;
  width: 0;
  position: absolute;
  top: 28px;
  z-index: 1;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 15px solid white;
  right: 15px;
}

.right-arrow {
  height: 0;
  width: 0;
  position: absolute;
  top: 28px;
  z-index: -1;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 15px solid white;
  left: 15px;
}

/* skills */
#skill {
  align-content: center;
}

.skill-head {
  font-size: 35px;
  margin: 35px auto;
  text-align: center;
  font-family: 'Gochi Hand';
}

.skill-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.2rem;
  margin-top: 50px;
}

.skill-box {
  padding: 1rem;
  color: #ddd;
  cursor: pointer;
}

.skill-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.skill-icon {
  margin-left: 90px;
  width: 140px;
  height: 140px;
  border-radius: 70px;
}

.skill-title h3 {
  color: black;
  margin: 0.5rem;
  font-size: 30px;
}

.skill-title :hover {
  color: white;
}

.skill-box {
  color: black;
}

.skill-box:hover {
  background: linear-gradient(#009688, rgba(77, 74, 74, 0.5));
  color: white;
  transition: 0.5s;
}

/* contact */
#contact {
  align-content: center;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(#009688, rgba(77, 74, 74, 0.5)), url(image/bg.webp);
  background-size: cover;
}

.content {
  max-width: 800px;
  text-align: center;
}

.content h2 {
  font-size: 55px;
  font-weight: bold;
  color: Black;
  font-family: 'Gochi Hand';
}

.content p {
  margin-top: 10px;
  font-size: 26px;
  font-weight: 200;
  color: black;
}

.cont-container {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 30px;
}

.cont-info {
  width: 100%;
  display:flex;
  justify-content:space-evenly;
}

.cont-box {
  position: relative;
  padding: 20px 0;
  display: flex;
}

.cont-icon {
  min-width: 40px;
  height: 40px;
  background: whitesmoke;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 22px;
}

.cont-text {
  display: flex;
  margin-left: 10px;
  font-size: 20px;
  color: black;
  flex-direction: column;
  font-weight: 300;
}

/* .cont-form {
  width: 35%;
  padding: 45px;
  background: white;
}

.cont-form h2 {
  font-size: 40px;
  color: black;
  font-weight: 500;
}

.inputBox {
  position: relative;
  width: 100%;
  margin-top: 10px;
}

.inputBox input,
textarea {
  width: 100%;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  border: none;
  border-bottom: 2px solid #333;
  outline: none;
  resize: none;
}

.inputBox span {
  position: absolute;
  left: 0;
  padding: 5px 0;
  font-size: 20px;
  margin: 10px 0;
  pointer-events: none;
  transition: 0.5s;
  color: #666;
}

.inputBox input:focus~span,
.inputBox input:valid~span,
.inputBox textarea:focus~span,
.inputBox textarea:valid~span {
  color: rgb(130, 67, 67);
  font-size: 15px;
  transform: translateY(-20px);
}

.inputBox input[type="submit"] {
  width: 100px;
  background: #00bcd4;
  color: black;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 18px;
  border-radius: 30px;
} */

/* media query*/
/* @@@@@@@@@@@
22@@@22@@@@@@@@SSS */

@media screen and (max-width: 767px) {
  #head li {
    font-size: 20px;
    padding: 15px 20px;
    display: flex;
  }
  body {
    width:100%;
    background: #009688;
  }

  label #btn {
    position: fixed;
    display: block;
  }

  label #cancel {
    position: fixed;
  }

  #head ul {
    position: fixed;
    width: 150px;
    height: 100vh;
    border-radius: 14px;
    background-image: linear-gradient(#009688, rgba(77, 74, 74, 0.5));
    top: 80px;
    left: -100%;
    text-align: center;
    transition: all 0.5s;
  }

  .hello {
    font-size: 40px;
  }

  .name {
    font-size: 50px;
  }

  #head ul li {
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }

  #head ul li a {
    font-size: 25px;
  }

  #check:checked~ul {
    left: 0%;
  }

  #check:checked~label #btn {
    display: none;
  }

  #check:checked~label #cancel {
    display: block;
  }

  /* sidebar */
  .sidebar nav1 li {
    padding: 25px 4px;
  }
  .sidebar {
    height: 80vh;
    margin-top:60px;
    padding-right:5px;
  }
  .sidee{
    display: none;
  }
  .info {
    width: 100%;
    float: right;
    margin-top: 50px;
    flex-direction: column;
  }

  img {
    float: right;
    width: 200px;
    height: 30vh;
  }

  .intro {
    margin-top: 10px;
    margin-left: 20px;
    margin-bottom: -80px;
    font-weight: 100;
    color: black;
  }

  /* aboutme */
  #aboutme {
    width: 100%;
  }

  .abt-container {
    width: 100%;
  }

  .aboutmehead {
    text-align: left;
    font-size: 20px;
  }

  .aboutmedetails {
    width: 70%;
    text-align: justify;
    font-size: 15px;
  }

  .about-button {
    font-size: 15px;
    margin-left: 50px;
  }

  /* education */
  #education {
    width: 100%;
   }

  .edu_title {
    padding-top: 10px;
    font-size: 17px;
    text-align: left;
    margin-left: 30px;
  }

  .edu {
    max-width: 100%;
  }

  /* skils */
  #skill {
    width: 100%;
    margin-top: 70px;
   }

  .skill-head {
    font-size: 25px;
    margin-left: 30px;
    text-align: left;
  }

  .skill-container {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .skill-icon {
    width: 100px;
    height: 100px;
    border-radius: 50px;
  }

  .skill-box {
    font-size: 15px;
  }

  .skill {
    display: none;
  }

  /* contact */
  #contact {
    width: 100%;
  }

  .cont-container {
    flex-direction: column;
  }

  .content h2 {
    font-size: 40px;
    padding-left: 40px;
  }

  .content p {
    font-size: 18px;
    font-weight: 200;
    font-style: italic;
  }

  .cont-icon {
    margin-left: 10px;
    min-width: 25px;
    height: 25px;
  }

  .cont-text {
    margin-left: 10px;
    font-size: 20px;
  }
  .cont-info{
    display: block;
  }

  /* .cont-form {
    width: 65%;
    padding-top: 10px;
    border-radius: 20px;
    background: rgb(238, 232, 232);
  }

  .cont-form h2 {
    font-size: 25px;
    text-align: center;
  }

  .inputBox input,
  textarea {
    font-size: 15px;
  } */

  .cont-info {
    width: 50%;
  }
}

/* sd */