*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:Arial, Helvetica, sans-serif;
  }
  :root{
    --background-color: rgb(90, 88, 88);
    --text-color: rgb(255, 255, 255);
    --title-color: rgb(11, 178, 255);
  }
  body{
    background: var(--background-color);
    color: var(--text-color);
  }
  body.dark-mode{
    --background-color: rgb(84, 81, 81);
    --text-color: rgb(0, 0, 0);
    --title-color: rgb(0, 0, 0);
  }
  .header{
    width: 100%;
    min-height: 100vh;
    padding: 0 8%;
    position: relative;
    overflow: hidden;
  }
  nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
  }
  nav .logo{
    text-decoration: none;
    color: var(--title-color);
    font-size: 2rem;
    font-weight: 600;
  }
  nav .list{
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  nav .list ul{
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  nav .list ul li a{
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    color: var(--title-color);
    transition: 1.5s;
  }
  nav .list ul li a:hover{
    color: blue;
  }
  .switch{
    font-size: 20px;
    position: relative;
    display: inline-block;
    width: 3.5rem;
    height: 2rem;
  }
  .switch input{
    opacity: 0;
    width: 0;
    height: 0;
  }
  .switch .slider{
    background: rgb(255, 255, 255);
    position: absolute;
    cursor: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 1.5s;
    border-radius: 20px;
  }
  .slider::before{
    position: absolute;
    content: "";
    height: 1.5rem;
    width: 1.5rem;
    border-radius: 50%;
    left: 10%;
    bottom: 20%;
    box-shadow: inset 8px -4px 0 0 rgb(0, 0, 0);
    transition: 1.5s;
  }
  input:checked+.slider{
    background-color: rgb(0, 0, 0);
  }
  input:checked+.slider::before{
    transform: translateX(100%);
    box-shadow: inset 15px -4px 0 15px rgb(255, 255, 255);
  }
  .content .left {
    font-size: 2rem;
    font-weight: 100;
    letter-spacing: 0.6px;
    color: var(--text-color);
  }
  .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-item {
    width: 400px;
    height: 300px;
    margin: 20px;
    background-color: #f2f2f2;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    transition: transform 0.3s ease-in-out;
}

.gallery-item:hover {
    transform: scale(1.1);
}