.navbar {
    background-color: #6493AA;
    color: white;
}

.nav-item {
    padding-left: 2rem;
}

.nav-item a:hover {
    color:#ffbd61;
}

.nav-item a:active {
    color:cyan;
}

.nav-link a:hover {
    color: white;
}

#dropdown-items a:hover{
    color: #6493AA; 
}

.nav-link a:active {
    color: #ffbd61;
}

.navlink {
    color: white;
}


body {
    background-image: linear-gradient(#ffbd61, #7AB1BB);
    font-family: 'Urbanist', sans-serif;
    color: #181828;
}

.card-title {
    font-style: italic;
}

.carousel {
    width: 100%;
    height: 100%;
    min-width: 42.5rem;
    min-height: 31.25rem;
    max-width: 42.5rem;
    max-height: 31.25rem;
    margin-left: auto;
    margin-right: auto;
}

.carousel img {
    min-width: 42.5rem;
    min-height: 31.25rem;
    max-width: 42.5rem;
    max-height: 31.25rem;

}



.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    object-fit: cover;
}

h1 {
    text-align: center;
    margin-top: 7rem;
    margin-bottom: 3rem;
}

.center-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 65%;
}

h1, h2{
    text-align: center;
}

.Miyazaki h2 {
    margin-bottom: 3rem;
    margin-top: 10rem;
}

.Miyazaki img {
    border-radius: 5rem;
    width: 9.375rem; 
    height: 9.375rem;
    object-fit: cover; 
    overflow: hidden; 
}

.Miyazaki {
    Margin-bottom: 10rem;
    justify-content: space-evenly;
    justify-items: center;
    align-content: space-evenly;
    align-items: center;
    text-align: center;
}

.film-cards {
    margin-bottom: 10rem;;
    justify-content: space-evenly;
    justify-items: center;
    align-content: space-evenly;
    align-items: center;
    text-align: center;
}

.film-cards h2 {
    padding-bottom: 1.2rem;
}

.Ghibli-art {
    margin-bottom: 13rem;
    margin-left: auto;
    margin-right: auto;
}

footer {
    text-align: center;
    padding: .5rem;
    background-color: #ffbd61;
}

.Ghibli-art p {
    text-align: center;
}

.Ghibli-art h2 {
    margin-top: 5rem;
    margin-bottom: 2rem;
}

.col-2 {
    background-color: #6493AA;
    color: white;
    margin-left: 2rem;
    margin-right: 2rem;
    border-radius: .5rem;
}

.nav-button {
    color: white;
    border-color: white;
}

.container {
    justify-content: space-evenly;
    justify-items: center;
    align-content: space-evenly;
    align-items: center;
    text-align: center;
}

.container img {
    margin-top: .6rem;
    margin-bottom: .6rem;
}

.container p {
    padding: 1rem;
}

.container h3 {
    padding-top: 1rem;
}

.writer {
    margin-left: 6.3rem;
}



.card {
    width: 100%;
    height: 100%;
    min-width: 18rem;
    min-height: 29rem;
    max-width: 18rem;
    max-height: 29rem;
    Margin: 1rem;
}

.filmbutton {
   
    padding: 1rem;
    background-color: #6493AA;
    color: white;
    border-color: white;
    margin-bottom: 1.3rem;
}

.filmbutton a:hover {
    background-color: white;
    color:#181828;
    border-color: #181828;
}

.lower-hr {
    margin-top: 8rem;
    margin-bottom: 4rem;
    margin-left: 10rem;
    margin-right: 10rem;
    color:#fbe6ec;
    border-width: .25rem;
}

.timeline {
    padding: 2rem 8rem 10rem 8rem;
}

.timeline h2 {
    margin-bottom: 3rem;
}
.timeline h4 {
    text-decoration: underline;
}

.footer {
    padding: 1rem;
    color:#181828;
}






@media screen and (max-width: 800px){
    .writer {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .director {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .artist {
        margin-left: 1rem;
        margin-right: 1rem;
    }      
    
    .col-sm-3 {
        margin-bottom: 1rem;
        margin-right: 2rem;
    }

    .center-img {
        justify-content: space-evenly;
        justify-items: center;
        align-content: space-evenly;
        align-items: center;
        text-align: center;
    }

    .navbar {
        width: 100%;
    }
}

