/* CSS GLOBAL */

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #dfdfdf;
}

a {
    text-decoration: none;
    color: #000;
}

a:hover{
    color: #222;
}

h1,h2,h3,h4 {
    text-transform: uppercase;
}

h1, h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 4px 2px 4px rgba(180, 180, 180, 0.9);
    text-align: center;
}

h1, #email > h4 {
    padding-top: 0.7rem;
}

hr {
    opacity: 0;
}

li {
    list-style: none;
}

/* START MOBILE CSS */

/* HEADER */

header {
    display: flex;
    padding: 0.3rem;
    height: 27vw;
    max-height: 150px;
    background-color: #fff;
    align-items: center;
    justify-content: space-between;
}

.header__container-data {
    display: flex;
    flex-direction: column;
}

.header__container-data > p {
    font-size: 0.65rem;
}

.header__container-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    height: 100%;
}

.header__a-img {
    height: 60%;
    min-height: 2.5rem;
}

.header__title {
    font-weight: 500;
    font-size: 1.2rem;
}

/* MAIN */

main {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    text-align: center;
}

main * {
    margin: 1rem 3.2rem;
}

/* SECTION TRIPS */

h3 {
    font-size: 35px;
    text-align: center;
    text-shadow: 4px 2px 4px rgba(240, 240, 240, 0.3);
    max-width: 80%;
}

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

article div p:last-child {
    text-decoration: underline;
}

.trips__back {
    height: 25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    color: #fff;
}

.trips__back div {
    max-width: 80%;
}

#background1 {
    background: linear-gradient(rgba(16, 16, 16, 0.537), rgba(16, 16, 16, 0.537)) ,url(../img/Santorini.avif) fixed center;
    background-size: cover;
}

#background2 {
    background: linear-gradient(rgba(16, 16, 16, 0.537), rgba(16, 16, 16, 0.537)) ,url(../img/Manhattan.avif) fixed center;
    background-size: cover;
}

#background3 {
    background: linear-gradient(rgba(16, 16, 16, 0.537), rgba(16, 16, 16, 0.537)) ,url(../img/Costa\ Rica.avif) fixed center;
    background-size: cover;
}
#background4 {
    background: linear-gradient(rgba(16, 16, 16, 0.537), rgba(16, 16, 16, 0.537)) ,url(../img/Argentina.avif) fixed center;
    background-size: cover;
}

/* SECTION CONTACT */

.section__contact, .section__contact * {
    display: flex;
    flex-direction: column;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
}

#email *, #contact * {
    margin: 1vw auto;
}

/* FOOTER */

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer * {
    min-height: 2rem;
    margin: 0.6rem auto;
    max-width: 60vw;
    text-align: center;
}

.p-footer {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
    text-decoration: underline;
}

footer div > a:last-child {
    margin-top: 0.2rem;
}

/* END MOBILE CSS */
/* START DESKTOP CSS */

@media (min-width: 768px) {

/* GLOBAL */

    h1 {
        font-size: 3.5vw;
    }

    .p-trips {
        font-size: 1.6vw;
    }

    .p-main-contact, .p-footer, a {
        font-size: 2.1vw;
    }

/* HEADER */

    header {
        min-height: 10vw;
        justify-content: space-around;
    }

    .header__container-logo {
        width: 35vw;
        min-width: 25rem;
    }

    .header__container-data > p {
        font-size: 1rem;
    }

    .header__title {
        font-size: 2rem;
    }

    header > ul > li {
        font-size: 2.4vw;
    }
/* MAIN */

    main {
        min-height: 25vw;
        line-height: 3vw;
    }

/* SECTION TRIPS */

    article {
        border: 1px solid #888;
    }

    .trips {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

/* SECTION CONTACT */

    .section__contact, footer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        background: rgb(217,215,215);
        background: linear-gradient(0deg, rgba(217,215,215,1) 33%, rgba(223,223,223,1) 100%); 
    }

    .section__contact hgroup {
        min-height: 20vw;
    }

    #email, #contact {
        display: grid;
        grid-template-rows: repeat(2, 1fr);
    }

    #email *, #contact *{
        margin: auto;
    }

    #contact h4 {
        text-align: center;
    }
}

@media (min-width: 1200px) {

    .p-trips {
        font-size: 1.3vw;
    }

    h1 {
        font-size: 3.5vw;
    }

    h3, h4 {
        font-size: 2.8vw;
    }

    main {
        margin: 1rem 7rem ;
    }
}
