@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;
}

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


h2 {
    font-weight: 500;
    color: white;
    text-shadow: 2px 2px 4px #000000;
    letter-spacing: 10px;
}


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

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

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

h5 {
    font-size: 20px;
}

p, li {
    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/tracks.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;
}


/*

    PILLAR

*/

.pillars {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.pillar {
    padding: 16px 8px;
    margin: 0 16px;
    width: calc(100% / 3);
    border:solid 4px;
}

.pillar__num {
    margin-bottom: 8px;
}

.pillar__name {
    margin-bottom: 8px;
}

.pillar__01 {
    border-color: #DC241E;
}

.pillar__02 {
    border-color: #0032A0;
}

.pillar__03 {
    border-color: #FFC619;
}


/*

    PARTICIPATE

*/

#participate {
    margin-bottom: 48px;
}

.aus__img--wrapper {
    max-width: 50vw;
    margin-bottom: 48px;
}

.contingents {
    margin-bottom: 48px;
}

.cont__wrapper {
    width: 100%;
    margin-bottom: 48px;
}

.cont__title--wrapper {
    width: 100%;
    justify-content: space-around;
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.cont__logo {
    width: 100px;
}

.gallery {
    width: 100%;
    height: 600px;
    position: relative;
}

.gallery-cell {
    width: 100%;
    object-fit: cover;
}


.cell__img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}


/*

    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;
}


/* Small phone, tablets, large smartphones*/
@media (max-width:768px) {
    .nav__link--phone {
        display: none;
    }
    
    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;
    }

    .cont__logo {
        width: 80px;
    }

    .gallery, .cell__img {
        height: 400px;
    }

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

/* SMALL PHONES */

@media (max-width:480px) {


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

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

    .event {
        width: 50%;
    }

    .event__img {
        height: 40vw;
    }

    .background__captions {
        max-width: 80%;
    }

    p,
    button {
        font-size: 8px;
    }

    li {
        font-size: 12px;
    }
    
    .cont__logo {
        width: 60px;
    }

    .gallery, .cell__img {
        height: 300px;
    }

    .footer__content {
        font-size: 10px;
    }

    .footer__logo--wrapper {
        display: none;
    }

    .footer__info {
        margin: 0;
    }
}