
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
    background-color: #22b2b2;
    margin: 0;
    height: 100%;
}

.header {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  padding: 10px 20px;
  background-color: #B22222;
  border: 1px solid black; 
  font: black;
}

.Lefthead a {
  display: flex;
  align-items: center;
}

#Logo {
  
  width: 125px;
  height: 125px;
  margin-right: auto;
  margin: -30px 0px -15px 0;
  
}

.nav-list {
  display: flex;
  justify-content: flex-start;
  list-style: none;
  padding: 1rem;
 
}

.nav-list ul {
    list-style: none;
    display: flex;
}

.nav-list ul li {
  margin: 0 40px 0 40px;
}

.nav-list ul li a {
  box-shadow: inset 0 0 0 0 #22b2b2;;
  color: black;
  padding: 0 .25rem;
  margin: 0 -.25rem;
  transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
  text-decoration: none;
  font-size: 2rem;
}

.nav-list a:hover {
  color: #fff;
  box-shadow: inset 200px 0 0 0 #22b2b2;
  border-radius: 8px;
}

.main-content {
  padding: 20px;
}

.main-title {
  font-size: 32px;
  margin-bottom: 20px;
}

.intro-text {
  font-size: 18px;
}

aside {
  height: 50%;
  border: 1px solid black;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
  background-color: rgb(255, 255, 255, 0.5);
}

.carousel-inner {
  max-width: 300px;
  margin: 0 auto;
  
}

.main-content {
  padding: 20px;
}

.main-title {
  font-size: 32px;
  margin-bottom: 20px;
}

.intro-text {
  font-size: 18px;
}

.about-container {
  display: flex;
  flex-direction: row;
}

.summary {
  text-align: center;
  flex: 1;
}

.resume {
  text-align: center;
  flex: 1;
 
}

.resume img {
    width: 75%;
    height: 75%;
}

footer {
 text-align: center;
  background-color: #B22222;
  margin-top: auto;

  padding: 20px;
  border-top: 1px solid #ddd;
}
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.menu-toggle div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .nav-list {
    flex-direction: column;
    display: none;
    align-items: center;
    background-color: black;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 10px 0;
  }
  .nav-list.active {
      display: flex;
      
  }
  .nav-list .nav-item {
      margin: 10px 0;
      text-align: center;
      margin: 0px 30px 0px 30px;
  }
  .nav-list .nav-item a {
    color: white;
    font-size: 1.2rem; 
  }
  .menu-toggle {
      display: flex;
  }
  .menu-toggle.active div:nth-child(1) {
      transform: rotate(45deg);
      top: 8px;
      position: relative;
  }
  .menu-toggle.active div:nth-child(2) {
      opacity: 0;
  }
  .menu-toggle.active div:nth-child(3) {
      transform: rotate(-45deg);
      top: 0px;
      position: relative;
  }
  img {
      width: 1px;
  }
}