/* Styling for AboutUs/Page1 */

.card {
    background-color: white;
    padding: 1rem;
    border-radius: 3rem;
    margin: 1.5rem;
    transition: 0.2s ease;
    overflow: auto;
    position: relative
}

.card:hover {
    box-shadow: 0.5rem 0.5rem 0rem 0rem #335c67;
}

/* Card One - Victoria's Card */
/* To make the card, I use a legend element to hold the 
name on top */
.card #card_one legend {
    font-family: "DynaPuff", sans-serif;
    font-size: 1.6rem;
    color: #cc0007
}

.card #card_one {
    text-align: center;
    border-radius: 3rem;
}

.card #card_one h3 {
    margin: 0;
    text-align: center;
}

.card #card_one img {
    width: 50%;
    margin: 1rem;
    border:none;
}


/* Email Section */
.card #card_one #email_info {
    background-color: #335c675e;
    padding: 0.5rem;
}

.card #card_one #email_info a{
    color: #e48a02;
}

.card #card_one #email_info a:hover{
    color: #fff3b0;
}
/* End of Email Section */

/* Fun Facts Section */
.card #card_one #fun_facts {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 1rem;
}

.card #card_one #fun_facts li{
    background-color: #fff3b0;
    margin: 0.3rem;
    padding: 0.5rem;
    border-radius: 1rem;
    transition: 0.2s ease;
    flex: 1 1 0;
}

.card #card_one #fun_facts li:hover a{
    transition: 0.2s ease;
    background-color: #e48a02;
    padding: 0.5rem;
    border-radius: 1rem;
    color: #fff3b0;
}

.card #card_one  #fun_facts li:hover h3 {
    color: #fff3b0;
}

.card #card_one #fun_facts a {
    text-decoration: none;
    color: black;
}

/* End of Fun Facts Section */



/* Image Links Section */
.card #card_one #image_links{
    display: flex;
    flex-direction: column;
}

.card #card_one #image_links a{
    padding: 0.5rem 0 0.5rem 0;
    flex: 1 1 0;
}

.card #card_one #image_links a:hover {
    opacity: 0.8;

}

.card #card_one #image_links img{
    width: 80%;
}
/* End of Image Links Section */

/* Secret Hints Section */
.card #card_one .secret_hints{
    background-color:#335c67;
    border-radius: 1rem;
}

.card #card_one .secret_hints p {
    color:#fff3b0;
}
/* End of Secret Hints Section */


/* Change the CSS based on the size of the screen
In this case, when the screen is AT LEAST 50rem, do the 
following below */
@media screen and (min-width: 50rem) {
    .card #card_one img {
        width: 20%;
    }

    .card #card_one #image_links {
        flex-direction: row;
    }
    
}