span {
    color: #5B5597;
}

header {
    border-bottom: 6px solid #5B5597;
}

.logoSomai img {
    width: 150px;
    height: 115px;
}

.logoSomai .bellowLogoSomai .telHeader a {
    color: #5B5597;
}

.logoSomai .bellowLogoSomai {
    width: 95%;
    margin-right: auto;
    margin-top: 10px;
}

nav a {
    font-size: 1.1rem;
    font-weight: bold;
    color: #5B5597;
}

.navButtom .lateralBorder {
    border-left: 2px solid #5B5597;
    border-right: 2px solid #5B5597;
}

.dropDown {
    border-bottom: solid 5px #5B5597;
}

.navButtomGeral:hover .navLabelTransiton{
    color: #5a559796;
    transition-duration: 300ms;
}

.navButtom:hover .navLabelTransiton {
    color: #5a559796;
    transition-duration: 300ms;
}

.navButtomDrop:hover .dropNavLabelTransiton {
    color: #5a559796;
    transition-duration: 300ms;
}

.sendContactEmailOrTel {
    margin-top: 20px;
}

.sendContactEmailOrTel p.phoneSomaiGroup {
    padding: 0;
    margin-top: auto;
    margin-bottom: auto;
}

.herotop2 img {
    box-shadow: 10px 12px 12px rgba(0, 0, 0, 0.295);
    margin-top: 50px;
}

.secondMainSomax {
    width: 100%;
    min-height: 200px;
    display: flex;
    justify-content: space-between;
    border-top: 6px solid #5B5597;
}

.secondMainSomaxLeft {
    width: 35%;
    padding-top: 20px;
    padding-left: 23px;
    margin: 40px 0 60px 55px;
}

.secondMainSomaxRight {
    width: 50%;
}

.secondMainSomax p {
    font-size: 1.1rem;
    font-family: 'Roboto', sans-serif;
}

.buttom {
    background-color: #5B5597;
    width: 35%;
    padding: 15px 10px;
}

.work {
    margin-top: 50px;
}

.work p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    line-height: 2.2rem;
}

.work span {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    line-height: 2.2rem;
}

.secondMainSomaxLeft .work a.buttom {
    margin-top: 15px;
}

.secondMainSomaxRight img {
    height: 100%;
    width: 100%;
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.295);
}

footer {
    border-top: 6px solid #5B5597;
    background-color: #3c3866;
}


/* Mobile Layout */
@media (max-width: 428px) {
    .logoSomai .bellowLogoSomai {
        width: 100%;
    }

    nav .navButtom {
        border: 5.5px solid #5B5597;
        background-color: #5B5597;
        padding: 6px 25px;
        margin: 10px 20px;
    }

    nav span {
        color: #5B5597;
    }

    main {
        display: block;
        padding-left: 25px;
        padding-right: 25px;
        padding-top: 45px;
    }

    .herotop1 {
        width: 100%;
        margin-right: 0;
    }

    .herotop1 p {
        padding-right: 0;
    }

    .sendContactEmailOrTel i img {
        margin-left: 6px;
    }

    .herotop2 {
        margin-right: 0;
        width: 100%;
    }

    .herotop2 img {
        width: 100%;
        height: 230px;
        margin-top: 45px;
    }

    .secondMainSomax {
        width: 100%;
        padding-bottom: 30px;
        background-image: url(../images/principal-somai-group.jpeg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }

    .secondMainSomax h1 {
        margin-left: 25px;
        margin-top: 25px;
    }

    .secondMainSomax p {
        margin: 25px;
    }

    .secondMainSomaxLeft {
        margin: 0 20px 0 0;
        width: 100%;
        padding: 0 0 25px 0;

        margin: 45px 25px 0 25px;
        background-color: #ffffffd6;
        box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.295);
        border-radius: 6px;
        border-left: 5px solid #5B5597;
        border-right: 5px solid #5B5597;
    }

    .secondMainSomaxLeft .work {
        width: 100%;
    }

    .secondMainSomaxLeft .work a.buttom {
        margin-left: 25px;
        margin-top: 25px;
    }

    .secondMainSomaxRight {
        display: none;
    }

    .secondMainSomaxRight img {
        display: none;
    }
}

/* Tablet Layout (Vertical) */
@media (min-width: 430px) and (max-width: 820px) {
    header .logoSomai img {
        width: 195px;
        height: 160px;
        margin-bottom: 30px;
    }

    .logoSomai .bellowLogoSomai {
        width: 23%;
    }

    nav .navButtom {
        border: 5.5px solid #5B5597;
        background-color: #5B5597;
    }

    nav span {
        color: #5B5597;
    }

    main {
        display: block;
        padding: 45px 70px;
    }

    .herotop1 {
        width: 100%;
        margin-right: 0;
    }

    .herotop1 span.subTitle {
        font-size: 1.7rem;
    }

    .herotop1 p {
        padding-right: 0;
    }

    .herotop2 {
        margin-right: 0;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .herotop2 img {
        width: 100%;
        height: 400px;
        margin-top: 45px;
    }

    .buttom {
        margin-top: auto;
        margin-bottom: auto;
    }

    .secondMainSomax {
        width: 100%;
        padding-bottom: 50px;
        background-image: url(../images/principal-somai-group.jpeg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }

    .secondMainSomax h1 {
        margin-left: 25px;
        margin-top: 25px;
    }

    .secondMainSomax p {
        margin: 25px;
        font-size: 1.7rem;
        line-height: 2.7rem;
    }

    .secondMainSomaxLeft {
        width: 100%;
        padding: 0 0 25px 0;
        margin: 45px 70px 0 70px;
        background-color: #ffffffd6;
        box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.295);
        border-radius: 6px;
        border-left: 5px solid #5B5597;
        border-right: 5px solid #5B5597;
    }

    .secondMainSomaxLeft .work {
        width: 100%;
    }

    .secondMainSomaxLeft .work p {
        font-size: 2.3rem;
        line-height: 2.9rem;
    }

    .secondMainSomaxLeft .work span {
        font-size: 2.3rem;
    }

    .secondMainSomaxLeft .work a.buttom {
        margin-left: 25px;
        margin-top: 25px;
    }

    .secondMainSomaxRight {
        display: none;
    }

    .secondMainSomaxRight img {
        display: none;
    }
}