/* CORE FRAMEWORKS */

@font-face {
    font-family: Arcadia;
    src: url(assets/arcadiaescola.ttf);
}



body {
    font-family: Roboto, sans-serif;
    font-weight: 900;
    box-sizing: border-box;
    font-size: x-large;
}

section {
    display: flex;
}

.container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin: 0 auto;
}

.row {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    justify-content: space-around;
}

.red {
    color: rgb(181, 181, 181);
}

#sec-one h1 {
    margin: 0;
    font-size: 6rem;
    font-family: Arcadia;
    text-align: center;
}

#sec-one h2 {
    margin: 0;
    font-size: 3rem;
    font-family: Arcadia;

}

#sec-one #claim {
    font-family: Arcadia;
    font-size: 2rem;
    text-align: center;
    margin: 2rem;
}

#sec-one,
#sec-two p {
    margin: 1rem;
    font-size: 2rem;
    text-align: center;
    max-width: 70rem;
    font-weight: 400;
}


#sec-two li {
    font-size: 2rem;
    font-weight: 350;

}




.flex-item {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
    background-color: #A2CB65;
}



/* FOR DEMO AND DEV */
#sec-one {
    background-color: #7321AA;
    max-width: 100vw;
    min-height: 100vh;
    color: white;
}

#sec-two {
    background-color: white;
    max-width: 100vw;
    min-height: 100vh;
}

#sec-three {
    background-color: white;
    max-width: 100vw;
    min-height: 85vh;
}

#sec-four {
    background-color: #7321AA;
    max-width: 100vw;
    min-height: 100vh;
}


section .container {
    padding: 2em;
}

.top-container {
    margin: auto;
}

.item-one,
.item-two,
.item-three {
    padding: 1em;
    text-align: justify;
    border-left: 1rem solid #7321AA;
    font-weight: 380;

}

.sang {
    margin-left: 3.6rem;
}

.petita p {
    font-size: 1.2rem;
    text-align: center;
}

.petita strong {
    text-align: left;
}

.arcadia {
    font-family: Arcadia;
}

.card {
    /* Add shadows to create the "card" effect */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    place-self: center;
    font-weight: 400;
    background-color: whitesmoke;

}

/* On mouse-over, add a deeper shadow */
.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

/* Add some padding inside the card container */
.container {
    padding: 2px 16px;
}


li {
    list-style: none;
    margin-top: 1rem;
}


li::before {
    font-family: Arcadia;
    font-size: 2.7rem;
    content: "Ẅ ";
}

#inscripcio .flex-item {
    background-color: white;
    margin: 0 10rem;
}


.arcadia {
    text-align: center;
}

.the-wall {
    white-space: nowrap;
    place-self: center;
}

.responsive {
    max-height: 75vh;
    margin: 3% auto;
    align-self: center;
}

@media screen and (min-width: 1500px) {
    #inscripcio .flex-item {
        margin: 0 10rem 5rem;
    }
}

@media screen and (max-width: 1281px) {

    img {
        max-width: 75%;
    }

    #inscripcio {
        padding: 1rem;

    }

    #inscripcio .flex-item {
        background-color: white;
        margin: 0;
    }

    body {
        font-family: Roboto, sans-serif;
        font-weight: 300;
        box-sizing: border-box;
        font-size: large;
    }

    section {
        display: block;
    }

    .container {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        margin: 0 auto;
    }

    .row {
        width: auto;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        justify-content: space-around;
    }

    #sec-one h1 {
        margin: 0;
        font-size: 2.5rem;
        font-family: Arcadia;
        text-align: center;
    }

    #sec-one h2 {
        margin: 0;
        font-size: 1.5rem;
        font-family: Arcadia;

    }

    #sec-one #claim {
        font-family: Arcadia;
        font-size: 1.5rem;
        text-align: center;
        margin: 1rem;
    }

    #sec-one,
    #sec-two p {
        margin: 1rem;
        font-size: 1.5rem;
        text-align: center;
        max-width: 70rem;
    }

    .item-one, .item-two, .item-three {
        text-align: center;
    }

    .petita {
        font-size: 1.3rem;
        text-align: left;
    }

    .petita strong {
        margin-top: 1       rem;
        display: block;
    }

    .sang {
        font-size: 1rem;
    }

    #sec-two li {
        font-size: 2rem;
    }


    .item-one,
    .item-two,
    .item-three {
        display: block;
        padding: 1em;
        border-left: 1rem solid #7321AA;
    }

    .item-one,
    .item-three {
        text-align: justify;
    }    

    .flex-item {
        display: block;
        flex-grow: 1;
        flex-direction: column;
        background-color: #A2CB65;
    }

    .break {
        display: block;
    }

    @media screen and (max-width: 375px) {

        #sec-one h2 {
            margin: 0;
            font-size: 1.2rem;
            font-family: Arcadia;

        }

        h1,
        h2,
        h3 {
            text-align: center;
        }

        li {
            text-align: c;
        }


        .the-wall {
            white-space: nowrap;
            place-self: center;
        }

        .responsive {
            max-width: 100vw;
            max-height: 25vh;
            margin: 3% auto;
            align-self: center;
        }


    }
}

footer {
    display: flex;
    flex-direction: column;
    margin: 0vh auto;
    padding-bottom:  5vh;
    place-items: center;
    justify-items: baseline;
    flex-shrink: 0;
    font-weight: 400;
    line-height: normal;


}

footer img {
    margin: 0 auto;
}

p footer {
    place-self: center;
    line-height: normal;
    font-weight: 400;
    margin-top: 0;
}

.documents {
    background-color: rgba(121, 36, 239, 0.589);
    place-self: center;
}

.documents .arcadia {
    margin-top:1rem;
    color: white;
    font-weight: 500;
}

.logo {
    max-width: 15%;
    place-self: center;
}

.purple {
    color: #7321AA;
}

.green {
    color: #A2CB65;
}

.white {
    color: white;
}

.bg-green {
    background-color: #A2CB65;
}

.bg-purple {
    background-color: #7321AA;
}

#sec-two strong {
    color: #7321AA;
}

#sec-two h2 {
    color: #A2CB65;
    text-transform: uppercase;
}

#inscripcio {
    background-color: #A2CB65;
    min-height: 20vh;
}

#inscripcio h2 {
    color: white;
}

.nowrap {
    white-space: nowrap;
}

.self-center {
    place-self: center;
}

#sec-four .flex-item {
    background-color: white;
    border-color: #A2CB65;
}

.wh {
    display: inline-block;
    font-weight: 700;
    margin-right: 1rem;
    
}

.wh a img {
    position: relative;
    top: 5px;
    margin-right: 1rem;
}

.wh a img:hover{
    transform: scale(0.8, 0.8) rotate(-3deg);
    transition: all 0.35s;
}

a {
    color:#7321AA;
    text-decoration: none;
}

.menu {
    color:white;
    font-family: Arcadia;
}

.left {
    text-align: left;
}

h2 {
    font-size: 2.3rem;
    margin: 1.2rem;
}

h3 {
    font-size: 2rem;
    font-weight: 400;
}

p { margin: 1rem;}

strong {
    font-weight: bold;
}

#sec-three > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) {
    place-content: flex-start;
    padding-top: 4rem;
}

.titol {
    margin-top: 1rem;
}