@import url('https://fonts.googleapis.com/css2?&family=Nunito:wght@200;300;400;600;700;900&family=Mirza:wght@700');

/* -------------- BASIC PAGE SETUP */
body {
    background: rgba(0, 0, 0, 0.8);
    background-image: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.7) 100%),
                      url('../images/history/Thor_Ragnarok_Textless_Character_Posters_03.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    background-attachment: fixed;
    background-color: black;
    color: #FFD221;
    font-family: 'Nunito', sans-serif;
}

/* --------------  */
.main {
    margin: 2rem 3rem 3rem;
}

.main__header {
    margin-bottom: 3rem;
    color: #FFD221;
    font-family: 'Mirza', cursive;
    font-size: 3rem;
    text-transform: uppercase;
    text-align: center;
    line-height: 0.7;
    text-shadow: 0 0 0.1rem black,
                 0 0 0.1rem black,
                 0 0 0.1rem black,
                 0 0 0.2rem black,
                 0 0 0.2rem black,
                 0 0 0.2rem black,
                 0 0 0.2rem black,
                 0 0 0.3rem black,
                 0 0 0.3rem black,
                 0 0 0.3rem black,
                 0 0 0.3rem black,
                 0 0 0.4rem black,
                 0 0 0.4rem black,
                 0 0 0.4rem black;
}

.flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    align-content: center;
}

.flex-items:nth-child(1) {    
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
}

.flex-items:nth-child(2) {
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
}

.flex-image {
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
}

.flex-text {
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
}

.bgo {
    
    padding: 2rem 0;
}

.container__history {
    max-width: 600px;
}

.text__history {
    text-shadow: 0 0 0.1rem black,
                 0 0 0.1rem black,
                 0 0 0.1rem black,
                 0 0 0.1rem black,
                 0 0 0.2rem black,
                 0 0 0.2rem black;
}

.card-img {
    max-width: 250px;
}

/* -------------- UTILITY CLASSES */
.mt-2 {
	margin-top: 2rem;
}
.mb-2 {
    margin-bottom: 2rem;
}

.my-3 {
    margin: 3rem 0;
}

.mb-3 {
    margin-bottom: 3rem;
}

.px-4 {
    padding: 0 4rem;
}


/* -------------- MEDIA QUERIES */
/* Mobile Devices - Phones/Tablets */
@media only screen and (max-width: 720px) { 
	
    .nav-wrapper {	
        background-color: black;
	}
	.navbar ul {
		background-color: black;
	}
}


@media only screen and (max-width: 720px) {
    .main__header {
        font-size: 2rem;        
    }
}

@media only screen and (max-width: 400px) {
    body {
        background-color: black;
    }

    .m-xs-2 {
        margin: 2rem;
    }

    .px-xs-1 {
        padding: 0 1rem;
    }

    .pt-xs-1 {
        padding-top: 1.5rem;
    }    
}