@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');

* {
    margin: 0;
    padding: 0;
    border: none;
}

body {
    font-family: Merriweather, sans-serif;
    font-weight: 100;
    color: #3a3a3a;
    background-color: #f6f0e5;
}

/* headings and logo */

h1, h2 {
    font-family: Merriweather, sans-serif;
    letter-spacing: 2px;
    color: #252525;
}

p {
    font-size: 90%;}

#logo {
    float: left;
    width: 160px;
    height: auto;
    margin: 1%;
    
}

/* navigation links */

#menu {
    font-size: 110%;
    letter-spacing: 2px;
    float: left;
    clear: left;
    margin-left: 20px;
    margin-bottom: 20px;
}

#menu, #logo {
    line-height: 40px;
}

#menu li {
    float: right;
    list-style-type: none;
    margin-right: 30px;
}

#menu a {
    text-decoration: none;
    color: inherit;
}

#menu a:hover {
    border-bottom: 1px solid #3a3a3a;
}

.active {
    border-bottom: 1px solid #3a3a3a;
}

/* hero image & cover text */

#hero-outer {
    height: 550px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

#logo_text {
    padding-top: 2rem;
}

#contact_text {
    position: absolute;
    top: 1.5rem;
    right: 1rem;
    text-align: right;
    font-size: 90%;
    color: #3a3a3a;
}

#contact_text_mobile {
    display: none;
    margin-left: 20px;
    margin-bottom: 5px;
    padding-top: 2px;
}

#strapline {
    width: 100%;
    background: linear-gradient(to right, #f6f0e5, #f6f0e5, #065174, #065174);
}

/* school ethos*/

#school-ethos {
    height: 600px;
}

#left-about {
    padding-top: 30px;
    width: 33%;
    float: left;
}

#right-about {
    padding-top: 30px;
    width: 33%;
    float: right;
}

hr {
    border-top: 1px solid #3a3a3a;
    width: 100%;
    margin: 5px 0;
}

#center-about {
    width: 33%;
    margin: 0 auto;
}

.left-about-heading {
    width: 60%;
    float: right;
    line-height: 20px;
    clear: both;
    margin-bottom: 50px;
}

.right-about-heading {
    width: 60%;
    float: left;
    line-height: 20px;
    clear: both;
    margin-bottom: 50px;
}

.right-about-heading h2 {
    text-align: right;
}

.right-about-heading p {
    text-align: right;
}

#welcome {
    text-align: center;
    margin: 20px 0;
    font-size:  200%;
}
#circle-container {
    width: 250px;
    height: 250px;
    padding: 14px;
    border-style: solid;
    border-color: #ccc;
    border-width: 1px;
    border-radius: 50%;
    margin: 0 auto;
}

#circle-cover-bg {
    background: url('../images/stmarys_building.avif') no-repeat center center;
    height: 100%;
    border-radius: 50%;
}

#times {
    background: url('../images/drumcar_hero.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    overflow:hidden;
}

#times div {
    color: #fafafa;
    background-color: rgba(0, 0, 0, .6);
    width: 25%;
    height: 300px;
    float: left;
    padding: 20px;
    text-align: center;
    border: 2px solid white;
    box-sizing: border-box;
    font-family: Merriweather, sans-serif;
}

#times h2 {
    color: #fafafa;
}

footer {
    height: 150px;
}

.social-networks {
    text-align: center;
}

.social-networks > li {
    display: inline;
}

.social-networks i {
    font-size: 160%;
    margin: 1%;
    padding: 5%;
    color: #3a3a3a; 
}

/* gallery */

#photos {
    clear: both;
    line-height: 0;
    column-count: 4;
    column-gap: 0;
}

#photos > img {
    width: 100%;
}

/* media queries */

/* for larger to medium screens size from 1200px wide and down */
@media screen and (max-width: 1200px) {
    #club-ethos {
        width: 65%;
        height: 1200px;
        margin: 0 auto;
    }

    #welcome {
        padding: 30px 0;
        margin: 0;
    }

    #left-about, #right-about {
        width: 100%;
        float: left;
        padding: 0;
        }

    #center-about {
        clear: both;
        width: 100%;
        float: left;
        padding: 0;
    } 

    #times > div {
        width: 100%;
        clear: both;
        height: 200px;
        padding: 15px;
    }

    hr {
        display: none;
    }   
}

/* for medium screen sizes from 950 px wide and down */
@media screen and (max-width: 950px) {
    #menu {
        clear: left;
        float: left;
        margin-left: 20px;
        margin-bottom: 20px;
        line-height: 25px;
    }

    #cover-text {
        left: 0;

    }

    #club-ethos {
        width: 90%;
        height: 1200px;
        margin: 0 auto;
    }

    .left-about-heading, .right-about-heading {
            width: inherit;
    }

    .left-about-heading h2, .right-about-heading h2 {
        width: 100%;
        text-align: center;
    }

    .left-about-heading p, .right-about-heading p {
        text-align: center;
        padding: 0 20px;
}

    #photos {
        column-count: 3;
    }

/* for small screen sizes 800px and down */
 @media screen and (max-width: 800px)  {
     #photos {
         column-count: 2;
     }
        
    }

}

/* for small screen sizes 700px and down */
 @media screen and (max-width: 700px)  {
     #photos {
         column-count: 2;
     }

     #menu {
        margin-top: 20px;
     }

    #contact_text {
    display: none;
    }
        
    #contact_text_mobile {
        display: block;
    }
 }

 /* for small screen sizes 450px and down */
 @media screen and (max-width: 450px)  {
        #photos {
            column-count: 1;
        }

     #menu {
        font-size: 100%;
        margin-left: 10px;
     }

      #menu li {
        margin-right: 20px;
     }

     #contact_text_mobile {
        font-size: 90%;
        margin-left: 10px;
     }
 }