:root {
    --p-font: "Inter", sans-serif
}



body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: var(--p-font)
}

.sect {
    /*I like using vw and vh to help the code be a little more responsive, and have been using this in my past experiences also*/
    width: 100vw;
    height: 100vh;
}

#hero-sect {
    background: url("./background-hero.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: start;
    background-color: aqua;
}

#hero-elements {
    display: flex;
    flex-direction: row;
}

#hero-title {
    margin-left: 2vw;
    font-size: 15vw;
    font-weight: 500;
    width: 100%;
}

#professional-photo {
    width: 17vw;
    height: auto;
    margin-bottom: 2vw;
    transform: translateY(-7%);
    margin-left: 3vw;
    border-radius: 20px;

    /*the following lines were autogenerated by the extension css-auto-prefix. This helps make the property available for different web browsers. The extension was in the list of extensions we were required to download before class. */
    -webkit-transform: translateY(-7%);
    -moz-transform: translateY(-7%);
    -ms-transform: translateY(-7%);
    -o-transform: translateY(-7%);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

#hero-sub {
    margin-left: 3vw;
    font-size: 1.5vw;
    font-weight: 600;
    color: #7e7c6c;
}   

.nav-bar {
  overflow: hidden;
  background-color: #333333;
  position: fixed;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 25vw;
  height: 5vh;
  border-radius: 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  /*the following lines were auto generated by the extension css-auto-prefix.This helps make the property available for different web browsers. The extension was in the list of extensions we were required to download before class.*/
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

#nav-list {
    margin: 0;
}

.nav-li {
    text-decoration: none;
    color: white;
    padding: 1% 4% 1% 4%;
    background-color: #4c4c4c;
    border-radius: 20px;
    
}

.nav-li:hover {
    background-color: white;
    color: #4c4c4c;
}

#resume {
    display: flex;
    flex-direction: column;
}

#resume #hero-title {
    font-size: 10vw;
}

.footer {
  background-color: #1f1f1f;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px;
  width: 100vw;
}

.footer-icon {
  width: 20px;
  background-color: #ffffff;
  padding: 5px;
  border-radius: 10px;
  height: 20px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.footer-icon:hover {
    scale: 1.2;
}

