body {
    background-color:#8ba8ae
}

h1 {
    text-align: center;
    font-size: 150px;
    font-family: "Sigmar One", sans-serif;
    color: transparent;
    background-image: url(berge.JPG);
    background-size: 750px;
    background-clip: text;
    animation: animate1 20s linear infinite;
  }

@keyframes animate1 {
    to {
    background-position-x: -500px;
    }
}
    
h2 {
    text-align: center;
    font-size: 50px;
    margin-top: -140px;
    font-family: "Sour Gummy", sans-serif;
    margin-bottom: 100px;
    color: #ffffff 
}

nav ul{
    display: flex;
    justify-content: center;
    gap: 300px;
    list-style: none;
    padding: 0;
    font-size: 20px;
    background-color: #8ba8ae
}

nav a{
    text-decoration: none;
    color: #fbfbfb;
    transition: 0.3s;
}

nav a:hover {
    color: #456072;
    font-size: 25px;
    font-family: "Sigmar One", sans-serif;
    text-decoration: underline;
}

nav {
    font-family: "Sour Gummy", sans-serif;
    margin-bottom: 100px;
}

.container {
    overflow: hidden;
    width: 100%;
    border-radius: 8px;
    background: white;
    padding: 20px 0;

   
}

.wrapper {
   display: grid;
   grid-auto-flow: column;
   grid-auto-columns: 12rem;
   gap: 2rem;
   width: max-content;
   animation: animate 20s linear infinite;
}

.wrapper img {
width: 100%;
height: 14rem;
object-fit: cover;
transition: transform 0.2s ease-in-out;
}

.wrapper img:hover {
    transform: scale(1.3)translateY(-30px);
}

.container:has(img:hover){
    overflow: visible;
}

@keyframes animate {
    to {
        transform: translateX(calc(-3 * (12rem + 2rem)));
    }
}

h3 {
    font-family: "Sigmar One", sans-serif;
    font-size: 40px;
    color: #456072
}

h4 {
    font-family: "Sigmar One", sans-serif;
    font-size: 40px;
    color: #456072
}


