@import url("https://fonts.googleapis.com/css?family=Montserrat" );

* {
    box-sizing: border-box;

}

body {
    max-width: 100%;
    max-height: 100%;
    background-image: url("../Logos/assassins_creed_4_black_flag-1920x1080.jpg");
    font-family: Montserrat, sans-serif;
}


 h1 {
    background-color: transparent;
    color: white;


    width: 100%;
    height: 70px;
    line-height: 60px;
    margin: -8px;
    margin-left: 18px;
    font-size: 30px;
 }

 h1 a {
     text-decoration: none;
     list-style: none;
     color: #ffffff;
 }


ul {
    list-style-type: none;

    padding: 0;
    overflow: hidden;
    background-color: transparent;
    width: 100%;
    height: 100%;
    margin-left: -8px;
    margin-top: 8px;

}

li {
    float: left;
    letter-spacing: 1px;
    font-size: 21px;



}

/* Characters dropdown */

li a, .charButton {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    width: 132px;

}

li a:hover, .charButton:hover .charButton-content {
    background-color: darkviolet;
}

li.dropdown {
    display:    inline-block;


}

.charButton-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;

}

.charButton-content a {
    background-color: black;
    color: white;
    padding: 18px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.charButton-content a:hover {background-color: darkmagenta}

.dropdown:hover .charButton-content {

    display: block;
}


/* Cities dropdown */

li a, .charButton2 {

    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    width: 132px;
}

li a:hover, .charButton2:hover .charButton-content2 {
    background-color: darkviolet;
}

li.dropdown2 {
    display: inline-block;
}

.charButton2-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
}

.charButton2-content a {
    background-color: black;
    color: white;
    padding: 18px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.charButton2-content a:hover {background-color: darkmagenta}

.dropdown2:hover .charButton2-content {

    display: block;
}
/* Create responsive */

@media only screen and (min-width: 980px) {

    body {
        width: 100%;
        height: auto;
        background-image: url("../Logos/assassins_creed_4_black_flag-1920x1080.jpg");
        background-repeat: no-repeat;
        background-position: center center;
        background-attachment: fixed;
        background-size: cover;
    }

    ul {
        width: 100%;
        height: 100%;
    }

   .nav h1 {
        text-align: left;

    }

}

@media only screen and (min-width: 768px) and (max-width: 979px) {

    body {
        width: 100%;
        height:100%;
        background-image: url("../Logos/assassins_creed_4_black_flag-1920x1080.jpg");
        background-repeat: no-repeat;
        background-position: center center;
        background-attachment: fixed;
        background-size: cover;
    }

    ul {
        width: 100%;
        height: 100%;
    }

    .nav h1 {
        width: 100%;
        height: 100%;

        text-align: left;
    }

}

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

    body {
        width: 100%;
        height:  100%;
        background-image: url("../Logos/assassins_creed_4_black_flag-1920x1080.jpg");
        background-repeat: no-repeat;
        background-position: center center;
        background-attachment: fixed;
        background-size: cover;

    }

    ul {
        width: 100%;
        height: 100%;
    }

    .nav h1 {

        text-align: left;
        width: 100%;
        height: 100%;
    }

}

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

    body {
        width: 100%;
        height: 100%;
        background-image: url("../Logos/assassins_creed_4_black_flag-1920x1080.jpg");
        background-repeat: no-repeat;
        background-position: center center;
        background-attachment: fixed;
        background-size: cover;

    }

    ul {
        width: 100%;
        height: 100%;

    }

    li {
        font-size: larger;
    }

    .nav h1 {
        text-align: left;
        width: 100%;
        height: 100%;
        font-size: larger;

    }
}

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

    body {
        width: 100%;
        height:  100%;
        background-image: url("../Logos/assassins_creed_4_black_flag-1920x1080.jpg");
        background-repeat: no-repeat;
        background-position: center center;
        background-attachment: fixed;
        background-size: cover;

    }

    ul {
        width: 100%;
        height: 100%;

    }

    li {
        font-size: larger;
    }

    .nav h1 {
        text-align: left;
        width: 100%;
        height: 100%;
        font-size: larger;

    }

}