* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

header .header {
display: flex;
justify-content: space-between;
align-items: center;
/* border: solid; */
padding: 1rem;
}

.header ul  {
/* border: solid; */
display: flex;
justify-content: space-around;
width: fit-content;
align-items: center;
list-style: none;
font-size: 1.5rem;
padding: 1.5rem;
}

.header h1 {
font-family: "Great Vibes", cursive;
font-weight: bold;
font-style: normal;
font-size: 48px;

}

.header a {
text-decoration: none;
color: black;
margin-left: 25px;
font-weight: bold;
}

.navbar ul {
display: flex;
justify-content: space-around;
border-top: solid gray;
border-bottom: solid gray;
align-items: center;
padding: 1rem;
font-size: 30px;
list-style: none;
}

.navbar ul a {
text-decoration: none;
color: black;

}

.container {
display: grid;
grid-template-columns: repeat(3, 1fr);
/* background-color: aqua; */
gap: 1.3rem;
max-width: 1200px;
margin: 2rem auto;


}

.cards img {
width: 100%;
height: 100%;
/* border: green solid 6px; */
}

.cards {
/* border: solid  7px rgb(116, 2, 2); */
position: relative;


} 

.cards p {
position: absolute;
text-align: center;
/* border: solid; */
width: 100%;
bottom: 0%;
background-color: rgba(109, 105, 103, 0.61);
height: 60px;
/* display: flex;
align-items: center;
justify-content: center; */
padding: 15px;
color: white;
font-size: 1rem;
font-weight: bold;
}

footer {
background-color: black;
}

.footer-nav {
display: flex;
justify-content: space-between;
/* border: solid red; */
width: 50%;
margin: auto;

}
.footer-nav p {
width: 190px;
border-right: rgba(255, 255, 255, 0.582) solid;
text-align: center;
}
.footer-nav .border-left {
border-left: rgba(255, 255, 255, 0.582);
border-right: none;
}

.footer-nav a {
color: white;
font-size: 20px;
text-decoration: none;
}

.icons {
display: flex;
justify-content: center;
/* border: solid red; */
}

.icons a {
color: white;
font-size: 20px;
/* border: solid yellow; */
padding: 25px;
padding-bottom: 12px;
}

footer p {
color: white;
text-align: center;
font-size: larger;
padding: 15px;
}

@media screen and (width <= 480px){
    .container {
    grid-template-columns: 1fr;
    margin: 2rem auto;
    min-width: 415px;
    }
    .header {
    width: 480px;
    }
    .navbar ul {
    width: 480px;
    font-size: 15px;
    }
    footer {
    width: 480px;
    }
    .footer-nav {
    justify-content: center;
    }
}

/* Tablet min-width in a real situation min-width = 718px */
@media screen  and (min-width: 481px ) and (max-width: 1024px) {
    .container {
    grid-template-columns: repeat(2, 1fr);
    margin: 2rem auto;
    }
}
