@charset "UTF-8";

nav ul{
    list-style-type: none;
    background-color: blue;
    padding: 0;
    overflow:hidden;
    display:flex;
    justify-content: space-evenly;
    border-style:none;
    border-width: 2px;
    border-radius: 10px;
}
nav ul li{
    float:left;
}

nav ul a:link,nav ul a:visited {
    display: flex;
    text-align: center;
    color: white;
    padding:10px;
    text-decoration: none; 

}
nav ul li a:hover{
    background-color: red;
}
main{
    background-color: white;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
}
main h2, main p {
    text-align: center;
    margin: 40px;
}
body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    max-width: 1000px;
    margin: auto;
    background-color: cornflowerblue;
}
div{
    padding: 0px;
    margin: 20px;
}
.hero-image{
    background-image: url(../images/Superman2025-hero.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    height: 413px;
    border-style: none;
    border-radius: 10px;
}
.hero-text{
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    height:313px;
    color: white;

}
.hero-text a:link, a:visited{
    text-decoration: none;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
    padding: 5px;
    background-color: aliceblue;
    color: blue;

}
.hero-text a:hover {
    text-decoration: none;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
    padding: 5px;
    background-color: grey;
    color: black
}

.grid-container {
    background-color: rgb(147, 184, 253);
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: 200px 200px 200px 200px;
    justify-content: center;
    justify-items: center;
    row-gap: 20px;
    border-style: solid;
    border-color: red;
    border-radius: 10px;
}
.grid-item{
    text-align: center
}
.grid-container-cast{
    background-color: rgb(147, 184, 253);
    display: grid;
    grid-template-columns: 300px 300px 300px;
    grid-template-rows: 500px 500px 500px;
    justify-content: center;
    justify-items: center;
    border-style: solid;
    border-color: red;
    border-radius: 10px;
}
.grid-item-cast{
    text-align: center;
}
footer {
    padding:20px;
    text-align: center;
    
}
a href {
    display: block;
}