@font-face {
    font-family: 'Open Sans';
    src: url(../fonts/OpenSans-Regular.ttf);
}

@font-face {
    font-family: 'Fahkwang';
    src: url(../fonts/Fahkwang-Medium.ttf);
}

/* General */

body {
    background-color: #fff;
    width: 100%;
    min-height: 100vh;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Icons, Images*/

.logo {
    cursor: pointer;
    position: relative;
    height: 44px;
}

.logo a {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}

.icon {
    width: 100px;
    height: 100px;
    margin: 10px;
}

.img {
    width: 90%;
    margin: 10px;
}

.img-ceo {
    width: 60%;
    margin: 10px;
}

.cursor {
    cursor: pointer;
}

/* Encabezado */

.encabezado {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: 20px 0;
}

.encabezado-text {
    margin: 0;
    color: #732d0d;
    font-weight: 900;
    font-family: Arial, Helvetica, sans-serif;
}

.menu {
    display: none;
    position: absolute;
    right: 14px;
}

.menu-style {
    color: #000000;
    cursor: pointer;
    font-size: 2.2em;
}

/* Navbar */

.navbar {
    background-color: #405c49;
    height: 40px;
    margin-bottom: 20px;
    box-shadow: 0px 0px 5px 0px #000000bf;
    display: flex;
    justify-content: center;
}

.navbar ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    text-wrap: nowrap;
}

.navbar ul li a {
    text-decoration: none;
    font-size: 14px;
    padding: 12px 10px;
    color: #fff;
}

.navbar ul li .actual, .navbar ul li a:hover {
    color: #feff86;
}

.navbar ul li .dropdown {
    display: none;
    background-color: #405c49;
    position: absolute;
    top: 153px;
    min-width: 120px;
    box-shadow: 0px 0px 5px 0px #000000bf;
    border-radius: 10px;
    z-index: 1;
}

.navbar ul li div .chevron-style {
    display: none;
}

@media (min-width: 800px) {

    .navbar ul li:hover .dropdown {
        display: block;
    }

}

@media (max-width: 800px) {

    .navbar {
        display: none;
        position: absolute;
        right: 0;
        width: 40%;
        min-width: 185px;
        height: auto;
        border-radius: 10px;
        margin: 0;
        z-index: 1;
    }

    .navbar ul {
        flex-direction: column;
        width: 100%;
    }

    .navbar ul li {
        width: 100%;
        margin: 5px 0;
        flex-direction: column;
        align-items: start;
    }

    .navbar ul li a, .navbar ul li div a {
        padding: 0;
        margin: 12px 14px;
        text-align: start;
        text-wrap: nowrap;
    }

    .navbar ul li div {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .navbar ul li .dropdown {
        display: none;
        position: unset;
        box-shadow: none;
        border-radius: unset;
        background-color: #27382D;
    }

    .navbar.show {
        display: block;
    }

    .navbar ul li .dropdown.show {
        display: block;
    }

    .menu {
        display: block;
    }

    .navbar ul li div .chevron-style {
        display: inline;
        color: #ffffff;
        margin: 0 14px;
        cursor: pointer;
    }

    .navbar ul li div .chevron-style:hover {
        color: #feff86;
    }

}

/* Content */

main {
    margin-bottom: 40px;
}

.presentation-container {
    position: relative;
    width: 100%;
}

.presentation {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.text-presentation {
    position: absolute;
    top: 0;
    left: 15%;
    right: 35%;
    text-align: center;
    text-wrap: wrap;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.flex-column {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.align-center {
    align-items: center;
}

.space-evenly {
    justify-content: space-evenly;
}

.row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 95%;
    margin: 0 auto;
    text-align: center;
}

.half-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 800px) {

    .half-row {
        width: 95%;
    }
    .text-contact {
        text-align: center;
    }

}

.text-p {
    margin-left: 5%;
    margin-right: 5%;
    font-size: clamp(10px, 16px, 20px);
    color: #757575;
}

.text-title {
    margin-left: 5%;
    margin-right: 5%;
    font-family: 'Fahkwang', sans-serif;
    color: #27382D;
}

.text-align-start {
    text-align: start;
}

.margin-0 {
    margin-left: 0;
    margin-right: 0;
}

h1 {
    font-size: 2em;
}

.ul {
    list-style: inside;
    padding: 0 10%;
    margin: 0;
}

.ul li, .ol li {
    text-align: start;
    font-size: clamp(10px, 16px, 20px);
    color: #757575;
}

.ol {
    list-style: decimal-leading-zero;
    color: #27382D;
    padding: 0 10%;
    margin: 0;
}

.ol li::marker {
    color: #27382D;
}

.line {
    width: 50%;
    height: 2px;
    border-width: 0;
    background-color: #27382D;
    margin: 10px 0 0 0;
}

.button {
    background-color: #5b2f2c;
    border: none;
    box-shadow: 0px 0px 5px 0px #000000bf;
    border-radius: 5px;
    padding: 10px 0;
    margin: 20px 0;
    cursor: pointer;
}

.button a {
    font-size: clamp(10px, 16px, 20px);
    text-decoration: none;
    color: #fff;
    padding: 10px 20px;
}

.button:hover {
    background-color: #3F201E;
}

.large-card {
    width: 80%;
    height: auto;
    min-height: 100px;
    box-shadow: 0px 0px 5px 0px #000000bf;
    border-radius: 5px;
    margin: 20px 0;
    overflow: hidden;
    position: relative;
}

.large-card:hover {
    width: 85%;
    box-shadow: 0px 0px 10px 0px #000000bf;
    transition: all 0.5s ease;
    .large-card-text, .large-card-number {
        color: #27382D;
    }
    .large-card-line {
        background-color: #27382D;
    }
}

.large-card-text {
    text-align: start;
    padding: 0 5px 0 60px;
    font-size: clamp(10px, 15px, 20px);
    color: #757575;
}

.large-card-number {
    position: absolute;
    left: 0;
    top: 0;
    padding: 11px 20px;
    margin: 0;
    font-size: 30px;
    color: #757575;
}

.large-card-line {
    position: absolute;
    bottom: 0;
    padding: 0 39%;
    margin-bottom: 5px;
    height: 2px;
    border-width: 0;
    background-color: gray;
}

.img-aplicaciones {
    width: 175px;
    height: 250px;
    margin: 40px 100px;
    object-fit: cover;
}

.img-maquinaria {
    width: 350px;
    height: 200px;
    margin: 40px 0;
    object-fit: cover;
}

.card {
    display: flex;
    flex-wrap: nowrap;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 0px 5px 0px #000000bf;
    margin: 30px 10px;
}

.card:hover {
    box-shadow: 0px 0px 10px 0px #000000bf;
    transform: translateY(-5px);
    transition: all 0.5s ease;
}

.card .card-img {
    width: 175px;
    height: 121px;
    object-fit: cover;
}

.card .card-text {
    width: 175px;
    height: 121px;
    text-align: center;
}

.card .card-contact {
    margin: 10px;
    width: 300px;
    height: 220px;
    text-align: center;
    text-wrap: nowrap;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.card .card-contact h4 {
    margin: 10px 0;
}

.card .card-contact div h5 {
    margin: 0;
}

.card .card-contact div a {
    font-size: 0.83em;
    font-weight: bold;
    color: #000;
}

.worldwide-card {
    display: flex;
    flex-wrap: nowrap;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 0px 5px 0px #000000bf;
    margin: 30px 10px;
    width: 90%;
}

.worldwide-card .card-img {
    width: 50%;
    height: auto;
    min-height: 200px;
    object-fit: cover;
}

.worldwide-card .card-text {
    width: 50%;
    height: auto;
    min-height: 200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.worldwide-card .card-text a {
    color: #757575;
}

@media (max-width: 430px) {

    .worldwide-card {
        flex-direction: column;
    }

    .worldwide-card .card-img {
        width: 100%;
        height: 200px;
    }

    .worldwide-card .card-text {
        width: 100%;
        height: 200px;
    }

}

.link-ul {
    list-style: inside;
    margin: 0;
}

.link-ul li {
    color: #757575;
    padding: 8px 0;
}

.link-ul li a {
    text-decoration: none;
    text-align: start;
    font-size: clamp(10px, 16px, 20px);
    color: #757575;
}

.link-ul li a:hover {
    text-decoration: underline;
}

.video-yt {
    width: 90%;
    max-width: 560px;
    aspect-ratio: 16 / 9;
}

/* Footer */

footer {
    background-color: #405c49;
    box-shadow: 0px 0px 5px 0px #000000bf;
    margin-top: auto;
}

.footer {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.footer .footer-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 0 0 0;
}

.footer .footer-bar {
    background-color: #27382D;
    width: 100%;
    height: auto;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer .footer-bar p {
    font-size: 10px;
    color: #fff;
}

.footer .footer-content a {
    text-decoration: none;
    text-align: center;
    color: #fff;
    font-size: 14px;
    padding: 0 10px;
}

.footer .footer-content a:hover {
    color: #feff86;
}