@font-face {
    font-family: "Roboto";
    src: url(font/Roboto-Thin.woff2);
    src: url(font/Roboto-Thin.ttf);
    font-display: swap;
}

* {
    box-sizing: border-box;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
}

@media (max-width:900px) {
    body {
        background-image: linear-gradient(to right, #3ab5b0 0%, #3d99be 31%, #56317a 100%);
    }
}

/*navegador*/
nav {
    background: #000;
    position: static;
    width: 100%;
    padding: 20px 0;
    font-family: sans-serif;
}

nav .navbar {
    width: 98%;
    margin: auto;
    margin-left: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav .navbar .logo a {
    font-size: 30px;
    color: #4070f4;
}

nav .navbar .menu {
    display: flex;
}

nav .navbar .menu li {
    margin: 0 8px;
    list-style: none;
    text-decoration: none;
}

.navbar .menu li a {
    font-size: 1.5rem;
    padding: 10px;
    color: #fff;
}

.link {
    position: relative;
}

.link:after {
    content: "";
    width: 0;
    height: 4px;
    background-color: #4070f4;
    position: absolute;
    bottom: 0;
    right: 50%;
    transition: all .5s;
    will-change: width;
}

.link:hover:after {
    width: 100%;
    right: 0;
}

.media-icons a {
    font-size: 1.5rem;
    padding: 1rem;
    margin: 0 6px;
    color: #4070f4;
}

nav .menu-btn,
.navbar .cancel-btn {
    position: absolute;
    color: #fff;
    font-size: 20px;
    right: 30px;
    top: 20px;
}

nav .menu-btn {
    color: #4070f4;
    margin-top: 1rem;
}

.menu-btn i {
    font-size: 30px;
}

.navbar-logo {
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0%;
}

.logo {
    width: 130px;
    padding-top: 10px;
    padding-left: 0;
}

.media-icons-responsive {
    display: none;
}

/*Responsive media query*/
@media (max-width:1100px) {
    nav .navbar .menu {
        position: fixed;
        left: -100%;
        top: 0;
        height: 70vh;
        width: 100%;
        background: #4070f4;
        flex-direction: column;
        align-items: center;
        padding-top: 60px;
        transition: all 0.5s ease;
        z-index: 1;
    }

    nav .navbar {
        width: 90%;
    }

    .media-icons-responsive {
        display: flex;
        padding-top: 1.3rem;
    }

    .media-icons-responsive i {
        color: #fff;
        font-size: 20px;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .logo {
        width: 100px;
        padding-top: 0;
    }

    nav .navbar.active .menu {
        left: 0;
    }

    .navbar .menu li a {
        display: block;
        margin: 10px 0;
        font-size: 1.8rem;
        color: #fff;
    }

    .navbar .media-icons a {
        font-size: 1.8rem;
        margin: 0 6px;
        color: #4070f4;
        display: none;
    }

    .link:after {
        background-color: #fff;
    }
}

@media (min-width:1100px) {
    .menu-btn {
        display: none;
    }

    .cancel-btn {
        display: none;
    }
}

/*Home*/
#myVideo {
    position: fixed;
    min-width: 100%;
    min-height: 100%;
    transform: translateX(-50%) translateY(-50%);
    top: 50%;
    left: 50%;
    z-index: -1;
}

/* Position the image container (needed to position the left and right arrows) */
.home-imgs {
    position: relative;
    width: 95%;
    left: 0;
    margin: auto;
    padding-top: 1rem;
}

.mySlides {
    display: none;
    width: 100%;
}

.mySlides img {
    width: 100%;
    height: 700px;
    border-radius: 10px;
    object-fit: cover;
    opacity: 0.75;
}

.text {
    width: 100%;
    color: #f2f2f2;
    background-color: rgba(0, 0, 0, .7);
    font-size: 1.3rem;
    bottom: 0.3rem;
    text-align: center;
    position: absolute;
}

.text p{
    animation: tib 1s linear 0s normal both;
    padding: 1rem;
}

.fade {
    animation: fade .5s linear 0s normal both;
    animation-duration: 1.5s;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
    cursor: pointer;
}

@keyframes fade {
    from {opacity: .5;}
    to {opacity: 1;}
}

@keyframes tib {
	0% {
		opacity: 0.6;
		transform: translateX(-250px);
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Container for image text */
.caption-container {
    text-align: center;
    padding: 2px 16px;
    color: white;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Six columns side by side */
.column {
    float: left;
    width: 16.66%;
}

/* Add a transparency effect for thumnbail images */
.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

.home-container {
    width: 100%;
    z-index: -2;
    width: 95%;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: auto;
    margin-top: 1rem;
    background-color: rgba(0, 0, 0, .7);
}

.home-container h1 {
    color: #fff;
    padding: 10px;
    padding-left: 20px;
}

.home-container p {
    color: #fff;
    font-size: 18px;
    padding: 5px;
    padding-left: 20px;
    text-align: center;
    display: block;
}

.home-text {
    display: flex;
    flex-direction: column;
    width: 90%;
    border-radius: 10px;
    padding-top: 0.4rem;
    margin: auto;
}

.home-text h1 {
    text-align: center;
}

.home-text p {
    font-size: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.container-vis {
    display: flex;
    width: 90%;
    margin: auto;
}

.obj-vis {
    width: 45%;
    color: #fff;
    font-size: 1.1rem;
    margin: 1rem;
    padding: 1rem;
    position: relative;
    border-radius: 15px;
}

.obj-vis h2 {
    padding-bottom: 1rem;
    text-align: center;
}

.obj-vis p {
    text-align: justify;
}


@media (max-width:750px) {
    .home-container {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        background-color: transparent;
    }

    .home-text {
        display: inline-block;
        background-color: rgba(251, 251, 251, 0.3);
        text-align: center;
        width: 100%;
        margin-bottom: 1rem;
    }

    .home-imgs {
        width: 100%;
    }

    .mySlides img {
        height: 400px;
        width: 100%;
    }

    .text {
        background-color: transparent;
    }
    
    .container-vis {
        flex-direction: column;
        width: 100%;
    }

    .obj-vis {
        background-color: rgba(251, 251, 251, 0.3);
        box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.3);
        margin: auto;
        margin-bottom: 1rem;
        width: 100%;
    }

}

/*testimonios*/
.testimonios {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    width: 100%;
}

.testimonios-contenedor {
    width: 100%;
}

.testimonios-header {
    margin: 50px 0;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testimonios-header h1 {
    font-size: 20px;
    font-weight: 500;
    background-color: #222;
    color: #fff;
    padding: 10px 20px;
}

.testimonios-header span {
    font-size: 2.2rem;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.testimonio-box {
    display: flex;
    flex-direction: row;
    margin: auto;
    background: rgba(0, 0, 0, 0.5);
}

.testimonios-caja {
    width: 95%;
    box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.3);
    background-color: rgba(251, 251, 251, 0.1);
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
}

.img-perfil {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 30px;
}

.img-perfil img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.perfil {
    display: flex;
    align-items: center;
}

.name-user {
    display: flex;
    flex-direction: column;
}

.name-user strong {
    color: #fff;
    font-size: 1.3rem;
}

.name-user p {
    color: #fff;
    font-size: 1.1rem;
}

.top {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.comentarios-clientes p {
    padding-top: 20px;
    color: #fff;
    font-size: 1.0rem;
    text-align: justify;
}

@media (max-width:750px) {

    .testimonio-box {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
        background: none;
    }

    .testimonios-contenedor {
        width: 100%;
    }

    #myVideo {
        display: none;
    }
}

/*us*/
#mySecondVideo {
    z-index: -1;
    min-width: 100%;
    min-height: 100%;
    position: fixed;
    background-size: cover;
}

.ser-header {
    margin: auto;
    margin-top: 1.5rem;
    padding: 0.1rem;
    text-align: center;
    width: 60%;
    color: #fff;
    border-radius: 15px;
    background-color: #222;
}

.ser {
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin: auto;
    width: 95%;
    display: flex;
}

.obj-ser {
    background-color: rgba(0, 0, 0, .7);
    color: #fff;
    border-radius: 15px;
    margin: 1rem;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    width: 30%;
}

.obj-ser hr {
    width: 90%;
    margin-top: 1rem;
    color: #4070f4;
}

.ser-box {
    border-radius: 15px;
    color: #000;
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    margin: 0.5rem;
    color: #fff;
}

.ser-box i {
    font-size: 1.5rem;
}

.vao-text {
    padding: 1rem;
    font-size: 1.1rem;
    text-align: justify;
}

.vao-text li {
    margin: 1rem;
    color: #fff;
    font-weight: 900;
}

.rotate-card {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
    flex-wrap: wrap;
    padding-bottom: 2rem;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.card {
    position: relative;
    width: 250px;
    height: 300px;
    margin: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.card .face {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    transition: .9s;
}

.card .front {
    transform: perspective(600px) rotateY(0deg);
    -webkit-transform: perspective(600px) rotateY(0deg);
    box-shadow: 0 5px #000;
}

.card .front img {
    position: absolute;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.back p {
    font-size: 1rem;
    padding-bottom: 3px;
    padding-top: 5px;
}

.card .front h3 {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 45px;
    line-height: 45px;
    color: #fff;
    background: rgba(0, 0, 0, .8);
    text-align: center;
}

.card .back {
    transform: perspective(600px) rotateY(180deg);
    -webkit-transform: perspective(600px) rotateY(180deg);
    background: #4070f4;
    padding: 15px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    box-shadow: 0 5px 10px #000;
}

.card .back .link-social {
    border-top: solid 1px #fff;
    height: 50px;
    line-height: 50px;
}

.card .back .link-social a {
    color: #fff;
}

.card .back h3 {
    font-size: 30px;
    margin-top: 5px;
    letter-spacing: 2px;
}

.card:hover .front {
    transform: perspective(600px) rotateY(180deg);
    -webkit-transform: perspective(600px) rotateY(180deg);
    transition: 1s;
}

.card:hover .back {
    transform: perspective(600px) rotateY(360deg);
    -webkit-transform: perspective(600px) rotateY(360deg);
    transition: 1s;
}

.link-social a {
    padding: 7px;
}

.link-social i {
    color: #fff;
    border-radius: 50px;
    justify-content: center;
}

@media (max-width:900px) {

    .ser {
        margin: auto;
        flex-direction: column;
    }

    .obj-ser {
        padding: 1rem;
        background-color: rgba(251, 251, 251, 0.3);
        box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.3);
        width: 90%;
    }

    .ser-box {
        background-color: transparent;
    }

    .ser-header {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    #mySecondVideo {
        display: none;
    }
}

/*portfolio*/
#myImage {
    z-index: -1;
    min-width: 100%;
    min-height: 100%;
    position: fixed;
    background-size: cover;
}

.yt-header {
    width: 50%;
    margin: auto;
    margin-top: 1rem;
    padding: 1rem;
}

.yt-header h1 {
    color: #fff;
    background-color: #222;
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
}

hr {
    width: 80%;
    margin: auto;
    color: #4070f4;
    margin-bottom: 1rem;
}

.yt-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 95%;
    margin: 3rem;
}

.yt-video-container {
    display: flex;
    flex-direction: column;
    width: 45%;
    border-radius: 15px;
    margin: 0.5rem;
    padding-top: 1rem;
    background-color: rgba(0, 0, 0, .7);
}

.yt-video {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border-radius: 0px;
}

.yt-video iframe {
    width: 100%;
    height: 300px;
    border-radius: 15px;
}

.yt-content p {
    font-size: 1.4rem;
    padding: 5px;
    margin: 1rem;
    text-align: justify;
}

.yt-content {
    color: #fff;
}

.yt-content h2 {
    color: #fff;
    padding-bottom: 30px;
    padding-top: 5px;
    text-align: center;
}


@media (max-width:750px) {

    #myImage {
        display: none;
    }

    .yt-video-container,
    .yt-container,
    .yt-video,
    .yt-content {
        display: flex;
        flex-direction: column;
        border-radius: 15px;
        margin-bottom: 10px;
        width: 95%;
    }

    .yt-video-container {
        background-color: rgba(251, 251, 251, 0.3);
        box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.3);
    }

    .yt-content {
        flex-wrap: wrap;
        width: 100%;
        padding-left: 0.3rem;
    }

    .yt-content p {
        font-size: 1.2rem;
        margin: 1rem;
        padding-left: 0;
        padding-top: 0;
    }

    .yt-content h2 {
        margin: 0;
    }

    .yt-container {
        overflow-x: hidden;
        margin: auto;
    }

    .yt-container h1 {
        text-align: center;
        padding-top: 10px;
    }

    .yt-container h2 {
        width: 90%;
        padding-top: 30px;
    }

    .yt-video iframe {
        width: 100%;
        height: 300px;
        border-radius: 15px;
        margin: 1rem;
    }

    .yt-header {
        width: 90%;
    }
}



/*footer*/
footer {
    background: #000;
    position: static;
    margin-bottom: 0;
    width: 100%;
}

footer h2 {
    color: #fff;
    width: 100%;
    margin: auto;
    padding-left: 1rem;
    padding-top: 1rem;
    text-align: center;
}

footer hr {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
}

.footer-box {
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    width: 50%;
    margin: auto;
}

.footer-links img {
    margin-top: 1rem;
}

.footer-box p {
    padding: 1rem;
    font-size: 1rem;
    color: #fff;
    text-align: center;
}


@media (max-width: 900px) {

    footer hr {
        transform: none;
        width: 80%;
    }

    footer h2 {
        padding: 1rem;
    }

    .footer-box {
        flex-direction: column;
    }

    .footer-links {
        width: 60%;
        flex-wrap: wrap;
    }

    .footer-links a,
    img {
        padding: 5px;
    }
}