@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

* {
    text-decoration: none!important;
}

body {
    margin: 0;
    padding: 0;
    color: white;
    font-family: 'Anton', sans-serif;
}


button {
    box-shadow: 0 0 5px red;
    font-family: 'Anton', sans-serif;
    font-size: 20px;
    background: black;
    color: white;
    padding: 20px;
    border-radius: 20px;
    margin: 5px;
}

button:hover {
    background: rgba(255, 0, 0, 0.274);
}

button:active {
    color: black;
    background: red;
    border: 0;
    box-shadow: 0 0 5px yellow;
}

/* TOP-NAV */


#top-nav {
    background-color: black;
    position: sticky;
    width: 100vw;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;

}

#name-surname a {
    padding: 20px;
    color: white;
}

nav {
    display: inline-block;
}

#nav a {
    padding: 10px;
    color: gray;
}

#nav a:hover {
    color: white;
    transition: .2s;
}

#top-social {
    padding-inline: 20px
}

#top-social a {
    padding: 10px;
    padding: 20px;
    margin: 10px;
    color: gray;
}

#top-social a:hover {
    color: white;
    transition: .2s;
}

.dropbtn {
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: black;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}


/* mobile-nav */

#ellipsis {
    display: none;
}

#ellipsis a {
    color: white;
}

.fa-ellipsis {}

#mobile-nav {
    background-color: black;
    font-size: 30px;
    text-align: center;
    padding-bottom: 10px;
    position: absolute;
    right: 0;
    width: 100%;
    display: none;
}

#mobile-nav div {
    padding: 20px;
}

#mobile-nav div a {
    color: gray;
}

#mobile-nav div a:hover {
    color: white;
}

#ellipsis:hover #mobile-nav {
    display: block;
    transition: 1s;
}

/* SECTION */

.coraline {
    background-image: url('../img/Coraline.jpg')
}

#carouselExampleDark {
    margin-top: 80px;
}

.carousel-caption {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
        margin: 0 auto;
}

#accordionExample {
    margin-top: 90px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color: white;
}

header {
    background-image: url('../img/Wallpaper.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: calc(100vh - 80px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 30px;
}
header#autore {
    background-image: url("../img/Cataldo.png");
}

header #book img {
    width: 85vw;
    max-width: 400px;
    box-shadow: 2px 2px 20px gray;
}

/* INFO BOOK */

header #info-book {
    max-width: 340px;
    font-size: 0.5em;
    font-weight: 100;
    margin: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px black;
    text-align: center;
    font-family: 'Roboto';
}

header #info-book a {
    color: white;
}

/* TRAILER */

section#trailer {
    background-color: black;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 25px;
    letter-spacing: 2px;
    padding: 50px 0;
}


section#trailer-coraline {
    background-color: black;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 25px;
    letter-spacing: 2px;
    padding: 50px 0;
}

section#trailer h1 {
    color: gray;
    font-weight: 300;
    letter-spacing: 1px;
    font-size: 20px;
    font-family: 'Roboto';
}



iframe {
    max-width: 800px;
    max-height: 500px;
    width: 90%;
    height: 45vw;
    border-radius: 30px;
    box-shadow: 0px 0px 10px red;
    margin-block: 40px;
}

#trailer-coraline iframe {
    box-shadow: 0px 0px 10px aqua;
}

#trailer img {
    width: 90%;
    max-width: 800px;
    border-radius: 20px;
}

/* LIBRERIA */

section#libreria {
    background-image: url(../img/Wallpaper2.png);
    background-size: cover;
    min-height: calc(60vh - 50px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
}

section#libreria a {
    color: white;
}

section#libreria h1 {
    font-size: 5rem;
    margin: 0px;
}

section#libreria h2 {
    font-family: 'Roboto';
    filter: blur(0);
}

section#libreria #buy {
    text-align: center;
    max-width: 600px;
}
section#libreria-coraline {
    background-image: url(../img/Wallpaper2.png);
    background-size: cover;
    min-height: calc(60vh - 50px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
}

section#libreria-coraline button {
    border: 1px solid aqua;
    box-shadow: 0 0 5px aqua;
}

section#libreria-coraline button:hover {
    background-color: rgba(0, 255, 255, 0.424);
}

section#libreria-coraline a {
    color: white;
}

section#libreria-coraline h1 {
    font-size: 5rem;
    margin: 0px;
}

section#libreria-coraline h2 {
    font-family: 'Roboto';
    filter: blur(0);
}

section#libreria-coraline #buy {
    text-align: center;
    max-width: 600px;
}

/* FOOTER */

footer {
    background-color: rgb(32, 32, 32);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-inline: 2%;
    text-align: center;

}

footer a {
    font-size: 24px;
    color: white;
    padding: 5%;
}

footer p {
    font-family: 'Roboto';
    font-size: 15px;
    max-width: 300px;
}

footer p a {
    font-size: 15px;
    padding: 0;
}

/* TO TOP */

#toTop {
    font-size: 50px;
    position: fixed;
    bottom: 10px;
    right: 10px;
}

#toTop a {
    color: gray;
}

#toTop a:hover {
    color: white
}

/* VIEWPORT */

@media screen and (max-width: 1100px) {

    header {
        transition: 1s;
    }
    #top-social,
    #nav {
        display: none;
    }

    #ellipsis {
        display: block;
        color: white;
        padding-inline: 40px;
    }
}

@media screen and (max-width:600px) {


    footer {
        display: flex;
        flex-direction: column;
    }
 
}