@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,500;0,600;0,700;1,500&family=Open+Sans:wght@400;600&display=swap'); 

* {
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: Roboto;
    box-sizing: border-box;
}

.header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #1F2937;
    color: white;
    padding: 1em;
}

.header__logoContainer {
    display: flex;
    align-items: center;
}

.header__logo {
    width: 3rem;
    margin-right: .3em;
}

.header__navLink {
    display: inline-block;
    margin: .5em;
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.header__navLink:hover {
    transform: scale(1.1);
}

.header__navLink--active {
    transform: scale(1.1);
    text-shadow: 2px 2px 5px #E5E7EB, -2px -2px 5px #E5E7EB;
}

/* Title */
.title {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1F2937;
    padding: 2em;
    color: white;
}

.title__logo {
    width: 6rem;
    margin-right: 1em;
}

/* Content */
.content .story:nth-child(odd) {
    background-color: rgba(128, 128, 128, 0.254);
}

.story {
    display: flex;
    padding: 2em 1em;
    justify-content: center;
    align-items: center;
}

.story__img {
    border:2px solid #3882F6;
    border-radius: 1rem;
    width: 30%;
    max-height: 15rem;
    object-fit: cover;
}

.story__descContainer {
    max-width: 35%;
    margin-inline: 3em;
}
.story__descContainer * {
    text-align: left;
    margin-block: .5em;
}

.story__btn {
    background-color: #3882F6;
    color: white;
    border: none;
    border-radius: 5px;
    height: 30px;
    width: 100px;
    font-weight: 800;
    text-align: center;
}

img {
    width: 100px;
}

/* Footer */
.footer {
    position: relative;
    background-color: #1F2937;
    height: 60px;
    color: white;
}

.footer__text {
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 600px) {

    .header * {
        font-size: .9em;
    }

    .header__logoContainer {
        display: block;
    }

    .header__logo {
        width: 2rem;
    }
    
    .header__logoName {
        display: none;
    }

    .story {
        flex-direction: column;
        align-items: center;
        padding: 1em;
    }

    .story__descContainer {
        max-width: 100%;
        
    }

    .story__img {
        width: 50%;
        max-height: 10rem;
    }
}