
/* Text Stylings */

h2 {
    font-size: 24px;
    text-align: center;
    color: #2c537b;
}
a {
    font-weight: bold;
}
p {
    font-size: 15px;
    font-weight: lighter;
}

#title_heading {
    font-size: 40px;
    font-weight: bold;
    text-align: center;
}
.etc a, .button_link {
    display: inline-block;
    background: #e5fbff;
    color: black;
    text-decoration: none;
    padding: 9px;
    margin: 1px;
    font-size: 17px;
    border-radius: 15px;
    border: 5px outset #b3c6c9;
    transition: 0.25s ease all;
}
.etc a:hover, .button_link:hover {
    background-color: #ffffff;
    border: 5px outset #cadfe3;
    color: black;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
}
.etc a:active, .button_link:active {
    background-color: #a9a9a9;
    border: 5px outset #859295;
    color: white;
    box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.5);
}

#banner {
    height: 216px; 
    position: relative; 
    overflow: hidden;
}
.text-scroll {
    display: flex;
    position: absolute; 
    top: 0px; 
    left: 0px; 
    overflow: hidden; 
    white-space: nowrap;
    animation: scroll 10s linear infinite;
}
@keyframes scroll {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-50%, 0);
    }
}



/* General Stylings */

body {
    margin: 0; /* Reset/Initialize CSS */
    padding: 0;
    background-color:rgb(141, 255, 121);
    background-image: url("site_bg.png");
    background-size: 80px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.header {
    background-color: #a7ffbb;
    padding: 10px;
    text-align: center;
    color: #23682b;
    border: 7px double #23682b;
    border-radius: 0 0 15px 15px;
    box-shadow: 0px 5px 13px rgba(0, 0, 0, 0.5);
}
.section {
    background-color: #e2ffe3;
    margin-left: 240px;
    margin-right: 240px;
    padding: 20px;
    padding-left: 60px;
    padding-right: 60px;
    color: black;
    font-size: 14px;
    border: 6px outset #aec5af;
}
footer{
    background-color: #000000;
    padding: 10px;
    font-family: sans-serif;
    text-align: center;
    font-size: 12px;
    color: white;
}

.cols {
    display: grid;
    align-items: center; 
    grid-template-columns: 1fr 1fr;
    column-gap: 5px;
    text-align: left;
}
.etc {
    background-color: #b7f3ff;
    margin-left: 60px;
    margin-right: 60px;
    padding: 10px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    text-align: center;
    text-decoration: none;
    border: 8px ridge lightblue;
    border-radius: 15px;
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.5);
}


/* Navbar Stylings */

.topnav {
    display: inline-block;
    overflow: auto;
    background-color: #23682b;
    border-radius: 15px;
}
.topnav a {
    float: left; 
    color: #ffffff;
    padding: 15px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    transition: 0.15s ease all;
}
.topnav a:hover {
    background-color: #ffffff;
    color: #23682b;
}
.topnav a:hover img {
    filter: invert(100%);
}
.topnav a:active {
    background-color: #04AA6D;
    color: white;
}
.topnav img {
    vertical-align: middle;
    width: 20px;
}



/* Back to Top Button */
#scroll {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 150px;
    height: 128px;
    background-image: url("mr_h.png");
    background-size: cover;
    background-color: transparent;
    border: none;
    cursor: pointer;
}
#scroll:hover {
    background-image: url("mr_h_hover.png");
    animation: shake 0.2s;
    animation-iteration-count: 1;
}
@keyframes shake {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(2deg); }
  40% { transform: rotate(0deg); }
  60% { transform: rotate(-2deg); }
  80% { transform: rotate(0deg); }
  100% { transform: rotate(1deg); }
}



/* Intro Page */

#intro {
    text-align: center;
}
.cols_intro {
    display: grid;
    align-items: center; 
    grid-template-columns: 2fr 1fr;
    column-gap: 5px;
}

.photobanner {
    position: absolute; 
    top: 0px; 
    left: 0px; 
    overflow: hidden; 
    white-space: nowrap;
    animation: bannermove 10s linear infinite;
}
.rotate {
    animation: spin 5s linear infinite;
} @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(359deg); }
}



/* Blog Post Stylings */

.blogpost {
    background-color: #9e559e;
    margin: 10px;
    margin-left: 80px;
    margin-right: 80px;
    padding: 14px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    color: white;
    border: 5px dotted #43274b;
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.5);
}
.blogimg, .blogdesc {
    padding: 10px;
}



/* List Stylings */

.list {
    background-color: #fffa78;
    margin: 5px;
    margin-left: 200px;
    margin-right: 200px;
    padding: 10px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 15px;
    color: black;
    border: 3px inset #aec5af;
    border-radius: 15px;
}
.list ul, .highlite {
    display: table;
    margin: 0 auto;
    padding: 5px 30px;
    text-align: left;
    background: #fafff2;
    border-radius: 15px;
}
.list img {
    border-radius: 100px;
    height: 250px;
    box-shadow: 0 8px 11px #a09d4b;
}



/* Table Stylings */

.course_table {
    background-color: #76f6ff;
    margin: 5px;
    margin-left: 100px;
    margin-right: 100px;
    padding: 10px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 16px;
    text-align: center;
    border: 7px groove;
}
table {
    margin: 0 auto;
}
th, td {
    padding: 3px;
    padding-left: 6px;
    padding-right: 6px;
}



/* General Media Stylings */

.blogpost img {
    border: 10px solid #ffffff;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 320px;
    height: 240px;
}

.gallery {
    background-color: #7fe66a;
    color: white;
    border: 8px groove #529f43;
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.5);
}
.gallery img {
    background-color: white;
    height: 200px;
    margin: 3px 3px 0 3px;
    border: 5px solid black;
    transition: 0.25s ease all;
}
.gallery img:hover {
    filter: brightness(115%);
    border: 5px solid white;
    cursor: pointer;
    box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
}



/* Fone */
@media screen and (max-width: 1400px) {
    .section {
        padding-left: 4%;
        padding-right: 4%;
        margin-left: 10%;
        margin-right: 10%;
    }
    .list, .etc, .blogpost, .gallery {
        margin-left: 0;
        margin-right: 0;
    }
    .list, .etc, .blogpost {
        padding-left: 4%;
        padding-right: 4%;
    }
    .header div {
        text-align: center;
    }
    .etc img, .blogpost img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 70%;
        height: auto;
        object-fit: cover;
    }
    .cols, .cols_intro {
        grid-template-columns: 1fr
    }
    
} @media screen and (max-width: 1600px) and (min-width: 800px) {
    .list {
        margin-left: 100px;
        margin-right: 100px;
    }
    .spin {
      width: 40%;
      height: 40%;
    }
}