* {
  box-sizing: border-box;
}

body {
  color: #f3f1e9;
  font-family: "Montserrat", sans-serif;
  margin: 0px;
  background-image: url(images/download.gif);
  background-size: cover;
}

/* .word-with-different-color {
  color: darkred;
} */

p {
  font-family: "Mukta", sans-serif;
  text-align: justify;
  font-size: 15px;
}

h2 {
  margin: 0px;
  padding: 0px;
  border: 0px;
  font-size: 55px;
  text-transform: uppercase;
  color: #aa92c7;
}

h4 {
  margin: 10px 0;
  padding: 0;
  font-size: 20px;
  text-transform: uppercase;
  color: #d195b8;
}

ul {
  list-style: none;
  text-align: center;
  margin: 220px 30px;
  padding: 0;
}

li {
  display: block;
  margin: 20px;
  font-size: 35px;
}

a {
  color: #09191c;
  text-decoration: none;
}

header {
  width: 30%;
  background-color: #1e2f40;
  padding: 30px;
  margin: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.everyone-side-by-side {
  display: flex;
  justify-content: stretch;
  width: 100%;
  height: 100vh;
}

.name-title {
  font-size: 65px;
}

.job-title {
  font-size: 28px;
}

.sections-container {
  display: flex;
  justify-content: end;
}

.accordion {
  background-color: rgb(196, 127, 127);
  border: 1px solid #09191c;
  color: #09191c;
  font-size: 20px;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  cursor: pointer;
  padding: 18px;
  width: 90px;
  height: 100vh;
  outline: 4px solid #09191c;
  transition: 0.4s;
}

.about-accordion {
  background-color: #86425d;
}

.skills-accordion {
  background-color: #c9698b;
}

.projects-accordion {
  background-color: #e88d9a;
}

.contacts-accordion {
  background-color: #f1a89d;
}

.title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.active {
  background-color: #cc93bb;
}

.accordion:hover {
  background-color: #cc93bb;
}

.panel {
  padding: 0 18px;
  background-color: rgb(218, 154, 154);
  border: 1px solid #09191c;
  outline: 4px solid #09191c;
  display: none;
  max-width: 0;
  overflow: scroll;
}

.show-panel {
  display: block;
}

.about-panel {
  background-color: #86425d;
  padding: 10px;
  transition: all 1500ms cubic-bezier(0, 0, 0.5, 1);
}

.skills-panel {
  background-color: #c9698b;
  transition: all 800ms cubic-bezier(0, 0, 0.5, 1);
}

.projects-panel {
  background-color: #e88d9a;
  transition: all 7500ms cubic-bezier(0, 0, 0.5, 1);
}

.contacts-panel {
  background-color: #f1a89d;
  transition: all 700ms cubic-bezier(0, 0, 0.5, 1);
}

section {
  display: flex;
  justify-content: space-around;
}

.screenshots {
  height: auto;
  width: 491px;
  border-top: 2px solid white;
  border-bottom: 2px solid white;
}

.headshots {
  height: 330px;
  width: auto;
  border: 2px solid cornsilk;
  margin: 100px 10px 10px 10px;
}

.pie-chart {
  height: 270px;
  width: auto;
  margin-top: 10px;
}

.about-text {
  max-width: 420px;
  margin: 10px;
}

.programming-skills {
  margin-top: 20px;
  font-size: 60px;
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  grid-template-rows: auto auto auto auto auto;
  max-width: 400px;
}

.projects-content {
  max-width: 495px;
  margin: 20px;
}

.highlighted-text {
  color: #09191c;
  text-transform: uppercase;
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
}

i {
  margin: 10px;
}

.timeline {
  display: flex;
  flex-direction: column;
}

.timeline-icon {
  font-size: 15px;
  display: inline;
  margin: 28px;
}

.school-icon-me {
  margin: 25px;
}

.graduate-icon-me {
  margin: 30px;
}

.arrow {
  width: 379px;
  height: auto;
  display: block;
  margin: 4px 28px 4px 28px;
}

.flag {
  height: 20px;
  width: auto;
  display: inline;
  margin: 0 25.2px;
}

.all-timeline-flags {
  margin-bottom: 20px;
}

.languages-list {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 5px;
  margin: 0px;
  margin-bottom: 20px;
}

.language-group {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}
.language {
  font-size: 18px;
  margin: 0;
}

.language-flag {
  margin: 0;
}

.language-with-flag {
  display: flex;
  align-items: center;
  gap: 15px;
}

.language-proficiency {
  display: flex;
  align-items: center;
  gap: 1px;
}

.custom-circle {
  margin: 0;
}

.custom-cf {
  font-size: 50px;
}

.project-card {
  border: 2px solid white;
  margin-bottom: 20px;
  background-color: #e4b7be;
  color: #09191c;
}
.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.project-title {
  text-transform: uppercase;
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  margin: 10px;
}

.project-links {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: "Mukta", sans-serif;
}

.website-link {
  font-size: 16px;
  margin-right: 0;
}
.github-link {
  font-size: 18px;
  margin-left: 0;
}

.project-description {
  padding: 10px;
  margin: 0;
  text-align: justify;
  font-size: 15px;
}

@media screen and (max-width: 800px) {
  .everyone-side-by-side {
    flex-direction: column;
    height: auto;
  }

  header {
    width: 100%;
    height: auto;
    text-align: center;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .name-title {
    font-size: 58px;
  }

  .job-title {
    font-size: 25px;
  }

  .headshots {
    margin: 20px 10px;
  }

  .sections-container {
    flex-direction: column;
    width: 100%;
  }

  .accordion {
    width: 100%;
    height: auto;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .title {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .panel {
    max-width: 100%;
    overflow-x: hidden;
  }

  .about-text,
  .projects-content {
    max-width: none;
  }

  .screenshots {
    width: 100%;
  }
  section {
    flex-direction: column;
  }

  .programming-skills {
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-template-rows: auto auto auto auto auto auto;
  }

  .arrow {
    width: 350px;
    height: auto;
    margin: 4px;
  }
  .pie-chart {
    width: 100%;
    height: auto;
  }

  .all-timeline-icons {
    padding-left: 5px;
    display: flex;
    gap: 52px;
  }

  .timeline-icon {
    font-size: 15px;
    display: inline;
    margin: 0;
  }

  .school-icon-me {
    margin-right: 1px;
  }

  .graduate-icon-me {
    margin-right: 3px;
  }

  .marker-icon-me {
    margin-left: 3px;
  }
  .flag {
    height: 20px;
    width: auto;
    display: inline;
    margin: 0 41px 0 3px;
  }
}
