* {
  box-sizing: border-box;
}

:root {
  --side-padding: 10vw;
  --img-top-padding: 0.5rem;
  --img-size: 13rem;
}

body {
  margin: 0;
  /*padding-bottom: 1em;*/
}

header {
  width: 100vw;
  padding-left: var(--side-padding);
  padding-right: var(--side-padding);
  margin-bottom: 2vw;
  padding-bottom: 0.5rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 1em;
  padding-right: 1em;
}

#nav-Links {
  gap: 1rem;
}

#nav-Links li {
  /* TODO */
}

main {
  padding-left: var(--side-padding);
  padding-right: var(--side-padding);
  margin: 0;
}

.layout {
  display: grid;
}

#Profile-pic {
  grid-area: profile-pic;
}

#Profile-pic {
  margin-top: 0rem;
  margin-bottom: 0rem;
  padding-top: var(--img-top-padding);
  padding-bottom: var(--img-top-padding);
  width: var(--img-size);
  height: var(--img-size);
}

#name-container {
  grid-area: name;
}
#intro-info {
  grid-area: info-list;
}
#intro-container {
  grid-template-areas: "profile-pic name";
  /* 'profile-pic info-list'; */
  grid-template-columns: auto;

  align-items: center;
  justify-items: center; /*Still reasoning*/
}

#skill-container {
  grid-area: skills;
}

#skill-filter {
  display: flex;
  justify-content: space-evenly;
  text-align: center;
  gap: normal;
}

#aboutMe-container {
  grid-area: aboutMe;
}

h3 + #address {
  margin-top: -1em;
  margin-bottom: -1em;
}

#address {
  margin-left: 1em;
}

#about-me-text {
  text-align: center;
}

#about-me-summary > h3 {
  margin-bottom: -0.5rem;
}

.secondary-contianer {
  padding: 2em;
  padding-top: 0;
  padding-bottom: 0;
}

#profile-slider {
  grid-area: profiles;
}

#main-container {
  grid-template-areas:
    "aboutMe skills"
    "profiles profiles";
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

#slider {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 2rem;
}

#skillList {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  padding-bottom: 0.05rem;
}

progress {
  margin: 0 auto;
  width: 25vw;
  height: auto;
}

.skill-icon {
  margin-left: 1em;
  margin-right: 1em;
  height: auto;
  width: 2em;
}

.skill-pair {
  display: flex;
  justify-content: space-evenly;
  margin-top: 1em;
}

.accPic {
  width: 4rem;
  height: auto;
  margin: -1rem;
}

.profiles {
  padding: 0.05rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
}

#footer-content {
  padding-left: var(--side-padding);
  padding-right: var(--side-padding);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

#sidenav {
  position: fixed;
  display: none;

  margin-top: 0;
  margin-left: 0;
  top: 0;
  right: 0;

  width: 250px;
  height: 100vh;
  z-index: 999;

  flex-direction: column;
  align-items: flex-start;
  justify-items: flex-start;
}

#sidenav li,
a {
  width: 100%;
}

#close_btn{
  width: 3rem;
  height: auto;
}

#menu_btn{
  display: none;
}

#modal{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  /* z-index: 999; */

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#modal-button{
  display: flex;
  justify-content: space-around;
  align-items:center;
}

#modal-contain{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
}

fieldset{
  padding: 0.5rem;
  margin: 0.5rem;
}

@media (max-width: 730px) {
  .hideOnMoblie{
    display: none;
  }

  #menu_btn{
    display: block;
  }
  #menu_btn_img{
    width: 3rem;
    height: auto;
  }

  #intro-container {
    grid-template-areas:
      "name"
      "profile-pic";
    /* 'info-list'; */
    grid-template-columns: auto;
    grid-template-rows: auto auto;

    /* justify-content: space-between; */
    justify-content: center;
    justify-items: center;
    align-content: space-between;
    align-items: center;
  }

  #main-container {
    grid-template-areas:
      "aboutMe"
      "skills"
      "profiles";
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto auto;
  }

  #footer-content {
    padding-left: var(--side-padding);
    padding-right: var(--side-padding);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    /* justify-items: center; */
    /* align-content: center; */
    justify-content: space-around;
  }

  nav {
    display: flex;
    /* flex-direction: column; */
    justify-content: space-between;
    align-items: center;
  }

  #nav-Links {
    flex-wrap: wrap;
  }
}
