@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    font-family: "Montserrat Alternates", sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6,
span {
    color: #242424;
    text-align: center;
    line-height: 1.25;
}

h1 {
    font-weight: 500;
    margin-bottom: 16px;
}

h2 {
    font-weight: 300;
    color: white;
    text-shadow: 2px 2px 4px #000000;
}

h1,
h2,
h3 {
    font-size: 36px;
}

h4 {
    font-size: 20px;
    font-weight: 400;
}

h5 {
    font-size: 20px;
}

p {
    line-height: 1.5;
    font-size: 18px;
    color: #0032A0;
}

a {
    text-decoration: none;
    position: relative;
    transition: opacity 300ms ease;
    color: #242424;
}

li {
    list-style-type: none;
}

button {
    text-decoration: none;
    border: none;
    background: none;
    font-size: 18px;
}

img {
    width: 100%;
}

header {
    width: 100%;
    height: calc(100vh - 80px);
    background-image: url(./Assets/landing-bg.jpg);
    background-color: #F68D1E;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    padding: 50px 0;
}

.row {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.link__hover-effect:after {
    content: "";
    position: absolute;
    height: 2px;
    background-color: black;
    width: 0;
    bottom: -3px;
    right: 0;
    transition: all 300ms ease;

}

.link__hover-effect:hover:after {
    width: 100%;
    left: 0;
    background-color: black;
}




/*

    NAVIGATION BAR 

*/

.muafakat__logo--wrapper {
    width: 60px;
}

.muafakat__logo--img {
    display: flex;
    width: 100%;
}

nav {
    height: 80px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
}

.nav__link--list {
    display: flex;
}

.nav__link--anchor {
    margin: 0 12px;
    color: #242424;
}

.button__link {
    color: white;
}

button {
    background-image: linear-gradient(90deg, #F15722 0%, #F68D1E 100%);
    padding: 8px 20px;
    border-radius: 20px;
    color: white;
    transition: all 300ms ease;
}

/*

    HEADER

*/

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

.muafakat__title--wrapper {
    width: 90%;
    max-width: 1200px;
}

/*

    ABOUT

*/

.motto {
    color: #DC241E;
    margin-bottom: 48px;
}


.about__img--list {
    display: flex;
    width: 100%;
    margin-bottom: 16px;
}

.about__img--wrapper {
    width: calc(100% / 3);
    max-height: 50%;
    margin: 8px;
    object-fit: cover;
}

.about__img {
    display: flex;
    height: 400px;
    object-fit: cover;
}

.about__description {
    width: 80%;
    margin-bottom: 24px;
}

/*

    EVENT SCHEDULE

*/

.row__event {
    max-width: 1000px;
    padding: 0;
}

.events {
    display: flex;
    flex-wrap: wrap;
}

.event {
    width: calc(100% / 3);
    padding: 0 8px;
    margin-bottom: 16px;
}

.event__img {
    height: 20vw;
    object-fit: cover;
    margin-bottom: 8px;
}

.event__description {
    display: flex;
    justify-content: space-around;
    align-items: center;

}

.event__half1--day {
    color: #DC241E;
}

.event__half2--time {
    color: #0032A0;
}

/*

    AFFILIATES

*/

.affiliates__logo--list {
    display: flex;
    align-items: center;
    width: 100%;
}

.ema__img--wrapper {
    width: 30%;
    padding: 24px;
    margin-bottom: 32px;
}

.masca__logo--wrapper {
    width: calc(100%/6);
    padding: 16px;
}

.masca__logo--img {
    max-height: 124px;
    width: 100%;
}


/*
    FOOTER

*/

footer {
    background-image: url(./Assets/tracks.jpg);
    background-color: #F68D1E;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__container {
    margin: 2vw 2vw;
    width: 100%;
    height: 30vh;
    background-color: white;
    border-radius: 16px;
}

.footer__content {
    display: flex;
    height: 15vh;
    width: 100%;
    justify-content: space-between;
}

.footer__info {
    height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 8px;
}

.footer__info,
.footer__info--title {
    text-align: left;
}

.footer__info--title {
    margin-bottom: 8px;
}

.footer__info--list {
    display: flex;
    flex-direction: column;
}

.footer__info--link {
    margin-bottom: 8px;
}

.footer__logo--wrapper {
    height: inherit;
}

.footer__logo--img {
    height: 100%;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    height: inherit;
    align-items: end;
    justify-content: space-between;
}

.social__link {
    padding: 8px;
}

/*

    ABOUT PAGE

*/


/* Small phone, tablets, large smartphones*/
@media (max-width:768px) {

    h1 {
        font-size: 28px;
    }

    h1,
    h2,
    h3 {
        font-size: 24px;
    }

    h4 {
        font-size: 14px;
        font-weight: 500;
    }
    
    h5, li {
        font-size: 16px;
    }

    p,
    button,
    nav {
        font-size: 16px;
    }

    .masca__logo--wrapper {
        padding: 8px;
    }

    .footer__logo--wrapper {
        height: 60px;
    }
    
}

/* SMALL PHONES */

@media (max-width:480px) {
    .nav__link--phone {
        display: none;
    }

    h1,
    h2,
    h3 {
        font-size: 18px;
    }

    h4, h5 {
        font-size: 14px;
    }

    .event {
        width: 50%;
    }

    .event__img {
        height: 40vw;
    }

    p,
    button,
    nav {
        font-size: 12px;
    }

    li {
        font-size: 12px;
    }

    .about__img {
        height: 200px;
    }
    
    .masca__logo--wrapper {
        padding: 6px;
    }

    .footer__content {
        font-size: 10px;
    }

    .footer__logo--wrapper {
        display: none;
    }

    .footer__info {
        margin: 0;
    }
}