body {
    background-color: white;
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto auto auto;
    margin: 0;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: lightblue;
    padding: 15px;
    position: fixed;
    width: 10%;
    height: 100vh;
    top: 0;
    left: 0;
    box-shadow: 4px 0px 6px rgba(0, 0, 0, 0.1);
    z-index: 4;
}

a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px;
    width: 100%;
    text-align: left;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
    margin-top: 80px;
    font-size: 30px;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

a:hover {
    color: blue; 
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateX(5px); /* A subtle slide effect */
}


.enter {
    grid-column: 2;
    grid-row: 2;
    text-align: center;
    margin: auto;
}

#header2{
    grid-column: 2;
    grid-row: 4;
    margin: auto;
    margin-bottom: 6%;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 5px; 
    background-color: lightblue;
    font-size: 20px;
    color: white;
}

.imgScroll{
    grid-column: 3;
    grid-row: 1/4;
}

.imgScroll img{
    width: 50%;
    height: 50%;
    margin:auto;
    padding: 10px 10px 10px 10px;
}

#MixerLoc{
    grid-column: 2;
    grid-row: 3;
    width: 100%;
    padding: 10px; 
    display: flex;
    flex-direction: column; 
    align-items: center; 
}

#Mixerloc h3{
    text-align: center;
}

#Mixer1{
    display: flex;
    justify-content: center;
    align-items: center;
}

#Mixer1 button{
    color:black;
    padding: 10px;
    margin:10px
}

.learn {
    grid-column: 2;
    grid-row: 2;
    max-width: 80%;
    margin: auto;
    text-align: left;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.solid-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.rock {
    width: 40%;
    border-radius: 10px;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.2);
}

.solid-text {
    flex: 1;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

.learn h1, .learn h3 {
    text-align: center;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

.learn ul {
    list-style: none;
    padding: 0;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

.learn ul li {
    background-color: #ddd;
    margin: 5px 0;
    padding: 8px;
    border-radius: 5px;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

.gallery {
    margin-left: 12%;
    text-align: center;
}

.gallery-container {
    display: grid;
    grid-template-columns: auto auto;
    gap: 100px;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    padding: 20px;
    margin-bottom: 5%;
    
}

.gallery-item {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 5px 5px 15px 15px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    margin-left: 10%;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.learn p{
    text-align: center;
    z-index: 2;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

p{
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

#logo:hover{
   /* Start the shake animation and make the animation last for 0.5 seconds */
   animation: shake 0.5s;

   /* When the animation is finished, start again */
   animation-iteration-count: infinite;
 }
 
 @keyframes shake {
   0% { transform: translate(1px, 1px) rotate(0deg); }
   10% { transform: translate(-1px, -2px) rotate(-1deg); }
   20% { transform: translate(-3px, 0px) rotate(1deg); }
   30% { transform: translate(3px, 2px) rotate(0deg); }
   40% { transform: translate(1px, -1px) rotate(1deg); }
   50% { transform: translate(-1px, 2px) rotate(-1deg); }
   60% { transform: translate(-3px, 1px) rotate(0deg); }
   70% { transform: translate(3px, 1px) rotate(-1deg); }
   80% { transform: translate(-1px, -1px) rotate(1deg); }
   90% { transform: translate(1px, 2px) rotate(0deg); }
   100% { transform: translate(1px, -2px) rotate(-1deg); }
 }