:root {
    --fuentePrincipal: 'Oxygen', sans-serif;
    --fuenteSecundaria: 'Krona One', sans-serif;
    --primario: #619488;
    /*--primario: #76aa9e;*/
    --secundario: #44b3c2;
    --claro: #eee;
    --gris: #333
}

html {
    box-sizing: border-box
}

*,
*:after,
*:before {
    box-sizing: inherit
}

body {
    font-family: var(--fuenteSecundaria);
    color: var(--gris)
}

.contenedor {
    max-width: 1100px;
    width: 90%;
    margin: 0 auto
}

a {
    text-decoration: none
}

img {
    max-width: 100%
}

h1 {
    font-size: 44.8px;
    font-size: 2.8rem
}

h2 {
    font-size: 28.8px;
    font-size: 1.8rem
}

h3 {
    font-size: 19.2px;
    font-size: 1.2rem
}

p {
    font-family: var(--fuentePrincipal);
    font-size: 19.2px;
    font-size: 1.2rem;
    line-height: 32px;
    line-height: 2rem
}

#canvas {
    height: 100vh!important;
    position: fixed;
    z-index: -999
}

canvas {
    height: inherit!important
}

.hero {
    background-image: url(../img/desktop.jpg);
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover
}

.hero .contenedor {
    display: -ms-grid;
    display: grid;
    -ms-flex-line-pack: center;
    align-content: center;
    height: 95vh
}

.hero .contenido {
    text-align: center;
    color: var(--primario)
}

.titulo {
    margin: 0;
    font-size: 64px;
    font-size: 4rem;
    text-shadow: 1px 1px 3px #9c9c9c
}

.subtitulo {
    font-size: 28.8px;
    font-size: 1.8rem;
    text-shadow: 1px 1px 3px #9c9c9c
}

.subsubtitulo {
    font-size: 16px;
    font-size: 1rem;
    font-weight: 100;
    margin: 0;
    padding: 0;
    text-shadow: 1px 1px 3px #9c9c9c
}

.subsubtitulo2 {
    margin: -13px;
    padding: 0;
    font-size: 16px;
    font-size: 1rem;
    font-weight: 100;
    text-shadow: 1px 1px 3px #9c9c9c
}

.arrow-container {
    position: absolute;
    bottom: 0%;
    left: 47%;
}

.arrow {
    color: var(--primario);
/*    display: flex;
    margin-bottom: .2rem;
    margin: 0;
    padding-top: 10rem;*/
    font-size: 64px;
    font-size: 4rem;
    text-shadow: 1px 1px 3px #9c9c9c
}

.animated {
  -webkit-animation-duration: .5s;
  animation-duration: .5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
}
@-webkit-keyframes bounce {
  0%, 100% {
    -webkit-transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-5px);
  }
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
.bounce {
  -webkit-animation-name: bounce;
  animation-name: bounce;
}

.servicios {
    text-align: center;
    margin-top: 48px;
    margin-top: 3rem
}

.servicios h2 {
    margin-bottom: 3.2px;
    margin-bottom: .2rem
}

.servicios h2:after {
    height: 4.8px;
    height: .3rem;
    width: 112px;
    width: 7rem;
    background-color: var(--primario);
    content: '';
    display: block;
    margin: 11.2px auto 8px;
    margin: .7rem auto .5rem
}

.servicios i {
    font-size: 48px;
    font-size: 3rem;
    margin: 0;
    color: var(--primario)
}

@media(min-width:768px) {
    .servicios {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: (minmax(200px, 1fr))[auto-fit];
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-column-gap: 2rem
    }
}

.portafolio h1 {
    margin-top: 64px;
    margin-top: 4rem;
    margin-bottom: 48px;
    margin-bottom: 3rem;
    text-align: center
}

.listado h2 {
    margin: 0;
    margin-top: 8px;
    margin-top: .5rem;
    margin-bottom: 8px;
    margin-bottom: .5rem;
    color: var(--claro);
    font-size: 20.8px;
    font-size: 1.3rem;
    text-align: center
}

.listado h3 {
    font-family: var(--fuentePrincipal);
    font-weight: 200;
    color: var(--primario);
    margin: 0;
    font-size: 17.6px;
    font-size: 1.1rem;
    text-align: center
}

.listado h3:after {
    height: 1.6px;
    height: .1rem;
    width: 112px;
    width: 7rem;
    background-color: var(--primario);
    content: '';
    display: block;
    margin: 6.4px auto 0;
    margin: .4rem auto 0
}

.listado p {
    font-size: 17.6px;
    font-size: 1.1rem;
    margin-top: 8px;
    margin-top: .5rem;
    text-align: center;
    color: var(--claro);
    padding: 0 8px 8px;
    padding: 0 .5rem .5rem
}

.elemento {
    margin-bottom: 48px;
    margin-bottom: 3rem;
    position: relative;
    border-radius: 20px 20px 15px 15px;
    background-color: var(--gris)
}

.elemento img {
    border-radius: 15px 15px 0 0
}

.box {
    display: block;
    width: 100%;
    height: auto;
    margin: 0
}

.elemento .contenido {
    padding-top: 16px;
    padding-top: 1rem;
    margin-top: -8px;
    margin-top: -.5rem;
    border-radius: 0 0 15px 15px;
    background-color: var(--gris)
}

.contenido h2 {
    margin: 0
}

.elemento:last-of-type {
    border: none
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    -webkit-transition: .5s ease;
    transition: .5s ease;
    background-color: var(--primario);
    border-radius: 15px
}

.overlay i {
    display: none;
}

.elemento:hover .overlay {
    opacity: .95;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=95)";
    cursor: pointer
}

.text {
    color: white;
    font-size: 48px;
    font-size: 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center
}

@media(min-width:768px) {
    .listado {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: (1fr)[3];
        grid-template-columns: repeat(3, 1fr);
        grid-column-gap: 2rem;
        grid-auto-rows: max-content
    }
    .overlay i {
        display: inline;
        position: absolute;
        top: 42%;
        left: 42%;
        color: #ddd;
        font-size: 4rem;
    }
}

.footer {
    background-image: url(../img/contacto.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    padding: 32px 0;
    padding: 2rem 0;
    margin-top: 80px;
    margin-top: 5rem
}

@media(min-width:768px) {
    .footer .contenedor {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: (30%)[2] auto;
        grid-template-columns: repeat(2, 30%) auto
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #000;
    background-color: rgba(0, 0, 0, .4)
}

.modal-content {
    width: 90vw;
    background-color: #fff;
    border: 1px solid #888;
    padding: 12.8px;
    padding: .8rem;
    margin-top: 16px;
    margin-top: 1rem;
    margin-bottom: 16px;
    margin-bottom: 1rem
}

.big_image {
    max-height: 45vh;
    text-align: center;
    margin-bottom: 16px;
    margin-bottom: 1rem
}

.big_image img {
    max-height: 45vh;
    -o-object-fit: scale-down;
    object-fit: scale-down
}

.gallery_images {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 1rem;
    max-height: 16vh;
    margin-bottom: 16px;
    margin-bottom: 1rem
}

.gallery_image {
    text-align: center
}

.gallery_images img {
    max-height: 16vh;
    -o-object-fit: scale-down;
    object-fit: scale-down;
    cursor: pointer
}

.modal .info p {
    font-size: 16px;
    font-size: 1rem
}

.close {
    font-size: 28.8px;
    font-size: 1.8rem;
    cursor: pointer
}

.close_div {
    margin-top: -8px
}

.platforms {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(20vw, 1fr))[auto-fit];
    grid-template-columns: repeat(auto-fit, minmax(20vw, 1fr));
    max-height: 7vh;
    text-align: center;
    border-top: 2px solid #eee;
    border-bottom: 2px solid #eee;
    padding: 3.2px 0;
    padding: .2rem 0;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-grid-row-align: center;
    align-items: center
}

.platform {
    max-height: 5vh;
    text-align: center;
    padding: 0 16px;
    padding: 0 1rem
}

.platform img {
    max-height: 5vh;
    -o-object-fit: scale-down;
    object-fit: scale-down
}

.info li {
    font-family: var(--fuentePrincipal);
    font-size: 16px;
    font-size: 1rem;
    font-weight: 100
}

.info ul {
    margin-top: 4.8px;
    margin-top: .3rem
}

.info h3 {
    margin-bottom: 4.8px;
    margin-bottom: .3rem;
    margin-top: 6.4px;
    margin-top: .4rem
}

.info p {
    margin-top: 3.2px;
    margin-top: .2rem;
    line-height: 24px;
    line-height: 1.5rem;
    margin-bottom: 8px;
    margin-bottom: .5rem
}

.company {
    color: var(--primario);
    font-size: 19.2px!important;
    font-size: 1.2rem!important;
    font-weight: 700
}

@media(min-width:768px) {
    .modal-content {
        display: -ms-grid;
        display: grid
    }
    .info {
        margin-left: 2rem
    }
}