/* General styles */

* {
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: "Rubik", sans-serif;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}



/* Navbar */
.navbar-brand {
    margin-left: 50px;   
}

#navbarSupportedContent {
    margin-right: 20px;
}

/* Hero */

.hero-image {

    background-image:url(../images/hero-img.jpg);
    height:500px;
    width:100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    margin-top:55px;
    
}

.hero-image-2 {

    background-image:url(../images/hero-img-2.jpg);
    height:500px;
    width:100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    margin-top:55px;
}
.hero-image-3 {

    background-image:url(../images/hero-img-3.jpg);
    height:500px;
    width:100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    margin-top:55px;
}

.hero-text {
    text-align:center ;
    padding-top: 30px;
    color:#3c633d;
    font-size: large;
}

.hero-text-2 {
    text-align:center ;
    padding-top: 30px;
    color:#2d5d2f;
    font-size: large;
}

.hero-text-3 {
    text-align:center ;
    padding-top: 50px;
    color:#3a6b3c;
    font-size: large;

}

.hero-text h1 {
    font-size: 75px;
}

.hero-text-2 h1 {
    font-size: 75px;
}

.hero-text-3 h1 {
    font-size: 75px;
}

/* Index Intro */

.intro {
    padding-top: 25px;
    padding-left: 25px;
    padding-right: 15px;
}



.iceland-info {
    padding-top: 25px;
    padding-left: 25px;
    padding-right: 15px;
}

/* Index Info */


/* Trivia */

.trivia{
    background-color: whitesmoke;
    width:90%;
    max-width: 750px;
    margin:50px auto 0;
    border-radius: 20px;
    padding: 30px;
}

.trivia h2 {
    font-size: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid black;
}

.quiz {
    padding: 20px 0;
}

.quiz h3 {
    font-size: 20px;
}

.button {
    background: white;
    color: black;
    width: 100%;
    border: 1px solid black;
    margin: 10px 0;
    padding: 10px;
    text-align: left;
    border-radius: 4px;
    cursor: pointer;
}

.button:hover:not([disabled]) {
    background: black;
    color: white;
}

#next-button {
    background: grey;
    color: white;
    width:150px;
    padding: 10px;
    border:0;
    border-radius: 1px;
    margin: 15px auto 0;
    cursor: pointer;
}

.correct {
    background: rgb(82, 174, 82);
    color: white;
}

.incorrect {
    background: rgb(194, 73, 73);
    color:white;
}

.fi-is {
    margin-right: 15px;
}
/* Footer */

footer {
    background-color: #212529 ;
    margin-top: 25px;
    left: 0;
    bottom: 0;
    
}
#footer-container {
    padding: 10px;
}

#social-media {
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

#social-media a {
    text-decoration: none;
    padding: 10px;
    background-color: white;
    margin: 14px;
    border-radius: 15%;
}

#social-media a i {
    font-size: 2em;
    color: black;
}

#footer-nav {
    margin: 15px;
    max-width:100%;
}
#footer-nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
}

#footer-nav ul li a {
    color: white;
    margin: 25px;
    padding:10px;
    text-decoration: none;
    opacity: .75;
    font-size: 21px;
}

#footer-nav ul li a:hover {
    opacity: 1 ;
}

#footer-copyright {
    padding:5px;
    text-align: center;
    color: white;
    opacity: .75;
}

/* Cards styling */

.card {
    margin-bottom: 50px;
    max-width: 100%;
}

.container {
    max-width: 100%;
}

/* Media Queries */
@media (max-width: 1075px) {
    .hero-image {
        height:350px;
    }
    .hero-text h1 {
        font-size: 50px;
    }
    .hero-image-2 {
        height:350px;
    }
    .hero-text-2 h1 {
        font-size: 50px;
    }
    .hero-image-3 {
        height:350px;
    }
    .hero-text-3 h1 {
        font-size: 50px;
    }
    .card {
        margin-left:20px;
    }
}

@media (max-width: 767px) {

    .card {
        margin-left:125px
    }
}

@media (max-width: 531px) {

    .navbar-brand {
    margin-left: 25px;   
}

   #footer-nav ul li a {
    color: white;
    margin: 0px;
    padding:6px;
    text-decoration: none;
    opacity: .75;
    font-size: 20px;
    }

    .card {
        margin-left:85px;
    }
}

@media (max-width: 460px) {
    .card {
        margin-left:35px;
    }
}