@import url('../assets/styles/theme.css');

@media screen and (min-width: 320px) {

    /* Call Button - section */

    footer > div:nth-child(1),
    footer > div:nth-child(1) > a,
    footer > div:nth-child(1) > a > img {
        display: none;
    }

    /* Trip Form - section */

    main section:first-child {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--fourth-color);
    }

    main section:first-child > div:first-child {
        background-color: var(--first-color);
        height: 95%;
        width: 90%;
        margin: auto;
        margin: 20px 0 20px 0;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        border: 2px solid var(--first-color);
    }

    main section:first-child > div:first-child > div {
        height: 250px;
        background-color: var(--third-color);
    }

    #trip > div:first-child {
        margin: 10px 18px 10px 18px;
    }

    #trip > div:first-child > label {
        color: var(--second-color);
        font-size: 18px;
    }

    #trip > div:first-child > input,
    #trip > div:first-child > select {
        width: 100%;
        height: 35px;
        margin-bottom: 10px;
        padding: 0 0 0 5px;
        font-size: 16px;
        background-color: var(--second-color);
    }

    #trip > div:first-child > input:nth-child(26) {
        height: 150px;
    }

    #trip-order {
        border-radius: 20px;
        margin: 20px 0 10px 0;
    }

    #trip-order:hover {
        color: var(--fourth-color);
    }

    main section:last-child {
        z-index: 9999;
        width: 100%;
        background-color: orange;
    }

    main section:last-child > div {
        display: flex;
        justify-content: center;
        align-self: center;
        text-align: center;
        margin: auto;
    }

    main section:last-child > div > p {
        color: var(--second-color);
        font-weight: bolder;
    }
}

@media screen and (min-width: 499px) {

    main > section:first-child > div:first-child > div:first-child {
        height: 350px;
    } 
}

@media screen and (min-width: 599px) {

    main > section:first-child > div:first-child > div:first-child {
        height: 400px;
    } 
}

@media screen and (min-width: 699px) {

    main > section:first-child > div:first-child > div:first-child {
        height: 450px;
    } 
}

@media screen and (min-width: 799px) {

    body {
        background-image:  url("../img/Fixed_Background.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
    }

    main {
        margin: 0 20% 0 20%;
    }

    article,
    section {
        border-right: 2px solid var(--first-color);
        border-left: 2px solid var(--first-color);
    }

    main > section:first-child > div:first-child > div:first-child {
        height: 350px;
    } 
}

@media screen and (min-width: 1099px) {

    main > section:first-child > div:first-child > div:first-child {
        height: 500px;
    } 

    main section:last-child > div > p {
        font-size: 22px;
    }
}

@media screen and (min-width: 1599px) {

    main {
        margin: 0 30% 0 30%;
    }
}