/* ============= RESET CSS ================ */
@import url('https://fonts.googleapis.com/css?family=Kanit');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    color: #333;
    font-family: 'Kanit', sans-serif;
}
/* ================================== */

nav {
    background-color: white;
    display: flex;
    justify-content: space-between;
    height: 70px;
}

.logo {
    margin-left: 40px;
}

.links {
    display: flex;
    
}

.links div {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s linear;
}

.links div:hover {
    background-color: #E5E5E5;
}

.links a {
    text-decoration: none;
    color: #333;
    margin: 0 30px;
}

.carrinho {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 30px;
    border-left: 1px solid #33333325;
    transition: background-color 0.3s linear;
}

.carrinho:hover {
    background-color: #E5E5E5;
}

.carrinho a {
    text-decoration: none;
    color: #333;
}

/* INICIO MAIN */

main {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: row;
}

.sec1 {
    flex: 1;
    background-color: #F7F7F6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sec1 h1 {
    font-size: 52px;
    font-weight: normal;
    letter-spacing: 3px;
}

.sec1 p {
    font-size: 20px;
}

.sec1 .p1 {
    margin-bottom: 20px;
    margin-top: 20px;
}

.sec1 .p2 {
    font-weight: bold;
    font-size: 25px;
    margin-bottom: 20px;
}

.sec1 a {
    padding: 20px;
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    transition: 0.7s ease;
    display: inline-block;
}

.sec1 a:hover {
    transform: translateY(-7px);
    box-shadow: 2px 4px 10px  rgba(0, 0, 0, 0.268);
}

.sec1 .a1 {
    background-color: #A4A4A4 ;
}

.sec1 .a2 {
    background-color: #141110;
    margin-left: -3px;
}

.sec1 a {
    text-decoration: none;
    color: white;
}

.sec2 {
    flex: 1;
    background-color: #74D3FF;
    position: relative;
    min-height: 91vh;
}

.sec2 img {
    width: 95%;
    position: absolute;
    left: 0;
    top: 12%;
    transform: translateX(-11vw);
}

/* FIM MAIN */

/* INICIO RESPONSIVIDADE */

@media (max-width: 1200px) {

    nav {
        height: 60px;
    }

    .logo {
        margin-left: 15px;
    }

    .logo svg {
        width: 80%;
    }

    .sec1 .p2 {
        font-size: 20px;
    }

    .sec1 a {
        font-size: 12px;
        padding: 15px;
    }

    .sec1 h1 {
        font-size: 35px;
    }

    .sec1 p {
        font-size: 16px;
    }

    .sec2 img {
        width: 100%;
        top: 20%;
        transform: translateX(-7vw);
    }
}

@media (max-width: 900px) {

    nav {
        justify-content: left;
        height: 50px;
    }

    .logo {
        display: none;
    }

    .logo svg {
        display: none;
    }

    .carrinho {
        position: absolute;
        right: 0;
        font-size: 14px;
    }

    .links a {
        font-size: 14px;
        margin: 0 15px;
    }

    .sec2 {
        min-height: 92vh;
    }

}

@media (max-width: 740px) {

    main {
        flex-direction: column;
    }

    .sec1 h1 {
        margin-top: 60px;
    }

    .sec1 a {
        margin-bottom: 60px;
    }

    .sec2 {
        min-height: 45vh;
    }

    .sec2 img {
        top: -3vh;
        transform: translateX(0vw);
    }

    @media (max-width: 420px) {

        .links a {
            font-size: 10px;
            margin: 0 10px;
        }

        .carrinho a {
            font-size: 10px;
        }

        .carrinho {
            border: 0;
        }

    }

}

/* FIM RESPONSIVIDADE */