 *{
  box-sizing: border-box;
}

html, body {
  height: 100%;                
  margin: 8px;                   
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;      
}

header {
  background-color:  #C5BA9A;
  padding: 15px 15px;
  text-align: center;
  font-size: 1.5rem;
  color:#2B1114;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px; 
  flex-wrap: wrap; 
}

.main-logo {
   width: 200px;
  max-width: 80%; 
  height: auto; transition: transform 0.3s ease;
}

.main-logo:hover {
  transform: scale(1.2); cursor: pointer;
}

.my-name {
  font-size: 1.2rem; 
  font-weight: bold;
  color: #2B1114 }


section {
  flex: 1;           
  display: flex;
}

nav {
  flex: 1;
  background-color: #D39A1C;
  font-size: 20px;
  color:#2B1114;
  padding: 25px;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

nav ul li a {
  color: rgb(0, 0, 0);
  font-weight: none;
  text-decoration: underline;

  border-radius: 4px;
  transition: all 0.3s ease-in-out;
}

nav ul li a:hover {
  background-color: #CA3504;
  color: #000;
  transform: scale(1.5);
}

article {
  
  flex: 3;
  background-color: whitesmoke; 
  color: #2B1114;
  padding: 10px;
}


footer {
  background-color:  #C5BA9A;
  padding: 10px;
  text-align: center;
  color: whitesmoke;        
  text-decoration: none;  
  font-weight: none;     
  transition: color 0.3s;
  }
  
  footer a {
  color: whitesmoke;
  text-decoration: underline;
  transition: color 0.3s;
}

footer a:hover {
  color: black;
}

@media (max-width: 600px) {
  section {
    flex-direction: column;
  }
  .nav-menu {
    flex-direction: column;  
    gap: 10px;
  }
}
