@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Poppins:wght@400;500;700&display=swap');


*{
  margin: 0;
  padding: 0;
  font-family:'Open Sans', sans-serif;
  box-sizing: border-box;
}


/* fully responsive nav bar */

nav{
  display: flex;
  width: 100%;
  padding: 0.8em;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

 nav .logo {
  width:  10em;
}


ul {
  display: flex;
  flex-wrap: wrap;
  margin-right: 0.2em;
}

ul li{
  list-style: none;
  margin-right: 1em;
}

li a{
  text-decoration: none;
  color: #5a189a;
  transition: all 0.3s ease;
  font-size: 0.9rem;  
}

 .active
{
  background-color:#5a189a;
  color: #fff;
  padding: 0.5em;
  font-size: 0.9rem;
  border-radius: 15px;
}

li a:hover{
  background-color: #f4e3fe;
  padding: 0.5em;
  font-size: 0.9rem;
  border-radius: 15px;
}

nav .menu-btn i{
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: none;
}
input[type="checkbox"]{
  display: none;
}

@media (max-width: 600px) {
  nav{
    position: fixed;
    background-color: hsl(277, 63%, 87%);
    top: 0;
    z-index: 1;
  }
  nav .menu-btn i{
    display: block;
  }
  #click:checked ~ .menu-btn i:before{
    content: "\f00d";
  }
  nav ul{
    position: fixed;
    top:3.5em;
    left: -100%;
    background: hsl(277, 64%, 87%);
    height: 45vh;
    width: 100%;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
  }
  #click:checked ~ ul{
    left: 0;
  }
  nav ul li{
    width: 100%;
    margin: 40px 0;
  }
  nav ul li a{
    width: 100%;
    margin-left: -100%;
    font-weight: 800;
    color: #ffffff;
    display: block;
    transition: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
  #click:checked ~ ul li a{
    margin-left: 0px;
  }
  nav ul li a.active,
  nav ul li a:hover{
    background: none;
    color: #5a189a;
    padding: 0;

  }
  nav .menu-btn i{
    color: #5a189a;
    font-size: 22px;
    cursor: pointer;
    display: contents;
}
}

.section_1{
  margin: 0em auto;
  width: 60%; 
  border: #5a189a solid 1px;
  background-color: #f8f8f8;
  padding: 1.75%;
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-bottom: 4em;
}

.section_1 > img{
  width: 30%;
  border-radius: 50%;
  align-self: center;
}

.section_1> h2{
  align-self: center;
}

.details{
  display: flex;
  flex-direction: column;
  gap: 1em;
  width: 100%;
  margin: 0 auto;
align-items: center;
}

.input_box{
  display: flex;
  gap: 1em;
  align-items: center;
  width: 100%;
}

.input_box>p{
  font-size: 0.95em;
  font-weight: 800;
}

.contents{
  border: #5a189a solid 1px;
  padding: 4px;
  font-size: 0.8em;
  width: 75%;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contents>img{
  width: 16px;
  cursor: pointer;
}

.section_1>a{
  margin: 0 auto;
}
.log_out{
  width: 10em;
  padding: 5%;
  color: #fff;
  background-color: #5a189a;
  border-radius: 5px;
  border: none;
  outline: none;
  margin: 0 auto;
}

.log_out:hover{
  background-color: #ca6eff;

}

@media (max-width:600px){
  .section_1{
    margin-top: 5em;
    width: 90%;
  }
  
.input_box{
  font-size: 11px;
}

}

/* FOOTER */

footer{
  background: #5a189a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f4e3fe;
}

.first{
  padding: 1.5%;
}

.first .logo{
  width: 55%;
  cursor: pointer;
}

.second{
display: flex;
flex-direction: column;
justify-content: center;
margin-right: 1.5em;
gap: 1em;
}

.second-a{
  display: flex;
  gap: 1em;
  font-size: 0.75em;
  font-weight: 600;
}

.second-a a {
  text-decoration: none;
  color: #f4e3fe;
}

.social{
  display: flex;
  gap: 0.8em;
  flex-direction: row-reverse;
}
.social a{
  width: 5.5%;
}

.social img{
  width: 95%;
  cursor: pointer;
}

@media(max-width:600px){
  footer{
    display: grid;
    grid-template-columns: 100%;
    padding: 3%;
    gap: 2em;
  }

  .first{
    order: 2;
  }

.second{
    order: 1;
  }
  .second-a{
    flex-direction: column;
  }

  .social{
    flex-direction: row;
    width: 12.5em;
  }
}