@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');

:root {
    --primeira-cor: #037fc7;
    --segunda-cor: #1b5d7c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', Courier, monospace;
}

body {
    min-height: 100vh;
    padding: 0px 90px;
}

html {
    background-image: url(./bg.jpg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #72dffe;
    /* background: url(./bg.jpg)no-repeat center center fixed;
    background-size: cover; */
}

.header {
    display: flex;
    align-items: center;
    height: 100px;
    padding: 50px 0px;
    justify-content: space-between;
}

.header .logo {
    display: flex;
    justify-content: start;
    text-transform: uppercase;
}

.header ul {
    display: flex;
}

.header ul li {
    list-style: none;
}

/* :not :last-child     (MENOS O ÚLTIMO)    */
.header ul li:not(:last-child) {
    margin-right: 30px;
}
/* ======================================== */

.header ul li a {
    text-decoration: none;
    padding: 5px 10px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 20px;
    color: #fcfcfc;
    background: var(--primeira-cor);
    transition: all ease-in 0.2s;
}

.header ul li a:hover {
    background: var(--segunda-cor);
}

/* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */
#check_id, label {
    display: none;
}

label {
    position: relative;
    width: 30px;
    height: 20px;
}

label span {
    position: absolute;
    width: 100%;
    height: 3px;
    border-radius: 10px;
    background: #000;
    transition: all .2s ease-in-out;
}

label span:nth-child(1) {
    top: 0;
}

label span:nth-child(2) {
    top: 8px;
}

label span:nth-child(3) {
    top: 16px;
}

#check_id:checked ~ label span:nth-child(1) {
    transform: rotate(-45deg);
    top: 8px;
}

#check_id:checked ~ label span:nth-child(2) {
    opacity: 0;
}

#check_id:checked ~ label span:nth-child(3) {
    transform: rotate(45deg);
    top: 8px;
}
/* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */

.main {
    margin-top: 70px;
    margin-bottom: 70px;
}

.main section h1 {
    font-size: 5em;
    line-height: 70px;
}

.main section h1:first-child {
    color: #1b5d7c;
}

.main section h1:last-child {
    color: #fcfcfc;
}

.main p {
    max-width: 60%;
    margin-top: 20px;
    font-weight: bold;
    font-size: 1.2em;
    text-shadow: 1px 1px 2px rgb(255, 255, 255);
}

.main .btn {
    margin-top: 30px;
    padding: 8px 10px;
    font-size: 0.9em;
    letter-spacing: 2px;
    border: none;
    background: var(--primeira-cor);
    color: #fcfcfc;
    border-radius: 5px;
    transition: all ease-in 0.2s;
}

.main button:hover {
    background: var(--segunda-cor);
}

.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 250px 0px 0px 0px;
}

.footer ul {
    display: flex;
    list-style: none;
}

.footer ul li {
    margin: 0 40px;
}

.footer ul li:hover {
    transform: scale(1.5);
}

.footer ul li a {
    font-size: 2em;
    text-decoration: none;
    color: var(--primeira-cor);
    transition: all ease-in 0.2s;
}

.footer ul li a:hover {
    color: var(--segunda-cor);
}

@media (max-width: 950px) {
    html {
        background-size: 1200px;
    }

    body {
        padding: 0px 60px;
    }

    .header ul li:not(:last-child) {
        margin-right: initial !important;
    }

    .main section h1 {
        text-align: center;
        font-size: 4em;
        line-height: 70px;
    }
    
    .main p {
        max-width: 100%;
        font-size: 1em;
    }

    .main .btn {
        margin: 200px auto 0px;
        display: flex;
    }
    
    .footer {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: initial !important;
    }

    .footer ul li {
        margin: 0 20px;
    }

    /*  ############## MENU BAR ############## */
    label {
        display: block;
    }

    .header ul {
        position: fixed;
        top: 90px;
        width: 100%;
        height: 219px;
        right: -105%;
        display: flex;
        flex-direction: column;
        transition: all 0.5s;
        background: var(--segunda-cor);
    }

    .header ul li {
        text-align: center;
        margin-top: 3px;
        line-height: 40px;
        background: var(--primeira-cor);
    }

    .header ul li:hover {
        background: var(--segunda-cor);
    }

    .header ul li a {
        padding: initial !important;
        border-radius: initial !important;
        color: #fcfcfc;
        background: initial !important;
        transition: all ease-in 0.2s;
    }

    #check_id:checked ~ ul {
        right: 0;
    }
    /*END  ############## MENU BAR ############## */
}

@media (max-width: 532px) {
    body {
        padding: 0px 10px;
    }

    .main section h1 {
        text-align: center;
        font-size: 2.7em;
        line-height: 50px;
    }
}