/* 1- General styles */

html {
    font-family: 'Open Sans', sans-serif;
}

#mainContainer {
    text-align: center;
    width: 70%; 
    margin: auto;
}


/* 2- Header */

header {
    margin: 1.25rem;
}

#logo {
    width: 80%;
}


/* 3 - Introduction */

h1 {
    font-family: 'Open Sans', sans serif;
    font-size: 2rem;
    font-weight: bold;
    color: #6B3AAF;
    margin-bottom: 3.125rem;
}

p {
    text-align: justify;
    text-justify: inter-word;
    line-height: 200%;
    color: #6D6E72;
}

a {
    font-size: inherit;
    font-weight: bold;
    color: #99549D;
}

.blocklinks {
    margin: 1.25rem 0;
}

#oats {
    width: 30rem;
    margin: 1.25rem auto;
}

@media screen and (max-width: 760px) {

    header {
        margin: 1.25rem 0;
    }

    #logo {
        width: 90%;
    }

    #oats {
        width: 100%;
    }

    p {
        /* font-size: 1.15rem; */
    }

} 

@media screen and (max-width: 480px) {
    #logo {
        width: 100%;
    }
    #oats {
        display: none;
    }

    #extra-info-hyh {
        display: none;
    }

    p {
        /* font-size: 1.3rem; */
    }
}

/* 4 - Input area */
#textbox {
    font-family: 'Open Sans', sans serif;
    font-weight: 600;
    width: 99%;
    margin: 0 auto;
    height: 10rem;
}

::placeholder {
    color: gray;
    font-weight: normal;
    font-size: 1rem;
}

@media screen and (max-width: 760px) {
    #textbox {
        /* height: 12rem; */
        font-size: 1.15rem;
    }

    ::placeholder {
        /* font-size: 1.15rem; */
    }	
} 

@media screen and (max-width: 480px) {
    #textbox {
        height: 18rem;
        /* font-size: 1.3rem; */
    }

    ::placeholder {
        /* font-size: 1.3rem; */
    }	
}


/* 5 - Buttons */
#checkbutton {
    font-family: 'Open Sans', sans serif;
    font-size: 0.875rem;
    background-color: #6B3AAF;
    height: 2.5rem;
    color: white;
    width: 10.625rem;
    border: 0;
}

#checkbutton:disabled {
    opacity: 0.4;
}

#checkbutton:active {
    transform: translateY(0.125rem) translateX(0.125rem);
}

#cbuttonarea {
    padding: 2.2rem 0;
}

@media screen and (max-width: 760px) {
    /* #checkbutton {
        font-size: 1rem;
        height: 2.75rem;
    } */
}

@media screen and (max-width: 480px) {
    /* #checkbutton {
        font-size: 1rem;
        height: 3rem;
    } */
}


/* 6 - Styles for the results */

.resultBox {
    width: 100%;
    text-align: left;
    margin: 0 auto 0 auto;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-radius: 0.25rem;
}

.triggerBox {
    width: 100%;
    margin: 0 auto 0 auto;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    border-radius: 0.25rem;
    border: 0.063rem solid #222;
}

#notsafe {
    background-color: #CA0808;
    border: 0.063rem solid #CA0808;
}

#iffysafety{
    background-color: #C16918;
    border: 0.063rem solid #C16918;
}

#safe {
    background-color: #359326;
    border: 0.063rem solid #359326;
}

#errorX {
    width: auto;
    height: 1.188rem;
    padding-left: 0.313rem;
    padding-right: 0.938rem;
}

#checkmark {
    width: 1.563rem;
    height: auto;
    padding-left: 0.313rem;
    padding-right: 0.938rem;
}

#questionmark {
    width: auto;
    height: 1.375rem;
    padding-left: 0.313rem;
    padding-right: 0.938rem;
}

h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.125rem;
    color: #fff;
    padding-left: 3%;
    padding-right: 3%;
    line-height: 2rem;
}

h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    text-align: left;
    padding-left: 3%;
    padding-right: 3%;
}

#details p {
    color: black;
    padding-left: 3%;
    padding-right: 3%;
    font-size: 0.875rem;
    line-height: 1.375rem;
    padding-bottom: 0.625rem;
}

#safetext {
    border: 0.063rem solid #359326;
}

#notsafegen, #notsafemsg {
    border: 0.063rem solid #CA0808;
}

#iffy {
    border: 0.063rem solid #C16918;
}

.exception {
    border: 0.063rem solid #735406;
}

.cheeseimage {
    height: 1rem;
    margin-right: 0.625rem;
}

.cheeseqmark {
    height: 1rem;
    margin-right: 0.875rem;
}

@media screen and (max-width: 760px) {
    /* h3 {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 1.1rem;
    }
    
    #details p {
        font-size: 1rem;
    } */
}

@media screen and (max-width: 480px) {
    /* h2 {
        font-size: 1.3rem;
    }

    h3 { 
        font-size: 1.2rem;
    }
    
    #details p {
        font-size: 1.1rem;
    } */
}


/* 7 - Footer */

#disccontainer {
    padding-top: 4.375rem;
}

.disclaimer {
    font-size: 0.875rem;
    line-height: 150%;
    color: #6D6E72;
}

@media screen and (max-width: 760px) {
    .disclaimer {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    /* .disclaimer {
        font-size: 1.2rem;
    } */
}