:root {
  --color-primary: #1ce2e3;
  --color-background: #282c33;
  --color-white: #ffffff;
  --color-gray: #abb2bf;
}

* {
  font-family: "Fira Code", monospace;
  left: 10%;
  right: 10%;
}

html {
  background-color: var(--color-background);
  width: 100vw;
  height: 100%;
  margin: 0;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100%;
  overflow-x: hidden !important;
}

h1 {
  font-size: 2rem;
  font-weight: 1000;
  margin: 0;
}

h2 {
  font-size: 1rem;
  font-weight: 1000;
  margin: 0;
}

p {
  line-height: 150%;
}

a {
  color: var(--color-gray);
  text-decoration: none;
}

a:visited {
  color: var(--color-gray);
}

a:hover {
  color: var(--color-white);
}

span {
  color: var(--color-primary);
}

/* Navbar */

#hamburger_menu {
  display: none;
}

nav {
  position: fixed;
  height: 61px;
  display: flex;
  justify-content: space-between;
  background-color: var(--color-background);
  z-index: 2;
}

#behind_navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 61px;
  background-color: var(--color-background);
  z-index: 1;
}

#logo_container {
  padding-top: 32px;
  padding-bottom: 12px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#nav_logo {
  height: 100%;
}

#logo_container h2 {
  margin-left: 10px;
  color: var(--color-white);
}

#nav_links_container {
  padding-top: 32px;
  padding-bottom: 12px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#nav_links_container a {
  margin-left: 42px;
}

#translatable_home {
  color: var(--color-white);
}

#dropdown-btn {
  color: var(--color-gray);
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-left: 42px;
}

#dropdown-btn img {
  margin-left: 4px;
  height: 8px;
  transition: transform 0.5s ease;
}

#dropdown-btn:hover img {
  transform: rotate(-180deg);
}

#dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: calc(100% - 37px);
  z-index: 1;
  border: 1px solid var(--color-gray);
  width: 36px;
  height: 66px;
  flex-direction: column;
  justify-content: space-evenly;
}

#dropdown-content button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-gray);
}

#dropdown-btn:hover #dropdown-content {
  color: var(--color-primary);
  display: flex;
  animation: slideIn 1s ease-in-out;
}

@keyframes slideIn {
  from {
    max-height: 0;
  }
  to {
    max-height: 200px; /* Set max-height to a value larger than the expected height of the content */
  }
}

#dropdown-content button:hover {
  color: var(--color-white);
}

/* Nav bar mobile */

#nav_links_container_mobile {
  position: fixed;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-background);
  z-index: 3;
  display: none;
}

/* Social media sidebar */

#fixed_social_media {
  position: fixed;
  top: 0;
  left: 17px;
  width: 32px;
  background-color: var(--color-background);
  display: flex;
  flex-direction: column;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

#line_down {
  height: 191px;
  width: 1px;
  background-color: var(--color-gray);
  margin-bottom: 10px;
}

#fixed_social_media a {
  height: 20px;
  margin-bottom: 10px;
}

#fixed_social_media img {
  height: 20px;
}

/* Landing area */

#hero_text {
  position: absolute;
  top: 197px;
  left: 10%;
  max-width: 537px;
  display: flex;
  flex-direction: column;
}

#hero_text h1 {
  color: var(--color-white);
}

#hero_text p {
  margin: 32, 0, 32, 0;
  color: var(--color-gray);
}

#hero_text a {
  width: 138px;
  height: 37px;
  background-color: var(--color-background);
  border: 1px solid var(--color-primary);
  color: var(--color-white);
  cursor: pointer;
  transition: background-color 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

#hero_text h2 {
  font-weight: 500;
}

#hero_text a:hover {
  background-color: var(--color-primary);
  color: var(--color-background);
}

#hero_image {
  position: absolute;
  top: 136px;
  left: calc(90% - 453px);
  height: 373px;
}

#current_work_container {
  position: absolute;
  top: 509px;
  left: calc(90% - 420px);
  width: 402px;
  height: 37px;
  border: 1px solid var(--color-gray);
  display: flex;
  align-items: center;
}

#blue_square {
  background-color: var(--color-primary);
  width: 16px;
  height: 16px;
  margin-left: 12px;
}

#current_work_container h2 {
  margin-left: 12px;
  color: var(--color-gray);
  font-weight: 500;
}

#current_work_container span {
  color: var(--color-white);
}

#quote_container {
  position: absolute;
  left: calc(50% - 450px);
  top: 658px;
  padding: 32px;
  border: 1px solid var(--color-gray);
  width: 832px;
}

#quote_container h2 {
  color: var(--color-white);
  font-weight: 500;
  font-size: 1.5rem;
  white-space: nowrap;
}

#quote_image {
  position: absolute;
  left: 11px;
  top: -14px;
  height: 29px;
  width: 41px;
}
#quote_image2 {
  position: absolute;
  left: 841px;
  top: 80px;
  height: 29px;
  width: 41px;
}

#author_container {
  position: absolute;
  left: calc(50% + 241px);
  top: 755px;
  height: 63px;
  width: 205px;
  border: 1px solid var(--color-gray);
  border-top: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

#author_container h2 {
  color: var(--color-white);
  font-weight: 500;
  font-size: 1.5rem;
  white-space: nowrap;
}

#square1 {
  position: absolute;
  top: 672px;
  left: calc(100% - 85px);
  height: 91px;
  width: 91px;
  border: 1px solid var(--color-gray);
  overflow: hidden;
}

/* Projects area */

.separator_container {
  position: absolute;
  top: 990px;
  left: 10%;
  right: 10%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.separator_container h1 {
  color: var(--color-white);
  font-weight: 500;
  font-size: 2rem;
  white-space: nowrap;
}

.separator {
  height: 1px;
  width: 511px !important;
  background-color: var(--color-primary);
  margin-left: 16px;
}

.separator_container h3 {
  color: var(--color-white);
  font-weight: 500;
  font-size: 1rem;
  white-space: nowrap;
}

#translatable_view_all_button {
  position: absolute;
  top: 990px;
  left: calc(90% - 138px);
  width: 138px;
  height: 37px;
  color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
}

#translatable_view_all_button h3 {
  font-size: 1rem;
  font-weight: 500;
}

.all_projects_container {
  position: absolute;
  top: 1080px;
  left: 10%;
  right: 10%;
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.project_container {
  width: 330px;
  border: 1px solid var(--color-gray);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.project_container img {
  width: 330px;
  height: 201px;
}

.project_technologies {
  display: flex;
  height: 37px;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  border-top: 1px solid var(--color-gray);
  border-bottom: 1px solid var(--color-gray);
}

.project_technologies p {
  margin: 0;
  margin-left: 8px;
  margin-right: 8px;
  color: var(--color-gray);
  font-size: 1rem;
}

.secondary img {
  height: 20px;
  width: 20px;
  margin-left: 8px;
}

.project_description {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: left;
}

.project_description h2 {
  color: var(--color-white);
  font-weight: 500;
  font-size: 1.5rem;
  white-space: nowrap;
}

.project_description p {
  color: var(--color-gray);
  font-size: 1rem;
}

.anchors_container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.project_description .primary {
  display: flex;
  width: 100px;
  height: 37px;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  border: 1px solid var(--color-primary);
}

.project_description .primary {
  display: flex;
  width: 100px;
  height: 37px;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  border: 1px solid var(--color-primary);
  transition: background-color 0.5s ease;
}

.project_description .primary:hover {
  background-color: var(--color-primary);
  color: var(--color-background);
}

.project_description .secondary {
  display: flex;
  margin-left: 16px;
  width: 100px;
  height: 37px;
  justify-content: center;
  align-items: center;
  color: var(--color-gray);
  border: 1px solid var(--color-gray);
  transition: background-color 0.5s ease;
}

.project_description .secondary:hover {
  background-color: #1ce2e340;
}

.project_technologies2 {
  height: 74px;
  line-height: 200%;
}

#square2 {
  position: absolute;
  top: 1260px;
  left: calc(100% - 70px);
  height: 155px;
  width: 155px;
  border: 1px solid var(--color-gray);
  overflow: hidden;
}

/* Skills area */

#second_separator_container {
  top: 1751px;
}

#second_separator_container .separator {
  width: 239px !important;
}

#patterns_group {
  position: absolute;
  left: calc(10% + 30px);
  top: 1825px;
  height: 282px;
  width: 349px;
}

#all_skillsets_container {
  position: absolute;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  flex-wrap: wrap;
  left: 40%;
  top: 1800px;
  height: 272px;
  width: 50%;
  max-width: 785px;
}

.skillset_container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid var(--color-gray);
}

.skillset_title {
  border-bottom: 1px solid var(--color-gray);
  padding: 8px;
}

.skillset_title h2 {
  color: var(--color-white);
  font-weight: 750;
  font-size: 1rem;
  white-space: nowrap;
}

.skillset_examples {
  padding: 8px;
}

.skillset_examples p {
  color: var(--color-gray);
  font-size: 1rem;
  margin: 0;
  line-height: 200%;
}

#first_skillset_container {
  width: 163px;
}

#second_skillset_container {
  width: 175px;
  margin-left: 35px;
}

#third_skillset_container {
  width: 181px;
  margin-left: 26px;
}

#fourth_skillset_container {
  width: 200px;
  position: relative;
  left: 0;
  top: -10px;
}

#fifth_skillset_container {
  width: 220px;
  margin-left: 16px;
  margin-top: 16px;
}

/* About_me area */

#third_separator_container {
  top: 2270px;
}

#third_separator_container .separator {
  width: 326px !important;
}

#about_me_container {
  position: absolute;
  top: 2335px;
  width: 515px;
}

#about_me_container p {
  color: var(--color-gray);
  font-size: 1rem;
}

#about_me_container h2 {
  color: var(--color-white);
  font-weight: 500;
  font-size: 1rem;
  white-space: nowrap;
}

#about_me_container a {
  width: 148px;
  height: 37px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--color-primary);
  color: var(--color-white);
  transition: background-color 0.5s ease;
}

#about_me_container a:hover {
  background-color: var(--color-primary);
}

#about_me_container a:hover h2 {
  color: var(--color-background);
}

#about_me_image {
  position: absolute;
  width: 650px;
  height: 446px;
  top: 2350px;
  left: calc(100% - 620px);
}

#about_me_image_border {
  position: absolute;
  top: 2795px;
  width: 353px;
  height: 1px;
  left: calc(100% - 620px);
  background-color: var(--color-primary);
}

/* Contact area */

#fourth_separator_container {
  top: 3000px;
}

#fourth_separator_container .separator {
  width: 127px !important;
}

#translatable_contact_text {
  position: absolute;
  top: 3065px;
  left: 10%;
  width: 505px;
  color: var(--color-gray);
}

#contact_card {
  position: absolute;
  top: 3065px;
  left: calc(90% - 324px);
  width: 290px;
  height: 107px;
  border: 1px solid var(--color-gray);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px;
}

#contact_card h2 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--color-white);
}

#contact_link {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

#contact_link img {
  height: 20px;
  width: 20px;
}

#contact_link p {
  margin: 0;
  margin-left: 8px;
  color: var(--color-gray);
  font-size: 1rem;
}

#contact_link:hover p {
  color: var(--color-white);
}

#contact_link2 {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

#contact_link2 img {
  height: 17px;
  width: 23px;
}

#contact_link2 p {
  margin: 0;
  margin-left: 8px;
  color: var(--color-gray);
  font-size: 1rem;
}

#contact_link2:hover p {
  color: var(--color-white);
}

#square3 {
  position: absolute;
  top: 2400px;
  left: -70px;
  height: 155px;
  width: 155px;
  border: 1px solid var(--color-gray);
  overflow: hidden;
}

/* Footer area */

#footer_separator {
  position: absolute;
  top: 3350px;
  left: 0;
  right: 0;
  height: 1px;
  width: 100%;
  background-color: var(--color-gray);
}

#email_container {
  position: absolute;
  top: 3382px;
  display: flex;
  align-items: center;
}

#email_container img {
  height: 16px;
  width: 16px;
}

#email_container h2 {
  margin-left: 9px;
  color: var(--color-white);
  font-weight: 500;
  font-size: 1rem;
}

#email_container p {
  margin: 0;
  margin-left: 24px;
  color: var(--color-gray);
  font-size: 1rem;
}

#translatable_job_title {
  position: absolute;
  top: 3422px;
  left: 10%;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 500;
}

#footer_media {
  position: absolute;
  top: 3382px;
  left: calc(90% - 102px);
  width: 104px;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

#footer_media h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 12px;
}

#footer_links img {
  height: 20px;
  width: 20px;
  margin-right: 8px;
}

#copyright {
  position: absolute;
  top: 3540px;
  color: var(--color-gray);
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

#dots {
  position: absolute;
  top: 3100px;
  left: -40px;
  height: 103px;
  width: 103px;
}

#year {
  color: var(--color-gray);
}

/* Extra stuff */

#warningTxt {
  text-align: center;
  color: var(--color-white);
  margin-top: 32px;
  font-size: 1rem;
  padding: 16px;
}

/* Media queries */
@media screen and (max-width: 1260px) {
  #simonGame {
    display: none;
  }
  .all_projects_container {
    justify-content: space-evenly;
  }
  #hero_image {
    position: absolute;
    top: 136px;
    left: calc(90% - 353px);
    height: 373px;
  }

  #current_work_container {
    position: absolute;
    top: 509px;
    left: calc(90% - 320px);
    width: 402px;
    height: 37px;
    border: 1px solid var(--color-gray);
    display: flex;
    align-items: center;
  }
}

@media screen and (max-width: 1173px) {
  #all_skillsets_container {
    width: 600px;
    left: 10%;
  }
  #patterns_group {
    left: 70%;
  }
}

@media screen and (max-width: 1120px) {
  #about_me_image {
    left: calc(100% - 420px);
  }
  #about_me_image_border {
    left: calc(100% - 420px);
  }
  #hero_image {
    height: 295px;
    left: calc(90% - 295px);
    top: 194px;
  }
  #current_work_container {
    top: 490px;
  }
  #square1 {
    display: none;
  }
  #first_separator_container {
    width: 650px;
  }
}

@media screen and (max-width: 1030px) {
  #patterns_group {
    display: none;
  }
  #contact_card {
    left: 10%;
    top: 3150px;
  }
  #hero_text {
    max-width: 400px;
  }
  #first_separator_container {
    width: 550px;
  }
}

@media screen and (max-width: 910px) {
  #quote_container {
    display: none;
  }
  #author_container {
    display: none;
  }
  #hero_text {
    max-width: 800px;
  }
  #hero_image {
    top: 400px;
    height: 353px;
    left: calc(50% - 176px);
  }
  #current_work_container {
    top: 753px;
    left: calc(50% - 176px);
  }
  #square3 {
    left: -100px;
  }
  #about_me_image {
    display: none;
  }
  #about_me_image_border {
    display: none;
  }
}

@media screen and (max-width: 860px) {
  #luminary {
    display: none;
  }
  #first_separator_container {
    width: 450px;
  }
  #hero_image {
    top: 500px;
  }
  #current_work_container {
    top: 853px;
  }
  #dots {
    display: none;
  }
}

@media screen and (max-width: 770px) {
  #nav_links_container {
    display: none;
  }
  #hamburger_menu {
    position: fixed;
    z-index: 2;
    display: block;
    height: 12px;
    left: calc(90% - 50px);
    margin-top: 32px;
  }
}

@media screen and (max-width: 730px) {
  #first_separator_container {
    width: 350px;
  }
  #all_skillsets_container {
    left: 0;
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
  }
  .skillset_container {
    width: 300px !important;
    margin: 0 !important;
    margin-bottom: 16px !important;
  }
  #fourth_skillset_container {
    left: 0 !important;
    top: 0 !important;
  }
  #third_separator_container {
    top: 2450px;
  }
  #about_me_container {
    top: 2500px;
  }
  .skillset_container:nth-child(2n) {
    margin-left: 40px !important;
  }
  .skillset_container:nth-child(2n + 1) {
    margin-right: 40px !important;
  }
  #square3 {
    display: none;
  }
}
@media screen and (max-width: 610px) {
  #first_separator_container {
    width: 280px;
  }
  #footer_email {
    display: none;
  }
}
