/* =================================== */
/* MOBILE */
/* =================================== */

* {
  /* outline: 2px solid rgb(25, 119, 54); */
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  color: #2c2b2b;
  line-height: 1.6;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #d2cbc2;
  font-size: 1rem;
  text-align: center;
}

header {
  position: sticky;
  top: 0;
  z-index: 1;
}
nav ul {
  background-color: #6f7373;
  box-shadow: 1em 0.5em 0.5em #343333;
  border-bottom-left-radius: 0.5em;
  border-bottom-right-radius: 0.5em;
  margin: 0;
  padding: 0;
}

.nav_bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

li {
  list-style-type: none;
  padding: 1.5em;
  margin: 0.8em;
}
.nav_bar li a {
  text-decoration: none;
  /* padding: 0.8em; */
  font-size: 1.5rem;
  border: solid transparent 0.2em;
  display: block;
}

.nav_bar li :hover {
  background: #7d7c7c;
  border: solid #9f9c9c 0.2em;
  box-shadow: 0.175em 0.175em 0.175em #a7a5a5;
  border-radius: 30% 10%;
  opacity: 0.9;
}

/* Toggle button start */
.toggle_btn {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}
.toggle_btn .bar {
  height: 3px;
  width: 100%;
  background-color: aliceblue;
  border-radius: 10px;
}
/* Toggle button end */
/* background section about start */
#about,
#experience,
#skills,
#projects,
#connect,
#messageMe {
  background-color: #6f73735b;
  box-shadow: 0.5em 0.5em 0.5em #34333388;
  max-width: 70em;
  margin: 1.25px auto;
  border-radius: 1em;
  margin-bottom: 50px;

  padding-bottom: 50px;
}
/* background section about start */

#skills,
#projects {
  margin-top: 15em;
}

h2 {
  font-size: 2.5rem;
}

.skills_background li {
  background: #f5f5f5;
  border-radius: 30% 10%;
}
ul#projects_list,
ul.center.skills_background {
  padding: unset;
}
li a {
  text-decoration: none;
}
#projects_list li a {
  color: #ffffff;
  align-self: center;
}

#projects_list li a:hover {
  background: #8d8c8c;
  border: solid #9f9c9c 0.2em;
  box-shadow: 0.2em 0.2em 0.3em #a7a5a5;
  border-radius: 30% 10%;
  opacity: 0.9;
}

.center {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.center.heading {
  font-style: italic;
  font-weight: 500;
}

img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 1em;
}

.par {
  flex-wrap: wrap;
  max-width: 30em;
  margin: 1.25px auto;
  font-size: 1.2rem;
}

#experience {
  padding-top: 2em;
}

.container {
  display: flex;
  margin-top: 5em;
}

.job_title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-left: 1.5rem;
  flex: 1;
}

p.bold_txt {
  font-weight: bold;
  margin: unset;
}
.date_location {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-right: 1.5rem;
  flex: 1;
}

.job_descr {
  flex-wrap: wrap;
  max-width: 25em;
  margin: 1.25px auto;
  font-size: 1.1rem;
  margin-bottom: 8em;
}

.bullet::before {
  content: "•";
  color: #000000;
  font-weight: bold;
}

.center li {
  margin: 1.8em;
  font-weight: 600;
  font-size: 1.2rem;
}

.icons {
  display: flex;
  justify-content: center;
  list-style-type: none;
  padding: unset;
  z-index: 1;
}

.icons li :hover {
  color: #f5f5f5;
}

form {
  display: inline-block;
  padding: 2em;
  background-color: #7f8282;
  box-shadow: 1em 0.4em 0.4em #474646;
  border-radius: 1.5em;
}

label {
  display: inline-block;
  min-width: 5.4em;
  text-align: center;
}

input,
textarea {
  width: 18.75em;
  box-sizing: border-box;
  border: 1px solid #47454599;
  border-radius: 0.5em;
}

input:focus,
textarea:focus {
  outline-style: solid;
  border-color: #1c1b1c;
}

textarea {
  vertical-align: top;
  height: 5em;
}

.button {
  padding: 0.3em;
  margin-left: 6.2em;
  border-radius: 0.5em;
  background-color: #aaa2a2;
  border: 0.2em solid transparent;
}
.button:hover {
  background-color: #fff;
  border: 0.2em solid #686767;
}
#messages li {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
}

.edit_btn,
.remove_btn {
  max-width: 9em;
  padding: 0.8em;
  border-radius: 0.5em;
  border: none;
  flex: 1;
}
li a {
  max-width: 8em;
  overflow: auto;
}
li span {
  max-width: 12.5em;
  overflow: auto;
}

.footer_class {
  display: flex;
  justify-content: center;
  padding: 1em;
}
.footer_par {
  font-weight: bold;
  font-size: 1.1em;
}
/* =================================== */
/* Small mobile */
/* =================================== */
@media (max-width: 435px) {
  form {
    width: 80%;
    padding: 1.5em;
  }
  input,
  textarea {
    width: 80%;
  }
  .button {
    margin: unset;
  }
  /* background section about start */
  #about,
  #experience,
  #skills,
  #projects,
  #connect,
  #messageMe {
    /* 
   */
    max-width: 63em;
  }
  /* background section about... end*/
}
@media (max-width: 481px) {
  .skills_background li {
    background: whitesmoke;
    border-radius: 30% 10%;
    padding: 1.2em;
    font-size: 1.1rem;
  }
  /* background section about start */
  #about,
  #experience,
  #skills,
  #projects,
  #connect,
  #messageMe {
    /* 
   */
    max-width: 65em;
  }
  /* background section about... end*/
}

/* =================================== */
/* Phone */
/* =================================== */

@media (max-width: 600px) {
  .nav_bar {
    flex-direction: column;
    align-items: center;
  }
  li {
    padding: 0.3em;
    margin: 0.2em;
  }
  li a {
    padding: 0.1em;
    font-size: 1.2rem;
    border: solid transparent 0.2em;
  }

  .par {
    width: 90%;
  }

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

  #skills,
  #projects {
    margin-top: 6em;
  }
  /* new toggle */
  .nav_toggle {
    flex-direction: column;
    align-items: flex-start;
  }
  .toggle_btn {
    display: flex;
  }
  .nav_links ul {
    width: 100%;
  }

  .nav_links {
    display: none;
    width: 100%;
  }
  .nav_links.active {
    display: flex;
  }
  /* background section about start */
  #about,
  #experience,
  #skills,
  #projects,
  #connect,
  #messageMe {
    /* 
   */
    max-width: 66em;
  }
  /* background section about... end*/
}

/* =================================== */
/* TABLET */
/* =================================== */
@media (min-width: 768px) {
  li {
    padding: 0.6em;
    margin: 0.5em;
  }
  li a {
    color: rgb(68, 69, 66);
    padding: 0.4em;
    font-size: 1.4rem;
  }
  #skills,
  #projects {
    margin-top: 6em;
  }
  /* background section about start */
  #about,
  #experience,
  #skills,
  #projects,
  #connect,
  #messageMe {
    /* 
   */
    max-width: 68em;
  }
  /* background section about... end*/
}

/* =================================== */
/* DESKTOP */
/* =================================== */
@media (min-width: 1024px) {
  li {
    padding: 0.9em;
  }
  li a {
    color: rgb(225, 230, 230);
    padding: 0.4em;
    font-size: 1.8rem;
    border: solid transparent 0.2em;
  }

  #skills,
  #projects {
    margin-top: 10em;
  }

  .par {
    font-size: 1.7rem;
  }

  .job_descr,
  .date_location,
  .job_title {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 3.5rem;
  }
  .center.heading {
    font-size: 3.5rem;
  }
}
