* {
    padding: 0;
    margin: 0;
    border: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-decoration: none;
}

:root {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    height: 100vh;
    font-size: 2rem;
    font-family: 'Montserrat', sans-serif;
}

header {
    background-color: #000000;
    /* height: 9%; */
    padding: 5px 0;
    width: 100%;
}
main {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 82%;
    background-image: url('img/background.png');
    background-repeat: no-repeat;
}
.container-background {
    position: absolute;
    object-fit: cover;
    width: 69%;
    height: 100%;
}
.container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}
.container img {
    padding-top: 8rem;
}
.container p {
    font-size: 2.2rem;
    text-align: center;
}
.container p.info {
    width: 80rem;
    padding-top: 3.5rem;
}
.container p.contact {
    width: 70rem;
    padding: 1.5rem 0 2.5rem 0;
}
.buttons button {
    background-color: #a1d333;
    font-size: 2.2rem;
    font-weight: bold;
    padding: 0.4rem 3rem;
    border-radius: 2rem 2rem 0 2rem;
    cursor: pointer;
}
.buttons button + button {
    margin-left: 3rem;
}
footer {
    background-color: #a1d333;
    height: 9%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
footer p {
    font-size: 1.8rem;
    font-weight: 600;
    font-style: italic;
    text-align: center;
}

/* @media (max-width: 1366px) {
    main {
        background: none;
    }
} */

@media (max-width: 768px) and (orientation: portrait) {
    footer {
        text-align: center;
        position: fixed;
        bottom: 0;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    footer {
        margin-top: 100px;
        text-align: center;
    }
}

@media (max-width: 768px) {

    div.container {
        padding: 15px;
    }

    main {
        background: none;
        height: auto;
    }

    img.container-background {
        display: none;
    }

    .container p.info {
        width: 100%;
    }

    .container p {
        font-size: 1.5rem;
    }

    .container p.contact {
        width: 100%;
    }

    .container img {
        width: 300px;
    }

    .buttons button + button {
        margin-left: 0;
    }

    div.buttons {
        text-align: center;
    }

    div.buttons button {
        margin-bottom: 10px ;
    }

    footer {
        background-color: #a1d333;
        height: auto;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 122px;
    }

    footer p {
        font-size: 1.5rem;
        text-align: center;
        padding: 10px;
    }
}

@media screen and ( min-width: 850px ) and ( max-height: 850px )
{
    main {
        height: auto !important;
        min-height: 100%;
    }
}

@media (max-width: 1300px) {
    .container img {
        padding-top: 0%;
        max-height: 165px;
        margin-top: -75px;
    }
}

@media (max-width: 500px) {
    footer {
       position: relative;
    }
}

@media (max-width: 320px) {
    footer {
        margin-top: 265px;
    }
}

@media (max-width: 1500px){
    .container img {
        padding-top: 3%;
        max-height: 200px;
    }
    .container p {
        font-size: 1.9rem;
        text-align: center;
    }
    .container-background {
        position: absolute;
        object-fit: cover;
        width: 84%;
        height: 100%;
    }
}

@media (min-width: 1500px){
    header{
        display: none;
    }
    main{
        height: 100vh;
    }
    footer{
        position: fixed;
        width: 100%;
        bottom: 0;
    }
}

@media (max-width: 1150px){
    .container-background {
        position: absolute;
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 980px){
    main {
        background: none;
        height: auto;
        padding-top: 15%;
        margin: auto auto;
    }
    .container img {
        margin-top: 0px;
    }
}