html, body {
    height: 100%;
    min-height: 240px;
    display: flex;
    flex-direction: column;
}

/* NAVIGATION */

.navbar-brand i {
    margin-right: 15%;
}

.navbar-brand {
    margin-right: 3%;
}

#navbarNav li a {
    color: #555555;
    letter-spacing: 5px;
}

#navbarNav li a:hover {
    color: #D35D6E;
}

/* CONTENT WRAP */

.wrapper {
    padding-bottom: 20px;
    /* margin-bottom: -50px; */
}

/* FOOTER */

footer {
    text-align: center;
    height: 90px;
    margin-top: auto;
    background-color: #a4a1a1;
    padding-top: 10px;
    position: relative;
    color: rgb(255, 255, 255);
    letter-spacing: 5px;
    padding-bottom: 15px;
}

/* HOME PAGE */

.intro-wrapper {
    background-color: #f7bc18c6; 
    box-shadow: 5px 5px 10px rgb(69, 67, 67); 
    width: 80%;
    max-height: 100%;
    margin-right: auto;
    margin-left: auto;
    
}

.intro {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    /* background-color: #FFCDA8; */
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    /* box-shadow: 5px 5px 10px rgb(69, 67, 67);  */
}

.intro h1 {
    font-family: 'Rubik Dirt', cursive, sans-serif;
    text-shadow: 2px 2px 2px white;
}

.intro h3 {
    text-shadow: 2px 2px 2px white;
}

.intro-logo {
    text-align: center;
    margin-top: 30px;
}
.intro-logo i {
    margin-right: 50px;
}

.intro-logo i:last-child {
    margin-right: 0;
}

.intro-logo .fa-solid:hover {
    opacity: 0.5;
}

.intro-main-wrapper {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    padding-top: 30px;
    padding-bottom: 30px;
    font-family: 'Crimson Text', sans-serif;
    /* background-color: #D59768; */
    /* color: white; */
    font-weight: bold;
    width: 80%;
    /* box-shadow: 5px 5px 10px rgb(69, 67, 67);  */
}

.intro-main {
    font-size: 2rem;
    text-align: center;
}

.btn {
    width: 200px;
    height: 50px;
}

.logo-link a i:first-child{
    margin-right: 7.5px;
    color: white;
}

.logo-link a i:last-child{
    margin-left: 7.5px;
    color: white;
}

.logo-link {
    margin-right: auto;
    margin-left: auto;
}

/* GAME PAGE */

.grid {
    margin-top: 1rem;
   
}
/* .game-row-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
} */

.card-picture {
    margin-left: auto;
    margin-right: auto;
    max-width: 30rem;
    margin-bottom:20px;
}

.card-menu {
    margin-left: auto;
    margin-right: auto;
    width: 18rem;
    
}

.card-menu li {
    border: 0;
}

.about-page {
    margin-top : 50px;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    height: 400px;
    text-align: center;
    background-color: #f7bc18c6; 
    box-shadow: 5px 5px 10px rgb(69, 67, 67); 
}

.about {
    text-align: center;
    padding-top: 100px;
    font-family: 'Rubik Dirt', cursive, sans-serif;
    text-shadow: 2px 2px 2px white;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.about h4 {
    font-size: 1.5rem;
    padding-top: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

.about p i {
    color: grey;
}

.about p {
    margin-top: 30px;
}

    
@media screen and (max-width: 600px) {
   .about {
       padding-top: 20px;
   }
}



@media screen and (max-width: 990px) {
    .card-picture {
        max-width: 14rem;
    }

    .card-menu {
        max-width: 14rem;
    }
}

@media screen and (max-width: 420px) {
    .intro-main {
        font-size: 1.5rem;
    }

    .intro-main-wrapper {
        width: 100%;
    }
    .intro {
        width: 100%;
    }

    footer { 
        height: 100px;
    }

    .score {
        font-size: 15px;
        padding-bottom: 0;
    }

    .about-page {
        width: 100%;
        max-height: 75%;
    }
    
    .about {
        width: 100%;
    }

    .intro-wrapper {
        width: 100%;
    }
}
    
@media screen and (max-width: 325px) {
    .intro-main {
        font-size: 1rem;
    }

    .intro-main-wrapper {
        width: 100%;
        margin-bottom: 20px;
    }
    .intro {
        width: 100%;
    }

    .intro h1 {
        font-size: 1.3rem;
    }

    .intro h3 {
        font-size: 1rem;
        margin-bottom: 0;
    }
    
    .intro h1:first-child {
        display: none;
    }

    .about h2 {
        font-size: 1.3rem;

    }

    .about h4 {
        font-size: 1.3rem;
        margin-bottom: 0;
    }

    .about-page, .about {
        max-height: 75%;
        margin-bottom: 0;
        padding-bottom: 0;
        margin-top: 10px;
    }

    .about p {
        margin-bottom: 0;
    }
}