@import url("https://fonts.googleapis.com/css2?family=Allan&family=Lato:wght@300&display=swap");

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

body {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    max-width: 2000px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.8rem;
}

a {
    text-decoration: none;
    color: #252525;
}

/* headings */

h1,
h2,
h3 {
    font-family: "Allan", cursive;
    text-transform: uppercase;
    letter-spacing: 0.125rem;
    color: #252525;
}

/* header */

#logo {
    float: left;
    font-size: 280%;
    margin-left: 20px;
}

#menu {
    font-size: 110%;
    letter-spacing: 0.125rem;
}

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

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

#menu a {
    color: inherit;
    padding: 10px 5px;
}

#menu a:hover {
    background-color: #252525;
    color: #fff;
    border-radius: 3px;
}

.active {
    border-bottom: 1px solid #252525
}

/* hero image */
#hero-outer {
    height: 600px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

#hero-image {
    background: url("../images/hero-image.webp") no-repeat center center;
    height: 600px;
    width: 100%;
    background-size: cover;
}

#box {
    font-size: 170%;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 250px;
    padding: 15px 10px;
    background-color: rgba(161, 168, 186, .8);
    right: 15px;
    bottom: 15px;
    border-radius: 15px;
    position: absolute;
}

/* text section  and events */
.cover-text {
    text-align: center;
    margin: 15px;
    font-size: 130%
}

.cover-text h2 {
    padding: 20px;
}

.cover-text p {
    padding-bottom: 10px;
}

#events {
    margin: 10px 20px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
}

#events>div {
    border-radius: 1em;
    width: 310px;
    height: 120px;
    margin: 10px;
    padding: 8px;
    background-color: #a1a8ba;
}

/* Footer */
footer {
    text-align: center;
    margin: 60px 0 10px;
}

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

.social-networks li {
    display: inline;
}

.social-networks i {
    font-size: 180%;
    margin: 3%;
    color: #252525;
}

footer p {
    color: #465866;
}


/* About  */
.pages-titles {
    clear: both;
    font-size: 250%;
    color: #465866;
    text-align: center;
    margin: 45px 30px 25px;
}

.team {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 18px;
}

.card-image {
    background-color: #a1a8ba;
}

.card-image img {
    width: 300px;
    height: 250px;
    padding: 10px;
    object-position: center;
    object-fit: cover;
    box-sizing: border-box;
}

.card-text {
    width: 300px;
    height: 253px;
    box-sizing: border-box;
    background-color: #a1a8ba;
    padding-top: 12px;
}

.card-text p {
    padding: 15px 10px;
    font-size: 150%;
}

iframe {
    width: 600px;
    height: 340px;
}

/* gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery img {
    width: 300px;
    height: 300px;
    background-color: #a1a8ba;
    padding: 10px;
    object-fit: cover;
    object-position: center;
    margin: 10px;
}

.gallery img:hover {
    opacity: 0.5;
    transition: 0.5s;
}


/* contact */
.contact-section {
    background-color: #465866;
    padding: 50px 0;
    margin: 15px 20px;
    font-size: 160%;
}

.get-in-touch {
    color: #252525;
    background-color: #a1a8ba;
    max-width: 400px;
    padding: 30px;
    margin-left: auto;
    margin-right: auto;
}

.get-in-touch>h2 {
    color: #465866;
    margin-bottom: 20px;
    text-align: center;
}

.text-input {
    color: #465866;
    width: 100%;
    height: 25px;
    margin: 5px 0 20px 0;
    border: 1px solid #fff;
    border-radius: 2px;
}

.text-input:hover {
    border-color: #252525;
}

input {
    padding: 5px;
}

#textarea {
    width: 400px;
    height: 100px;
    padding: 5px;
    max-width: 100%;
    margin: 10px 0 20px 0;
    border: 1px solid #fff;
    border-radius: 2px;
}

.send-button {
    padding: 10px;
    font-size: 90%;
    background-color: #465866;
    color: #fff;
    display: block;
    border-radius: 5px;
}

.send-button:hover {
    background-color: #fff;
    color: #465866;
}


/* Media queries */
/* For medium screens sizes from 635px wide and down */
@media screen and (max-width: 635px) {

    #logo {
        width: 100%;
        height: 75px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        line-height: 90px;
    }

    #menu {
        height: 75px;
        font-size: 100%;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }

    #menu li {
        margin-left: 7.5px;
        margin-right: 7.5px;
        height: 60px;
        line-height: 50px;
    }

    .card-text {
        min-width: 300px;
    }

    .contact-section {
        font-size: 100%;
    }

    iframe {
        width: 300px;
    }
}