/*
    Viktoria Vasquez
    styles.css
    final
*/

/*css reset*/
body, header, nav, main, footer, img, h1, h3 {
    margin: 0;
    padding: 0;
    border: 0;
}

header { /*would love to have a fixed position header if i have time*/
    z-index: 999; 
    background-color: white;
}

main {

}

body {
    font-family: Helvetica, sans-serif;
    font-size: 20px;
    line-height: 1.5;
    color: #333;
    background-color: #DAA03D;
    text-decoration: none;
    
}

ul {
    list-style-type: none;
}

/*style rules for body and images----------------------------------------*/
img {
    max-width: 100%;
    display: block;
    margin: 0;
    
}

article {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

article img {
    max-width: 25%;
}

h2, h3, h4, h5 {
    color: #344f9e;
    font-weight: lighter;
    font-family: helvetica;
}

aside {
    display: block;
    width: 25%;
    padding: 11px;
    margin-left: 25px;
    float: right;
    font-style: italic;
    border-left: 3px solid #DAA03D;
}

aside p {
    font-size: 95%;
    
}

table, tr, td {
}

table {
    padding: 5%;
}

tr {
    border1px solid #DAA03D;
}

form {
    border: 1px solid white;
    border-radius: 7px;
    margin: 5% 15% 0 15%;
}

form ul li {
    font-size: 1.5em;
}


/*RADIO BUTTON----------------------------------------------*/

input {
    appearance: ;

}

input:checked + label{
    color: black;
}

.donation-button {
    display: inline-block;
    outline: 2px solid black;
    border-radius: 3px;
    text-decoration: none;
    font-weight: bold;
    color: black;
    padding: 10px 40px;
    
    margin: 25px;
    
}

/*FIGURES-----------------------------------------------*/

.figcenter { /*put in parent selector*/
    text-align: center;
}

figure {
    margin: 10%;
}

figure img {
    border-radius: 7px;
    margin: 5%;
}

figure figcaption {
    display: inline-block;
    border-radius: 7px;
    padding: 5%;
    margin: 2%;
    background-color: white;
}

figure figcaption h4 {
    font-weight: bold;
    text-align: center;
}



/*ARTICLES-----------------------------------------------*/
article {
    background-color: #DAA03D;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 15px;
    line-height: 1.6;
    
}

/*classes--------------------------------------------------------------*/

.accenttext {
    text-align: right;
    font-weight: bold;
    font-size: 88%;
    color: #DAA03D;
    font-family: helvetica;
    
    background-color: white;
    border: 10px solid white;
    border-radius: 15px;
    border-bottom: 2px;

}

.accent {
    background-color: #DAA03D;
    color: white;
    padding: 3% 10%;
    margin: 0;
}

.accent-transparent {
    background-color: #DAA03D;
    background-color: rgba(218, 160, 61,0.90);
    color: white;
    padding: 5% 10%;
    margin: 3%;
    border-radius: 7px;
}

#h2 {
    text-align: center;
    font-size: calc(1.325rem + .9vw);
    font-weight: bold;
}

.accent-transparent p {
    font-size: 1.2em;
}


.banner {
    width: 100%;
    position: relative;
}

.border {
    outline: 1px solid #DAA03D;
}

.border-grey {
    outline: 1px solid grey;
    border-radius: 5px;
}

.contact-link {
    text-decoration: none;
    text-decoration: italic;
    color: black;
}

.contact-link:hover {
    color: #DAA03D;
}

.contact-link-w {
    text-decoration: none;
    text-decoration: italic;
    color: white;
}

.contact-link-w:hover {
    color: #D8D8D8;
    text-decoration: underline;
}

.donationfig {
    width: 100%;
    max-width: ;
}

.navfixed {
    position: fixed;
    top: 0;
}

.margin {
    margin: 5% 15%;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}



.color1 {
    background-color: #252525;
    color: #efeee9;
}

.color2 {
    background-color: white;
    color: #252525;
}

 .frag {
     display: flex;
     justify-content: center;
     align-items: center;
     
     color: white;
     text-decoration: none;
     font-weight: normal;
 }

.logo {
    height: 2.5em;
    margin: 0.75em;
}

.logocontainer {
    display: grid;
    grid-template-rows: 100px 100px 100px 100px;
    grid-template-columns: 100px 100px 100px 100px;
    
}

.medimg {
    max-width: 50%;
}

.imgrelative {
    position: relative;
    width: 100%;
}

.overlay-base {
    display: block;
    position: relative;
    background: rgba(0,0,0,0);
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: 999;
}


.overlay-box {
    display: block;
    inset: 0;

    position: relative;
    width: 90%;
    height: 100%;
    margin: -25% auto 10% auto;
    background-color: #DAA03D;
    background-color: rgba(218, 160, 61,0.90);
    z-index: 1000;
}

.overlay-right {

    width: 100%;
    
    background-color: rgba(218, 160, 61,1);
    padding: 5%;
    border-radius: 0;
        
}

.textoverlay {
    
    
    
    /* original code:
    
    position: absolute;
    right: 5%;
    top: 25%;
    width: 500px;
    padding: 5%;
    background-color: rgba(255,255,255,0.75);
    font-size: 18px;
    */
    
    
}

.textoverlay p {
    margin: auto;
    
}

.overlay-button { /* call to action buttons*/
    display: inline-block;
    outline: 2px solid white;
    border-radius: 3px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    padding: 5px 50px;
    
    margin: 2% 2%;

    
    
}

.overlay-button-y { /* call to action buttons*/
    display: inline-block;
    outline: 2px solid #DAA03D;
    border-radius: 3px;
    text-decoration: none;
    font-weight: bold;
    color: #DAA03D;
    padding: 5px 20px;
    
    margin: 0 2%;
    
}

.overlay-button-y:hover {
    outline: 2px solid #AA7E33;
    color: #AA7E33;
}

.overlay-button:hover {
    outline: 2px solid #D8D8D8;
    color: #D8D8D8;
}

/*styles for donation page --------------------------------------------*/

.margin {
    display: inline-block;
    margin: 10px 10px 10px 10px;
    padding: 0;
}

/*VOLUNTEER PAGE--------------------------------------------*/

.vol-ol-mobile {
    display: inline-block;
}

.vol-accent {
    display: inline-block;
}


/*style rules for nav---------------------------------------------------*/
nav {

}

nav ul {
    list-style-type: none;
    margin: 0;
    text-align: center;
    border-bottom: 5px solid #DAA03D;
    line-height: 1.6;
    padding: 5px;

}

nav li {
    display:block;
    font-weight: bold;
    font-family: helvetica;
    text-align: right;

}

nav ul li a:hover {
    color: #DAA03D;
}

nav li a {
    display: block;
    text-decoration: none;
    padding: 0.5em 2em;
    color: black;
    
}


/*style rules for footer content-----------------------------------------*/
footer {
    text-align: center;
    font-size: 0.85em;
    background-color: #DAA03D;
    padding: 5% 0;
    color: white;

}

footer a {
    text-decoration: none;
}

.favicons {
    height: 50px;
    width: 50px;
    margin: 5px;
}

/*media query for tablet viewport-----------------------------------------*/
@media screen and (min-width: 620px), print {
    /*Tablet viewport: show tab-desk class, hide mobile class*/
    body {
        margin: 0;
    }
    
    .tab-desk {
        display: inline;
    }
    
    .td-flex {
        display: flex;
    }
    
    .mobile {
        display: none;
    }
    
    .vol-ol-mobile {
        display: none;
    }

    .vol-ol-tabdesk {
        display: block;
        margin: -40% 15% 20% 15%;
        position: absolute;
        z-index: 999;
    }
    
    .logo {
    display: none;
    }
    
    .logo-tabdesk {
    display: inline-block;
    height: 5em;
    margin: 1em;
    
    }
    
    .nodisplay {
    display: none;
    }
    
    .margin-td {
    margin: 5% 10%;
    }

    
    /*tablet viewport: style rules for nav area*/
    nav ul {
        display
        background-color: pink;
    }
    nav li {
        border: none;
        display: inline-block;
        font-size: 1.25em;
    }
    
    nav li a {
        padding: 0.5em;
    }
    
    
    /*FIGURES*/
    
    figure {
    display: flex;
    padding: 1% 3%;
    }
    
    figure img {
    border-radius: 7px;
 
}

    
}


/*Media Query for Large desktop viewports----------------------------------*/
@media screen and (width-min: 1921px) {
    body {
        background: ;
        margin: 0;
    }
    #wrapper {
        width: 1920px;
        margin: 0 auto;
    }
    main {
        background-color: ;
    }
    
    nav ul {
    background-color: yellow;    
    }
    nav li {

}
    
    
/*media query for print*/
@media print {
    body {
        background-color: white;
        color: black;
    }
    
}

/*media query for desktop viewport----------------------------------------*/
@media screen and (min-width:1000px), print {
    /*desktop viewports: style rules for nav area*/
    nav ul {
    background-color: purple;    
    }
    nav li {
        font-size: 1.5em;
    }
    nav li a {
        padding: 0.5 1.5em;
    }

    body {
        margin: /*5% 20%*/0;
    }
    
    
    .textoverlaydesk {
        position: absolute;
        right: 5%;
        top: 25%;
        width: 500px;
        padding: 5%;
        background-color: rgba(255,0,0,0.90);
        font-size: 18px;
    }
    
}

/*desktop viewport: style rules for main content*/
#info ul {
    margin-left: 5%;
}


