@import url(fontawesome.css);
@import url("https://fonts.googleapis.com/css?family=Lato:100,300,400,700,900");

body {
    font-family: 'Lato', sans-serif;
}

#page-wraper {
    position: relative;
    background: url(../images/fondo\ \(6\).jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 100%;
    z-index: 1;
}

#page-wraper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(165, 153, 153, 0.087);
    z-index: -1;
}

/* Basic */
body {
    overflow-x: hidden;
}

input,
select,
textarea {
    outline: none;
}

a,
a:hover {
    text-decoration: none;
}

p {
    font-size: 16px;
    line-height: 24px;
    color: #fff;
}

h4 {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.25px;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

ul li {
    display: inline-block;
}

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

.clearfix {
    zoom: 1;
}

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.container {
    margin: 0 auto;
    margin-bottom: 30px;
}

.main-nav {
    text-align: center;
    background-color: #001833;
}

.main-nav li:last-child a {
    border-bottom: 2px solid #fff;
}

.main-nav li {
    display: block;
}

.main-nav li a {
    height: 70px;
    line-height: 70px;
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    width: 100%;
    transition: all 0.5s;
    border-top: 2px solid #fff;
}

.main-nav li:hover a,
.main-nav li.active a {
    background: #fff;
    color: #001833;
}

/* Sidebar Menu */

.menu .image {
    margin-top: 60px;
}

.menu .image img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    text-align: center;
}

.menu .author-content {
    margin: 40px 0px 60px 0px;
}

.menu .author-content h4 {
    margin-bottom: 0px;
}

.menu .author-content span {
    font-size: 13px;
    font-style: italic;
    color: #fff;
}

.menu .social-network {
    margin-top: 60px;
    margin-bottom: 30px;
}

.menu .social-network ul li {
    margin: 0 3px;
}

.menu .social-network ul li a {
    width: 40px;
    height: 40px;
    display: inline-block;
    text-align: center;
    line-height: 40px;
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 14px;
    transition: all 0.5s;
}

.menu .social-network ul li a:hover {
    background-color: #fff;
    color: #001833;
}

.menu .copyright-text {
    position: relative;
    margin-top: 60px;
}

.menu .copyright-text p {
    border-top: 1px solid rgba(250, 250, 250, 0.1);
    display: inline-block;
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 30px;
    font-size: 13px;
}

.menu:before,
.menu:after {
    content: "";
    display: table;
}

.menu:after {
    clear: both;
}

.menu a {
    text-decoration: none;
    color: inherit;
}

.menu {
    text-align: center;
}

.menu::-webkit-scrollbar {
    display: none;
}

.menu {
    left: 10%;
    -webkit-transition: -webkit-transform 233ms cubic-bezier(0, 0, 0.21, 1);
    -webkit-overflow-scrolling: touch;
    background-color: #001833;
    box-sizing: border-box;
    height: 100vh;
    max-height: 100vh !important;
    max-width: 80vw !important;
    min-width: 45px !important;
    outline: none;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 0;
    position: fixed !important;
    top: calc(0px);
    width: 20%;
    will-change: transform;
    z-index: 9999 !important;
}

.menu-toggle {
    color: #fff;
    cursor: pointer;
    font-size: 25px;
    position: fixed;
    right: 25px;
    top: 25px;
}

#menu-toggle {
    z-index: 999;
    cursor: pointer;
    position: fixed;
    top: 0;
    left: 0;
    color: #a43f49;
    background-color: #fff;
    width: 60px;
    height: 60px;
    text-align: center;
    display: inline-block;
    line-height: 60px;
}

.menu-close {
    cursor: pointer;
}

#menu-close {
    cursor: pointer;
    text-align: right;
    color: #a43f49;
    background-color: #fff;
    width: 100%;
    height: 60px;
    text-align: center;
    display: inline-block;
    line-height: 60px;
}

/* Google translate element*/

#google_translate_element{
    margin-top: 1rem;
}

/* Ajustar el tamaño y estilo del botón de traducción */
body .goog-te-gadget {
    font-size: 10px; /* Tamaño de fuente más pequeño */
}

body .goog-te-menu-value {
    padding: 3px; /* Relleno interno más pequeño */
    border-radius: 4px; /* Bordes redondeados */
}

body .goog-te-button {
    padding: 3px 5px; /* Ajustar el padding del botón */
    font-size: 10px; /* Tamaño de fuente más pequeño */
    border: none; /* Eliminar borde */
    background-color: #007bff; /* Cambiar el color de fondo */
    color: white; /* Cambiar el color del texto */
    border-radius: 4px; /* Bordes redondeados */
    cursor: pointer; /* Cambiar el cursor a puntero */
}

body .goog-te-button:hover {
    background-color: #0056b3; /* Color de fondo al pasar el mouse */
}


/* Section */

.section {
    color: #fff;
    width: 55%;
    right: 10%;
    left: 35%;
    position: relative;
    border-bottom: 3px solid rgba(250, 250, 250, 0.25);
}

.section-heading {
    text-align: center;
    padding: 80px 45px;
}

.section-heading h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
}

.section-heading .line-dec {
    width: 60px;
    height: 3px;
    background-color: #a43f49;
    margin: 10px auto;
}

.section-heading span {
    margin-top: 5px;
    font-size: 16px;
    color: #fff;
    letter-spacing: 0.5px;
}


/* Buttons */
.white-button a {
    display: inline-block;
    padding: 12px 20px;
    background-color: #fff;
    color: #001833;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.5s;
}

.white-button a:hover {
    background-color: #001833;
    color: #fff;
}

button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fff;
    color: #001833;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.5s;
    border: none;
    outline: none;
    cursor: pointer;
}

button:hover {
    outline: none;
    background-color: #001833;
    color: #fff;
}


/* Left & Right Post */

.right-image-post {
    margin-top: 3.5rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(250, 250, 250, 0.1);
}

.left-image img,
.right-image img {
    border-radius: 5px;
}

.right-image-post h4,
.left-image-post h4 {
    margin-top: 30px;
}

.right-image-post p,
.left-image-post p {
    margin-top: 20px;
    text-align: justify;
}

.right-image-post .white-button,
.left-image-post .white-button {
    margin-top: 30px;
}

.code {
    display: flex;
    flex-direction: row;
}

.code img {
    margin-left: 10px;
    width: 30px;
    height: 30px;
}

.code .caption{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Fondo oscuro semi-transparente */
    color: white;
    text-align: center;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.code .caption:hover{
    opacity: 1;
}

/* Carousel*/
section.awSlider .carousel {
    display: table;
    z-index: 2;
    box-shadow: 0 0 15px rgba(1, 1, 1, 0.5);
}

section.awSlider {
    margin: 30px auto;
    padding: 30px;
    position: relative;
    display: table;
    user-select: none;
}

section.awSlider:hover>img {
    transform: scale(1.2);
    opacity: 1;
}

section.awSlider img {
    pointer-events: none;
}

section.awSlider>img {
    position: absolute;
    top: 30px;
    z-index: 1;
    transition: all 0.3s;
    filter: blur(1.8vw);  
    transform: scale(1.1);
    opacity: 0.5;
}
.carousel-caption {
    color: #a43f49;
    font-weight: bolder;
    background-color: rgba(255, 255, 255, 0.5); 
    display: flex;
    align-items: center; 
    justify-content: center; 
    padding: 10px; 
    margin: auto; 
    max-width: fit-content;
    border-radius: 5px; 
}

/* Services */
.row-container {
    display: flex;
    flex-direction: row;
    margin-left: 5%;
}

.row2 {
    margin-left: 100px;
}

.my-services .col-md-6 {
    padding-left: 5px;
    padding-right: 5px;
}

.service-item {
    margin-bottom: 5px;
    padding: 10px;
    padding-left: 20px;
    background-color: rgba(250, 250, 250, 0.1);
    transition: all 0.5s;
    display: flex;
    flex-direction: row;
    justify-content: left;
    width: 19rem;
    height: 5rem;
}

.service-item h4 {
    transition: all 0.5s;
    margin-top: 5%;
    margin-left: 10%;
}

.service-item:hover {
    background-color: rgba(250, 250, 250, 1);
}

.service-item:hover h4 {
    color: #1e1e1e;
}

.service-item .service-icon {
    font-size: 2.5rem;
    display: inline-block;
    margin-bottom: 30px;
    color: #a43f49;
    font-weight: bolder;
}


/* My Work */

section.my-work .section-heading {
    text-align: center;
    padding: 80px 45px 50px 45px;
}

.isotope-wrapper {
    position: relative;
    width: 100%;
    margin: auto;
}


@media screen and (max-width: 1680px) {
    .menu {
        left: 5%;
    }

    .section {
        color: #fff;
        width: 65%;
        right: 5%;
        left: 30%;
    }
}

@media screen and (max-width: 1680px) and (min-width: 846px) {
    .menu .social-network ul li a {
        width: 36px;
        height: 36px;
        line-height: 36px;
    }

    .menu .social-network ul li {
        margin: 0;
    }

    .menu .image {
        margin-top: 60px;
    }
}

@media screen and (max-width: 1280px) {
    .menu {
        left: 0%;
    }

    .right-image-post h4,
    .left-image-post h4 {
        margin-top: 0px;
    }

    .right-image-post p,
    .left-image-post p {
        margin-top: 15px;
    }

    .right-image-post .white-button,
    .left-image-post .white-button {
        margin-top: 25px;
    }

}

.menu .container {
    padding-left: 0;
    padding-right: 0;
}

@media screen and (max-width: 1280px) and (min-width: 846px) {
    .menu {
        width: 25%;
    }

    .row2{
        margin-left: 30px;
    }
}

#menu-toggle,
#menu-close {
    display: none;
}

@media screen and (max-width: 845px) {

    #menu-toggle,
    #menu-close {
        display: inline-block;
    }

    .menu {
        width: 320px;
        -webkit-transform: translateX(-100%) !important;
        transform: translateX(-100%) !important;
        transition: -webkit-transform 233ms cubic-bezier(0, 0, 0.21, 1);
        transition: transform 233ms cubic-bezier(0, 0, 0.21, 1);
        transition: transform 233ms cubic-bezier(0, 0, 0.21, 1), -webkit-transform 233ms cubic-bezier(0, 0, 0.21, 1);
    }

    .menu .image {
        margin-top: 40px;
    }

    .menu .image img {
        width: 120px;
        height: 120px;
    }

    .menu .author-content {
        margin: 20px 0px 40px 0px;
    }

    .menu .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .menu.open {
        display: inline-block;
        -webkit-transform: translateX(0) !important;
        transform: translateX(0) !important;
    }

    .responsive-nav {
        display: inline-block;
    }

    .section {
        width: 94%;
        right: 3%;
        left: 3%;
    }

    .isotope-item {
        width: 94%;
        margin: 3%;
    }

    .left-image-post img {
        margin-bottom: 30px;
    }

    .right-image-post img {
        margin-top: 30px;
    }

    .isotope-item {
        border-bottom: none;
        text-align: center;
    }

    .isotope-toolbar {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .row-container {
        flex-direction: column;
        margin-left: 2%;
    }

    .row2 {
        margin-top: 10px;
        margin-left: -18px;
    }

    .row{
        width: 100%;
    }

    .service-item {
        width: 100%;
    }

    span{
        text-align: justify;
    }

    #page-wraper {
        background-position: center;
    }

    .menu {
        left: 0;
        width: 70%;
    }

    #menu-toggle {
        width: 50px;
        height: 50px;
        line-height: 50px;
    }
    
    .carousel-item{
        height: 150px;
        width: 240px;
    }

    .white-button a{
        margin-top: 1rem;
    }
}