
body {
    margin: 0;
    padding: 0;

}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: gray;
    color: white;
}

.brand-title {
    font-size: 1.5rem;
    margin: .25rem;
    padding: .25rem;

   
}

.brand-title li {
    list-style: none;
}

.brand-title li a {
    text-decoration: none;
    color: white;
    padding: 1rem;
    display: block;
}


.navbar-links ul {
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar-links li {
    list-style: none;
}

.navbar-links li a {
    text-decoration: none;
    color: white;
    padding: 1rem;
    display: block;
}

.navbar-links li:hover {
    background-color: darkgray;
    opacity: .8;
}

.toggle-button {
    position: absolute;
    top: .75rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 31px;
    height: 21px;
}

.toggle-button .bar {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
}

@media (max-width: 600px) {
 .toggle-button {
     display: flex;
 }

 .navbar-links {
     display: none;
     width:100%
 }

 .navbar {
     flex-direction: column;
     align-items: flex-start;
 }

 .navbar-links ul {
     width: 100%;
     flex-direction: column;
 }

 .navbar-links li {
     text-align: center;
 }

 .navbar-links a {
     padding: 1rem 1rem;
 }

 .navbar-links.active {
     display: flex;
 }

}
.container {  
    display: grid;  
    grid-gap: 30px;  
    grid-template-columns: repeat(auto-fit, minmax(350px, 2fr));
    grid-template-rows: repeat(2, 280px);  
    padding-top: 20px;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 50px;
}

.container > div > a > img {  
    width: 100%;  
    height: 100%;  
    object-fit: cover;  
}

a :hover {

    opacity: .75;
}
