html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: white;
    display: flex;
    flex-direction: column;
}

header {
    width: 100%;
    max-height: 10%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px -3px 10px 4px rgb(107, 107, 107);
}

header h1 {
    width: 15%;
    text-align: center;
    font-family: 'Merienda', cursive;
    text-transform: uppercase;
    font-size: clamp(0.8rem, 2vw, 3rem);
    margin-left: 10%;
}

header nav {
    width: 40%;
    display: flex;
    justify-content: space-between;
    margin-right: 10%;
}

header nav a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0;
    border: none;
    background: none;
    text-decoration: none;
    color: black;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: clamp(0.5rem, 1.2vw, 4rem);
}

header nav a:hover {
    background-color: rgb(228, 228, 228);
    cursor: pointer;
}

main {
    background-image: url('../images/DSC06155_.jpg');
    background-size: 100% auto;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

main div {
    width: fit-content;
    height: fit-content;
    padding: 1.5em 2em .8em 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(37, 39, 48, 0.8);
}

.text {
    width: 75%;
    color: white;
    text-align: justify;
    font-size: clamp(0.5rem, 1vw, 4rem);
    font-family: 'Merienda', cursive;
    line-height: 1.5;
    user-select: none;
}

.text1 {
    display: none;
}

/* TABLET PORTRAIT*/

@media (hover: none) and (min-width: 599px) and (max-width: 1281px) and (orientation: portrait) {
    header {
        width: 100%;
        min-height: 10%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    header h1 {
        width: 30%;
        font-size: 2.2rem;
        margin-left: 0;
    }

    header nav {
        width: 65%;
        min-height: 100%;
        margin-right: 3%;
    }

    header nav a {
        width: 50%;
        display: flex;
        font-size: 1.4rem;
        -webkit-tap-highlight-color: transparent;
    }

    header nav a:active {
        background-color: rgb(228, 228, 228);
        cursor: none;
    }

    main {
        background-image: url('../images/IMG_20200421_162938_.jpg');
        width: 100%;
        height: fit-content;
        padding-top: 3vh;
    }

    .text {
        width: 85%;
        height: fit-content;
        color: white;
        text-align: justify;
        font-size: 1.3rem;
        font-family: 'Merienda', cursive;
        line-height: 1.5;
        user-select: none;
    }
}

/* PHONE PORTRAIT */

@media screen and (hover: none) and (max-width: 481px) and (orientation: portrait) {
    header {
        width: 100%;
        min-height: 10%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    header h1 {
        width: 30%;
        font-size: 1.2rem;
        margin-left: 0;
    }

    header nav {
        width: 65%;
        min-height: 100%;
        margin-right: 3%;
    }

    header nav a {
        width: 50%;
        display: flex;
        font-size: 0.72rem;
        -webkit-tap-highlight-color: transparent;
    }

    header nav a:active {
        background-color: rgb(228, 228, 228);
        cursor: none;
    }

    main {
        background-image: url('../images/IMG_20200421_162938_.jpg');
        width: 100%;
        height: fit-content;
        padding-top: 3vh;
    }

    main div {
        width: fit-content;
        height: fit-content;
        padding: 1.5em 1.5em .8em 1.5em;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .text {
        width: 85%;
        height: fit-content;
        color: white;
        text-align: justify;
        font-size: .8rem;
        font-family: 'Merienda', cursive;
        line-height: 1.5;
        user-select: none;
    }
}

/* PHONE LANDSCAPE */

@media screen and (hover: none) and (max-width: 900px) and (orientation: landscape) {
    header {
        width: 100%;
        min-height: 10%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    header h1 {
        width: 30%;
        font-size: 1.2rem;
        margin-left: 0;
    }

    header nav {
        width: 65%;
        min-height: 100%;
        margin-right: 3%;
    }

    header nav a {
        width: 50%;
        display: flex;
        font-size: 0.72rem;
        -webkit-tap-highlight-color: transparent;
    }

    header nav a:active {
        background-color: rgb(228, 228, 228);
        cursor: none;
    }

    main {
        background-image: url('../images/IMG_20200421_162938_.jpg');
        width: 100%;
        height: fit-content;
        padding-top: 3vh;
    }

    .text {
        width: 85%;
        color: white;
        text-align: justify;
        font-size: .8rem;
        font-family: 'Merienda', cursive;
        line-height: 1.5;
        user-select: none;
    }
}