/* 
CSS Document used for the Project1 assignment
Author: Lailee Bowman
Course: ITWP 1000
File: styles.css
*/

/*******BODY*******/
body {
    background-color: #ffffff;
    margin: 10px;
    font-family: Arial, sans-serif;
    color: #000000;
    font-size: 24px;
    line-height: 1.5;
 }

 body.duckVideos {
        background-image: linear-gradient(to bottom, #0080ff 0%, #00d5ff 20%, #00fff6 40%, #68ff90 70%);
 }
 body.duckPhotos {
        background-image: linear-gradient(to bottom, #ff7b00 0%, #ffdd00 20%, #ffeb66 100%);
 }
 body.duckHome {
        background-image: linear-gradient(to bottom, #994200 0%, #cc5800 16%, #ffcda6 70%);
 }
 body.duckSounds {
        background-image: linear-gradient(to bottom, #5600e1 0% ,#a900e1 3%, #ffa6e7 15%, #ffc8a1 70%, #fff09d 100%);
 }
/*******NAVIGATION*******/

/* navigation container */
nav {
    margin-bottom: 1%;
    text-align: center;
    font-size: 1.5rem;
    font-weight: normal;
    text-decoration-line: none;
    color: #ffffff;

    }

/* nav unvisited link */
nav a:link {
    color: #ffffffee;
}
/* nav visited link */
nav a:visited {
    color: #ffffffee;
}
/* nav hover link */
nav a:hover {
    color:#ffffffee;
}

div.tile {
    margin: 3% 10%;
    background-color: #ffffffaa;
    border-radius: 10px;
    padding: 0 5% 5%;
    border: solid, .1rem, #301800df;
 

}


/************** QUACK FACTS LINKS ON DUCK SOUNDS PAGE ********/

div.facts a:link {
    text-decoration: none;
    padding-left: 10px;
    color: #3463ff;

} 
div.facts a:visited {
    text-decoration: none;
    padding-left: 10px;
    color: #9600c8;

}
/* quack facts hover link */
div.facts a:hover {
    text-decoration: none;
    padding-left: 10 px;
    color: #3463ff;

}



/*************************** PARAGRAPH SETTINGS */
p {
    padding-left: 20px;
}
    
/* paragraph unvisited link */
p a:link {
    color: #3463ff;
    text-decoration-line: none;
    padding-bottom: 5px;

}
/* paragraph visited link */
p a:visited {
    color: #45005d;
    text-decoration-line: none;
    padding-bottom: 5px;

}
/* paragraph hover link */
p a:hover {
    color:#3463ff;
    text-decoration-line: none;
    padding-bottom: 5px;

}
/******************************UNORDERED LIST*******/

/* creates list container */
ul {
    text-align: left;
    line-height: 1.6;
    text-indent: 10px;
}
/* creates square bullet */
li {
    list-style-type: square;
    list-style-position: outside;
}    
/* li visited and unvisited link */
li a:link {
    color: #3463ff;
    text-decoration-line: none;
}
li a:visited {
    color: #45005d;
    text-decoration-line: none;
}

/* ul hover link */
li a:hover {
    color:#3463ff;
}



/********************************* HEADERS *******/
header {
    margin-bottom: 2rem;
}

h1, h2 {
    color: #f1f1f1;
}

h1, h2, h3 {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
h3 {
    text-align: center;
    color: #000000;
    padding-top: 1rem;
}

h4 {
    text-align: left;
    color: #000000;
    padding-top: 1rem;
}
/* h1 font styles. */
h1 {
    text-align: center;
    font-size: 3.6rem;
    text-shadow:  0 0 .3rem #000000e8;


}
/* h2 font styles */
h2 {
    text-align: center;
    font-size: 2.4rem;
    padding-bottom: 2px;
    text-shadow:  0 0 .2rem #000000e8;


}
/* h3 font styles */
h3 {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.3;
    text-decoration-line: underline;
}



/* h4 font styles */
h4 {
    font-size: 1.3rem;

}




div.center-text {
    text-align: center;
}

div.auto-margin {
    margin: 10px 40px 0;
}

/******** FIGURE CONTAINER FOR GALLERY*********/

/*figure container*/
figure  {
    font-weight: bold;
    margin: 0 5%;
    width: 100%;
}
/*figcaption tag */
figcaption {
    margin: 1rem;
    width: 80%;
    color: #000000;
    font-size: 1.3rem;
    font-style: oblique;
    text-align: center;
}


/******** IMAGE GALLERY *********/

/* gallery tiles border */
div.gallery {
    border: 3px solid #ff8c21;
    background-color: #ff8c21;
  
}
/* gallery hover link */
div.gallery:hover {
    border: 3px solid #ff5500cc;
}
/* gallery image container */
div.gallery img {
    height: 100%;
    width: 100%;
    border-bottom: 3px solid #ff8c21;
}
/* gallery image descs */
div.desc {
    text-align: center;
    padding: 1rem 1rem 2rem;
    font-size: 18px;
}
* {
    box-sizing: border-box;
}
.responsive {
    padding: 8px;
    float: left;
    width: 30%;
    min-width: 100px;
    max-width: 560px;
}


/* gallery behavior for different screens  */

@media only screen and (max-width: 750px) {

    .responsive {
        margin: 5px 0;
        width: 40%;
    }
}
@media only screen and (max-width: 450px) {

    .responsive {
        width: 20%;
    }
}

/* stops gallery */
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

/******* VIDEO *************/

iframe  {
    width: 100%;
    height: 100%;
}
iframe.youtube-video {
    aspect-ratio: 16/9;
    width: 100%; 
    height: 100%;   
}

/******** TABLE FOR THE AUDIO PLAYER and NOT A DUCK LIST ***********/
th {text-align: left;
    text-decoration-line: underline;
}
th.width25  {
    width: 25%;
}
th.width20  {
    width: 20%;
}
th.width50  {
    width: 50%;
    font-size: 24px;
}

td {
    padding: 15px 5px;
}

table {
    font-size: 24px;
    width: 100%;
    padding: 20px 0 0;
    border-collapse: collapse;
    text-align: left;
}

table.auto-margin {
    margin: auto;
}

table.audio {
    text-align: center;

}
    
/* caption tag */

caption {
    padding-top: 3%;
    margin-left: 20px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-weight: normal;
    font-size: 1.3rem;
    text-align: left;
    color: #45005d;
}


/************************** NEXT PAGE LINK ********************/
div.next-page {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: bold;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}
div.next-page a:link {
    text-decoration-line: none;
}
/*******FOOTER *******/


footer a {
    font-size: 1rem;
}
/* footer unvisited link */
footer a:link {
    color: #3463ff;
}
footer a:hover {
    color: #3463ff;
}
/* footer visited link */
footer a:visited {
    color: #3463ff;
}



/* ID. centers validation */
#validation {
    text-align: center;
    font-size:1rem;
}

