@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,200;0,300;0,500;0,700;1,200;1,300;1,500;1,700&display=swap');

html {
  scroll-behavior: smooth;
}

/*-----------------------body----------------------*/
  body {
    margin: 0;
    padding: 0;
    background: linear-gradient(115deg, #FFFCF5 50%, #6F503A 50%);
    font-family: 'Raleway', sans-serif;
  }

#main {
  display: flex;
  justify-content:space-around;
}

header a {
  display: flex;
  margin: 0 10px;
}

h1 {
  margin: 10px;
}

/*-----------------------nav-----------------------*/
#contact_btn {
	justify-content: flex-end;
	padding: 10px;
	background: #32312F;
  opacity: 95%;
	color: white;
  border-radius: 7px;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
}

nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px;
}

#li_logo {
  width: 30px;
  cursor: pointer;
}

#ig_logo {
  width: 40px;
  cursor: pointer;
}

/*------------------------me-----------------------*/

#my_details {
  padding: 10px 0px 0px 0px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

#profile_pic {
  width: 360px;
  height: 440px;
}

#picname {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 35px;
}

/*about me*/

.wrap_collapsible {
display: flex;
flex-direction: column;
align-items: center;
} 

input[type='checkbox'] {
  display: none;
}

.lbl-toggle {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  width: 50%;
  text-align: center;
  color: #6F503A;
  background: #fbf5e3;
  border-radius: 7px;
  transition: all 0.25s ease-out;
  padding: 5px;
  margin-bottom: 20px;
  cursor: pointer;
}

.lbl-toggle::before {
  content: ' ';
  display: flex;
  vertical-align: middle;
  transition: transform .2s ease-out;
}

.collapsible-content .content-inner {
  background: #fbf5e3;
  border-bottom: 1px solid #f3e8c8;
  margin-left: 0px;
  margin-bottom: 20px;
  width: 400px;
  border-radius: 7px;
  padding: 10px;
  font-size: 18px;
}

.collapsible-content {
  max-height: 0px;
  overflow: hidden;
  transition: max-height .25s ease-in-out;
}

.toggle:checked + .lbl-toggle + .collapsible-content {
  max-height: 100vh;
}

/*----------------------work-----------------------*/
#my_work {
  display: flex;
  justify-content: start;
  flex-direction: column;
}

#recent_work {
text-align: center;
display: flex;
justify-content: center;
font-family: 'Raleway', sans-serif;
font-size: 40px;
margin-top: 100px;
}

.work_links {
	display: flex;
	justify-content:center;
	padding: 15px 120px;
	background: #583c39;
  opacity: 90%;
  color: white;
  text-decoration: none;
  border-radius: 7px;
  cursor: pointer;
}

.pages {
  padding: 10px;
}

.pages a:hover {
  background-color: #32312F;
}

/*----------------------form-----------------------*/

#contact_form {
  display: flex;
  flex-direction: column;
  text-align: center;
  background-color: #A0806D;
  opacity: 98%;
  padding: 10px 0px 10px 0px;
  align-items: center;
}

form {
  width: 50%;
}

.formfields {
  padding: 7px;
  display: flex;
  justify-content: center;
  flex-direction: row;
}

.formfields input[type="text"], .formfields textarea {
  width: 50%;
  border-radius: 7px;
  background-color: #fbf5e3;
}

/*----------------------footer--------------------*/

footer {
  padding: 0;
  margin: 0;
  text-align: center;
  background-color: transparent;
}

/*---------------media query stuff----------------*/

@media (max-width: 768px) {
  #main {
    flex-direction: column;
  }

  #my_details {
    order: 1;
    padding: 0; 
  }

  #profile_pic {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 5%;
  }

  #nameSO {
    font-size: 3rem;
  } 

  .collapsible-content {
    display: flex;
    width: 90%;
  }

  #my_work {
    order: 2;
    margin-bottom: 20px;
    display: flex;
    }

    #recent_work {
      margin-top: 10%;
    }

    form {
      width: 100%;
    }
}

/* *{
  border: 1px solid red;
}   */