:root{
    --blue: #4da5ee;
    --yellow: #dafc19;
    --darkblue: #213372;
    --mutedyellow: #d2fb72;
    --mutedblue: #95cbf6;
}

*{
    margin: 0;
    background-color: rgba(173, 216, 230, 0);
    padding: 0;
    border: none;
    font-family: Verdana, Tahoma, sans-serif;
}

html,body {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow-x: hidden !important;
}

header{
    padding: 2rem;
    display: flex;
    height: 6rem;
    /*width: 100%;*/
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(rgba(77, 165, 238, 0.336), rgba(218, 252, 25, 0.506)), url("../images/site_images/darwin1_.png");
    background-size: cover;
    background-repeat: no-repeat;
}

#main-header{
    font-size: 3rem;
    padding: 0;
    /*width: 22%;*/
    text-align: left;
    color: var(--darkblue);
    background-color: rgba(255, 255, 255, 0);
}

#second-header{
    font-size: 1.4rem;
    padding: 0;
    /*width: 22%;*/
    text-align: left;
    color: var(--darkblue);
    background-color: rgba(255, 255, 255, 0);
}

#info-button{
    color : var(--darkblue);
    width: 4rem;
    transition: 1s;
}

#info-button:hover {
    color: var(--yellow);
}

section{
    background-color: rgb(255, 255, 255);
    width: 92%;
    padding: 4%;
    display: flex;
    margin-bottom: 6rem;
    flex-direction: row;
    justify-content: space-around;
}

#info{
    display: none;
    padding: 2rem;
}

#information{
    background-color: rgba(128, 128, 128, 0.501);
    border-color: black;
    border-width: 1px;
    border: solid;
    padding: 1rem;
    display: block;
}

#make-appear{
    position: fixed;
    top: calc(50% - 10rem);
    left: calc(50% - 20rem);
    margin: 0 auto;
    display: block;
    width: 40rem;
    font-size: 6rem;
    padding: 3rem;
    height: 20rem;
    background-color: var(--mutedblue);
    border-radius: 10px;
    border-color: black;
    transition: 1s;
}

#make-appear:hover{
    background-color: var(--mutedyellow);
}

#instruction{
    display: none;
    background-color: rgb(205, 110, 110);
    width: 0%;
    height: 0.5em;
}

section .hidden{
    width: 30%;
    padding: 0;
    display: none;
    transition: 0.5s;
}

section .hidden:hover{
    width: 32%;
}

#prize{
    width: 92%;
    padding: 4%;
    display: none;
    color: white;
}

#ideal_img{
    height: 30%;
    width: 30%;
    padding: 0;
}

#feedback {
    background-color: var(--darkblue);
    border-radius: 10px;
    position: fixed;
    display: none;
    padding: 1rem;
    width: 30%;
    bottom: 5%;
    left: calc(35% - 1rem);
    text-align: center;
    color: white;
    font-size: larger;
}

#pop {
    background-color: var(--mutedblue);
    border-radius: 10px;
    display: none;
    padding: 0.5rem;
    width: 70%;
    bottom: 5%;
    left: calc(15% - 0.5rem);
    text-align: center;
    margin-bottom: 2em;
}

#flex-column-container{
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
    align-items: center;
}

#question{
    display: flex;
    flex-direction: column;
    font-size: 1.5em;
}

#answers{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-top: 2rem;
}

.answer{
    width: 30%;
    background-color: #4da5ee;
    border-radius: 1rem;
    padding: 0.5rem;
    font-size: 1em;
}

footer{
    position: fixed;
    width: 100%;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: var(--yellow);
    display: flex;
    /*justify-content: flex-end;*/
    padding: 1rem;
    height: 3rem;
}

#email-list{
    display: none;
    width: 40%;
    top: calc(50% - 20%);
    left: calc(50% - 20%);
}

.footer-element{
    padding-right: 1em;
}

form {
    background-color: white;
    height: 100%;
    border: 4px solid #f1f1f1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

form button{
    background-color: #04AA6D;
    color: white;
    border: none;
    width: 100%;
    padding: 6px;
    margin: 3px 0;
    display: inline-block;
    box-sizing: border-box;
}
  
.container {
    padding: 20px;
    background-color: white;
}
  
input[type=text], input[type=submit] {
    width: 100%;
    padding: 6px;
    margin: 3px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
    background-color: white;
}
  
input[type=submit] {
    background-color: #04AA6D;
    color: white;
    border: none;
}
  
input[type=submit]:hover {
    opacity: 0.8;
}

@media only screen and (max-width: 480px) {
    header{
        padding: 2rem;
        display: flex;
        height: 2rem;
        justify-content: space-between;
        align-items: center;
        background-color: rgb(126, 200, 247);
        background: linear-gradient(rgba(77, 165, 238, 0.336), #dafc1981), url("../images/site_images/darwin1_.png");
        background-size: cover;
        background-repeat: no-repeat;
    }

    #main-header{
        font-size: 1.5rem;
        padding: 0;
        width: 100%;
        text-align: left;
        color: rgb(33, 51, 114);
        background-color: rgba(255, 255, 255, 0);
    }

    #second-header{
        font-size: 1rem;
    }

    #make-appear{
        top: calc(50% - 5rem);
        left: calc(50% - 7.5rem);
        width: 15rem;
        height: 10rem;
        font-size: 2rem;
    }

    #instruction{
        display: block;
    }

    section{
        background-color: #ffffff;
        padding: 5%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    section .hidden{
        height: 100%;
        width: 100%;
        padding: 2%;
        display: none;
    }
    
    section .hidden:hover{
        width: 102%;
        padding: 0%;
    }

    #prize{
        height: 90%;
        width: 90%;
        padding: 5%;
        display: none;
    }

    #ideal_img{
        height: 100%;
        width: 100%;
        padding: 2%;
    }

    #pop{
        width: 80%;
        left: calc(10% - 0.5rem);
        bottom: 15%;
        margin-bottom: 2em;
    }

    #answers{
        flex-direction: column;
    }

    .answer{
        font: small;
        width: 100%;
        margin-top: 1em;
    }

    #email-list{
        width: 70%;
        left: calc(50% - 35%);
    }

    footer{
        height: 2em;
    }
}