/* --------------Document Styles--------------*/
* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100vh;
}

h1 {
  font-size: 72px;
  padding: 10px;
}

p {
  font-size: 24px;
  padding: 10px;
}

a {
  color: rgba(8, 56, 41, 1);
  text-decoration: none;
  font-weight: 700;
}

/* --------------Header Section-------------- */
header {
  display: block;
  position: relative;
  background-color: rgba(247, 244, 233, 1);
  height: 80px;
  width: 100%;
}

nav {
  height: 80px;
}

ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-left: 80px;
  margin-right: 80px;
  height: 100%;
}

nav ul li {
  position: relative;
  display: inline;
  padding: 8px;
  font-size: 20px;
  min-width: 180px;
  text-align: center;
}

nav ul li:hover {
  position: relative;
  border-top: 4px solid #083829;
  border-bottom: 4px solid #083829;
  border-radius: 15px;
  border-style: double;
  font-size: 28px;
  padding: 8px 8px;
}

nav ul li:hover~li:nth-child(n + 1),
ul li:has(~ li:hover) {
  opacity: .6;
  font-size: 16px;
}

nav ul li a:active {
  color: rgb(17, 44, 92);
}

#mobileMenu {
  display: none;
  position: absolute;
  width: 100%;
  height: auto;
  top: 45px;
  z-index: 10;
  background-color: white;
}

#mobileMenu li {
  padding: 15px;
  text-align: center;
}







/* --------------Main Content-------------- */
main {
  margin: 20px;
  padding: 15px;
  border-radius: 1em;
  border: 2px solid rgba(0, 0, 0, .2);
  box-shadow: 0px 0px 12.5px 2px rgba(0, 0, 0, 0.2);
  background-color: rgba(8, 56, 41, .9);
  /* width: 100%; */
}

main h1 {
  text-align: center;
  margin: 10px;
  background-color: rgba(8, 56, 41, 1);
  border-top-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
  transform: skew(-20deg)
}

/* --------------Content Cards-------------- */
.aboutMe {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 320px;
  justify-content: center;
  align-content: center;
}

.aboutMeCard {
  /* display: grid;
  grid-template: 2.5fr 2.5fr / 5fr 3fr;
  justify-items: end; */
  position: relative;
  height: 100%;
  max-width: 100%;
  margin: 10px;
  padding: 10px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0px 2px 5px 2px rgba(0, 0, 0, 0.8);
}

.aboutMeCard::before {
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  border-top: 8px solid rgb(102, 70, 22);
  border-image: linear-gradient(to right, rgb(255, 244, 206), rgba(255, 255, 255, 1)) 1;
}

.aboutMeCard .cardText {
  display: block;
  margin: 10px;
  grid-area: 1 / 1 / span 3 / span 1;
  padding: 20px;
  min-width: 40%;
}

.cardText li {
  padding: 10px;
}

.photoFrame {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid black;
  grid-area: 1 / 2 / span 2 / span 1;
  margin: 20px;
  background-color: rgba(247, 244, 233, 1);
}

.aboutMeCard img {
  display: flex;
  margin: 20px 20px 0px 20px;
  border-top: 20px solid black;
  border-bottom: 20px solid black;
  max-width: 400px;
  height: auto;
  object-fit: cover;
}

.w3-animate-fading {
  animation: fading 10s infinite
}

@keyframes fading {
  0% {
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.aboutMeCard p {
  text-align: center;
  padding-left: 20px;
}

.socialMediaLinks {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  height: 100%;
  max-height: 80px;
  min-height: 100px;
  max-width: 100%;
  margin: 10px;
  padding: 2px;
  border-radius: 8px;
  box-shadow: 0px 2px 5px 2px rgba(0, 0, 0, 0.8);
  background-color: white;
}

.socialMediaLinks img {
  width: auto;
  height: 50px;
}

.socialMediaLinks img:hover {
  height: 60px;
}





/* --------------Footer Section-------------- */
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(247, 244, 233, 1);
  color: white;
  height: auto;
  width: 100%;
  margin-top: auto;
  text-align: center;
  background-color: rgb(54, 1, 122);
}

footer p {
  font-size: 16px;
}


/* --------------Style Classes--------------*/
.hidden {
  display: none;
}

.visibilityHidden {
  opacity: 0%;
}


/* --------------Media Queries-------------- */
/* --------------Landscape Large--------------*/
@media screen and (orientation: landscape) and (max-width: 1366px) {
  svg {
    margin: 0 auto;
  }

  text {
    font-size: 38px;
  }

  p {
    font-size: 24px;
  }

  .socialMediaLinks img {
    width: 70px;
    height: 70px;
  }

  .socialMediaLinks img[alt="LinkedIn Logo"] {
    width: 75px;
    height: 70px;
  }


}

/* --------------Landscape Medium--------------*/
@media screen and (orientation: landscape) and (max-width: 845px) {
  path {
    transform: translate(-56%, -0%);
  }

  text {
    font-size: 38px;
  }

  header {
    height: 45px;
  }

  header nav ul {
    display: none;
  }

  nav {
    display: flex;
    position: relative;
    right: 10px;
    align-items: center;
    justify-content: flex-end;
    height: 45px;
  }

  .burgerContainer {
    cursor: pointer;
  }

  .bar1,
  .bar2,
  .bar3 {
    width: 35px;
    height: 5px;
    background-color: black;
    margin: 6px 0px;
  }

  .change .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
  }

  .change .bar2 {
    opacity: 0;
  }

  .change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
  }
}

/* --------------Landscape Small--------------*/
@media screen and (orientation: landscape) and (max-width: 768px) {
  path {
    transform: scale(.9) translate(-45%, 0%);
  }

  text {
    font-size: 38px;
  }
}

/* --------------Portrait Large--------------*/
@media screen and (orientation: portrait) and (max-width: 1024px) {
  path {
    transform: scale(.5);
  }

  text {
    font-size: 38px;
  }

  p {
    font-size: 24px;
  }

  header {
    height: 45px;
  }

  header nav ul {
    display: none;
  }

  nav {
    display: flex;
    position: relative;
    right: 10px;
    align-items: center;
    justify-content: flex-end;
    height: 45px;
  }

  .burgerContainer {
    cursor: pointer;
  }

  .bar1,
  .bar2,
  .bar3 {
    width: 35px;
    height: 5px;
    background-color: black;
    margin: 6px 0px;
    transition: 0.4s
  }

  .change .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
  }

  .change .bar2 {
    opacity: 0;
  }

  .change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
  }

  .aboutMeCard {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
  }

  .aboutMeCard .cardText {
    padding: 10px;
  }

  .aboutMeCard img {
    max-width: 255px;
    height: auto;
  }

  .aboutMeCard img {
    display: block;
    border-top: 10px solid black;
    border-bottom: 10px solid black;
    height: auto;
    object-fit: contain;
  }
}

/* --------------Portrait small--------------*/
@media screen and (orientation: portrait) and (max-width: 430px) {
  path {
    transform: scale(.5);
  }

  text {
    font-size: 38px;
  }

  p {
    font-size: 24px;
  }

  header {
    height: 45px;
  }

  header nav ul {
    display: none;
  }

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

  .aboutMeCard .cardText {
    padding: 10px;
  }

  .aboutMeCard img {
    max-width: 255px;
    height: auto;
  }
}