* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { 
    background: #e8ded5 url(../img/ws-og.jpg) no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
}

body{
    font-family: 'Open Sans', sans-serif;
}

a {
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: 750px;
    margin: auto;
}

.notyf {
    z-index: 999999;
}

/* ****************************** */
/* Header */
/* ****************************** */

header {
    padding: 40px 0;
}

header .logo {
    text-align: center;
    margin-bottom: 40px;
}

header .logo p {
    color: #9b9b9b;
}

header form {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

header .search-bar {
    width: 70%;
    height: 40px;
    line-height: 40px;
    background: #fff;
    padding: 0 20px;
    border-radius: 100px;
    border: none;
    text-align: center;
    font-size: 16px;
}

input:focus {
    outline: none;
    border: 1px solid #000;
}

header .categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

header .categories a {
    color: #9b9b9b;
    margin: 10px 20px;
    font-size: 18px;
    font-weight: 700;
}

header .categories a:focus {
    outline: none;
}

header .categories a.active {
    color: #000;
}

/* ****************************** */
/* Grid */
/* ****************************** */

.grid {
    position: relative;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s linear 1s;
}

.grid.images-load {
    opacity: 1;
}

.grid .item {
    position: absolute;
    display: block;
    padding: 0;
    margin: 5px 10px;
    width: calc(100% - 20px);
}

.grid .item-content {
    position: relative;
    
    background: #202020;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.grid .item img {
    width: 12%;
    cursor: pointer;

    vertical-align: top;
    transition: transform 0.2 ease-in-out;
}

.grid .item h2, .grid .item i {
    color: #fff;
    font-size: 2.5em;
}
.grid .item h2 {
    margin: 0 auto;
}
.grid .item i {
    /* margin: 0 15px 0 10px; */
    font-size: 1.8em;
    padding: 0 10px 0 0;
    cursor: pointer;
}
.grid .item i:hover {
    transform: scale(1.3);
}

.grid .item .iconitos {
    margin: 0 15px 0 0;
}

/* ****************************** */
/* Overlay */
/* ****************************** */

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .9);
    width: 100%;
    height: 100vh;
    display: none;
    justify-content: center;
    align-items: center;
    /* flex-direction: column; */

    z-index: 10000;
}

.overlay.active {
    display:flex;
}

.overlay img {
    max-width: 100%;
    background-color: #dbd9d9;
    border-radius: 10px 0 0 10px;
}

.container-img {
    position: relative;

    display: flex;
}

.overlay #btn-close-popup {
    background: none;
    font-size: 20px;
    color: #fff;
    border: none;
    cursor: pointer;
    position: absolute;
    right: -10px;
    top: -15px;
}

.overlay .container-info {
    background-color: #dbd9d9;
    display: flex;
    flex-direction: column;

    min-width: 280px;
}
.overlay .container-info h3 {
    padding: 10px 20px 0;
    line-height: 36px;
    margin-top: 10px;
}
.overlay .container-info .tlf,
.overlay .container-info .name {
    padding: 0 35px;
    font-size: 2em;
    line-height: 40px;
}

.overlay .container-info .icons-box {
    min-height: 50%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;

    color: #fff;
    font-size: 4em;
    line-height: 0;;
    flex: 1;
}
.overlay .container-info .icons-box a.phone {
    color: #3b5998;
}
.overlay .container-info .icons-box a.whatsapp {
    font-size: 0.7em;
    width:62px;
    height:60px;
    background-color:#25d366;
    color:#FFF;
    border-radius:50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay .container-info .icons-box a.whatsapp.hide {
    display: none;
}

/* ****************************** */
/* Boton Agregar */
/* ****************************** */
#btnAdd {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 120px;
    height: 50px;
    position: fixed;
    top: 90px;
    left: -72px;
    z-index: 99;
    background-color: #c13584;
    color: white;
    cursor: pointer;
    border-radius: 0 10px 10px 0;
    font-size: 1em;
    transition: left  0.3s ease-in-out;
  }

  #btnAdd > i {
    margin: 0 15px;
  }
  #btnAdd:hover {
    background-color: #c74d92;
    left: 0px;
  }
  #btnAdd.hide {
      left: -200px;
  }


/* ****************************** */
/* Form */
/* ****************************** */
.card {
    max-width: 400px;
    width: 100%;
    position: relative;
  }
  
  #contact .form-control {
    font: 400 12px/16px Helvetica, Arial, sans-serif;
  }
  
  #contact {
    background: #F9F9F9;
    padding: 25px;
    /* margin: 120px 0; */
    /* box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24); */
  }
  
  #contact h3 {
    display: block;
    font-size: 30px;
    font-weight: 300;
    margin-bottom: 10px;
  }
  
  #contact h4 {
    margin: 5px 0 15px;
    display: block;
    font-size: 13px;
    font-weight: 400;
  }
  
  fieldset {
    border: medium none !important;
    margin: 0 0 10px;
    min-width: 100%;
    padding: 0;
    width: 100%;
  }
  
  #contact .form-control {
    width: 100%;
    border: 1px solid #ccc;
    background: #FFF;
    margin: 0 0 5px;
    padding: 10px;
  }
  
  #contact .form-control:hover {
    transition: border-color 0.3s ease-in-out;
    border: 1px solid #aaa;
  }
  
  #contact button[type="submit"] {
    cursor: pointer;
    width: 100%;
    /* border: none; */
    background: #4CAF50;
    color: #FFF;
    margin: 0 0 5px;
    padding: 10px;
    font-size: 15px;
  }
  
  #contact button[type="submit"]:hover {
    background: #43A047;
    transition: background-color 0.3s ease-in-out;
  }
  
  #contact button[type="submit"]:active {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
  }
  
  .copyright {
    text-align: center;
  }
  
  #contact input:focus,
  #contact textarea:focus {
    outline: 0;
    border: 1px solid #aaa;
  }
  
  ::-webkit-input-placeholder {
    color: #888;
  }
  :-moz-placeholder {
    color: #888;
  }
  ::-moz-placeholder {
    color: #888;
  }
  :-ms-input-placeholder {
    color: #888;
  }

  #contact input#name {
      text-transform: capitalize;
  }

#contact .error {
    padding: 5px;
    border: 1px solid transparent;
    border-radius: 4px;
    border-color: #ebccd1;

    background: #f2dede;
    color: #a94442;
    line-height: 1.42857;
    font-size: 0.8em;
    text-align: center;
    display: none;
    transition: display .5s ease;
}
#contact .error.show {
    display: block;
}

.saving .btn-text {
    opacity: 1;
    -webkit-animation: 1s ease-in-out fadeOut infinite forwards;
            animation: 1s ease-in-out fadeOut infinite forwards;
}

@-webkit-keyframes fadeOut {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* ****************************** */
/* Overlay PopUp Borrar*/
/* ****************************** */
.overlay .container-popup {
    min-width: 40vw;
    min-height: 100px;
    background: #F9F9F9;
    border-radius: 4px;

    display: flex;
    flex-direction: column;
    text-align: center;
    -webkit-animation: popup 0.6s;
            animation: popup 0.6s;
}

.overlay .container-popup h3 {
    display: block;
    font-size: 25px;
    font-weight: 300;
    margin: 10px 25px;
}
.overlay .container-popup .botones {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.overlay .container-popup .botones .confirmar,
.overlay .container-popup .botones .cancelar {
    cursor: pointer;
    width: 30%;
    border: none;
    background: #000;
    color: #FFF;
    margin: 15px 0;
    padding: 10px;
    font-size: 16px;
}

.overlay .container-popup .botones .confirmar {
    background: #25d366;
    color: #FFF;
}
.overlay .container-popup .botones .cancelar {
    background: #c13584;
    color: #FFF;
}

.overlay .container-popup .botones .cancelar:hover {
    background: #ca418f;
}
.overlay .container-popup .botones .confirmar:hover {
    background: #1fb456;
}

@-webkit-keyframes popup {
    0% {
        transform: scale(0.5);
    }
    50% {
        transform: scale(1);
    }
    70% {
        transform: scale(1.2);
    }
    80% {
        transform: scale(1);
    }
    90% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes popup {
    0% {
        transform: scale(0.5);
    }
    50% {
        transform: scale(1);
    }
    70% {
        transform: scale(1.2);
    }
    80% {
        transform: scale(1);
    }
    90% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* ****************************** */
/* Boton Scroll Top */
/* ****************************** */
  html {
    scroll-behavior: smooth;
  }

  #btnScroll {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 0px;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    background-color: #1da1f2;
    color: white;
    cursor: pointer;
    border-radius: 10px 10px 0 0;
    font-size: 0em;
    transition: 0.2s ease-in-out;
    
  }
  
  #btnScroll:hover {
    background-color: #36a7ee;
  }
  
  #btnScroll.activo {
    height: 40px;
    font-size: 1.3em;
  }

/* ****************************** */
/* SVG Title */
/* ****************************** */

#logo {
    fill: transparent;
    -webkit-animation: fill 0.5s ease forwards 4.5s;
            animation: fill 0.5s ease forwards 4.5s;
    height: 45px;
}

#logo path {
    stroke:#000;
    stroke-width:2;
}

#logo path:nth-child(1) {
    stroke-dasharray: 261.08px;
    stroke-dashoffset: 261.08px;
    -webkit-animation: stroke 2s ease forwards;
            animation: stroke 2s ease forwards;
}
#logo path:nth-child(2) {
    stroke-dasharray: 327.07px;
    stroke-dashoffset: 327.07px;
    -webkit-animation: stroke 2s ease forwards 0.3s;
            animation: stroke 2s ease forwards 0.3s;
}
#logo path:nth-child(3) {
    stroke-dasharray: 227.61px;
    stroke-dashoffset: 227.61px;
    -webkit-animation: stroke 2s ease forwards 0.6s;
            animation: stroke 2s ease forwards 0.6s;
}
#logo path:nth-child(4) {
    stroke-dasharray: 326.72px;
    stroke-dashoffset: 326.72px;
    -webkit-animation: stroke 2s ease forwards 0.9s;
            animation: stroke 2s ease forwards 0.9s;
}
#logo path:nth-child(5) {
    stroke-dasharray: 107.66px;
    stroke-dashoffset: 107.66px;
    -webkit-animation: stroke 2s ease forwards 1.2s;
            animation: stroke 2s ease forwards 1.2s;
}

#logo path:nth-child(6) {
    stroke-dasharray: 365.46px;
    stroke-dashoffset: 365.46px;
    -webkit-animation: stroke 2s ease forwards 1.5s;
            animation: stroke 2s ease forwards 1.5s;
}
#logo path:nth-child(7) {
    stroke-dasharray: 308.17px;
    stroke-dashoffset: 308.17px;
    -webkit-animation: stroke 2s ease forwards 1.8s;
            animation: stroke 2s ease forwards 1.8s;
}
#logo path:nth-child(8) {
    stroke-dasharray: 308.17px;
    stroke-dashoffset: 308.17px;
    -webkit-animation: stroke 2s ease forwards 2.1s;
            animation: stroke 2s ease forwards 2.1s;
}
#logo path:nth-child(9) {
    stroke-dasharray: 325.94px;
    stroke-dashoffset: 325.94px;
    -webkit-animation: stroke 2s ease forwards 2.4s;
            animation: stroke 2s ease forwards 2.4s;
}

@-webkit-keyframes stroke{
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes stroke{
    to {
        stroke-dashoffset: 0;
    }
}

@-webkit-keyframes fill {
    to {
        fill: #000;
    }
}

@keyframes fill {
    to {
        fill: #000;
    }
}

/* ****************************** */
/* Footer */
/* ****************************** */

footer .socials-networks {
    display: flex;
    align-content: center;
    justify-content: center;
    padding: 20px;
    flex-wrap: wrap;
}

footer .socials-networks a {
    display: block;
    width: 60px;
    height: 60px;
    background: #000;
    color: #fff;
    margin: 20px;
    text-align: center;
    border-radius: 100px;
    transition: .3s ease all;
}

footer .socials-networks .twitter { background: #1da1f2; }
footer .socials-networks .facebook { background: #3b5998; }
footer .socials-networks .instagram { background: #c13584; }

footer .socials-networks a i{
    font-size: 20px;
    line-height: 60px;
}

footer .icon-container:hover a {
    -webkit-animation: icono .5s ease;
            animation: icono .5s ease;
}

@-webkit-keyframes icono {
    from{
        transform: rotate3d(0, 0, 0, 0);
    }
    to {
        transform: rotate3d(0, 1, 0, 360deg);
    }
}

@keyframes icono {
    from{
        transform: rotate3d(0, 0, 0, 0);
    }
    to {
        transform: rotate3d(0, 1, 0, 360deg);
    }
}

footer .created {
    margin-bottom: 40px;
    text-align: center;
    font-size: 14px;
    color: #c13584;
}

footer .created a { color: #000; }
footer .created a:hover { text-decoration: underline; }

/* ****************************** */
/* Botones Footer */
/* ****************************** */
footer .ref-btns {
    display: flex;
    align-content: center;
    justify-content: center;
    padding: 20px 20px 28px;
    flex-wrap: wrap;
}

footer .ref-btns .btn {
    min-width: 180px;
    font-size: 0.8em;
	padding: 9px 0;
	border: 0;
	border-radius: 3px;
	outline: 0;
    transition: .3s ease all;
    color: #fff;
    
    margin: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .ref-btns .btn i {
    font-size: 2em;
    padding: 0 10px 0 5px;
}

footer .ref-btns .btn.mila { background: #EC407A; }
footer .ref-btns .btn.dieguin { background: #0097A7; }

footer .ref-btns .btn:hover {
    cursor: pointer;
    -webkit-animation: refs .5s ease;
            animation: refs .5s ease;
}

@-webkit-keyframes refs {
    from{
        transform: rotate3d(0, 0, 0, 0);
    }
    to {
        transform: rotate3d(1, 0, 0, 360deg);
    }
}

@keyframes refs {
    from{
        transform: rotate3d(0, 0, 0, 0);
    }
    to {
        transform: rotate3d(1, 0, 0, 360deg);
    }
}

/* ****************************** */
/* Media Queries */
/* ****************************** */

@media screen and ( max-width: 700px ) {
    .grid .item {
        width: calc(100% - 20px);
    }

    header {
        padding: 40px 0 30px;
    }
    #logo {
        height: 40px;
    }

    header .search-bar {
        width: 100%;
    }
    header .categories a {
        margin: 10px 15px;
        font-size: 14px;
        font-weight: 700;
    }
    footer .socials-networks a {
        width: 40px;
        height: 40px;
    }
    footer .socials-networks a i{
        font-size: 20px;
        line-height: 40px;
    }
    .grid .item h2, .grid .item i {
        font-size: 1em;
    }
    #btnAdd {
        width: 100px;
        height: 35px;
        left: 0px;
        top: 83px;
        border-radius: 0 10px 10px 0;
        font-size: 0.8em;
    }
    #btnAdd > i {
        margin: 0 15px;
    }

    .container-img {
        width: 80%;
    }
    
    .overlay .container-info {
        min-width: 55%;
    }

    .overlay .container-info h3 {
        line-height: 10px;
        font-size: 0.8em;

        padding: 0 20px;
        margin-top: 14px;
    }
    .overlay .container-info .tlf,
    .overlay .container-info .name {
        font-size: 1em;
        line-height: 28px;
    }
    .overlay .container-info .icons-box {
        flex: 1;
        min-height: 30%;
        font-size: 3em;
    }
    .overlay .container-info .icons-box a.whatsapp {
        font-size: 0.6em;
        width:46px;
        height:46px;
    }

    .grid .item .iconitos {
        margin: 0 4px 0 0;
    }

    footer .ref-btns .btn {
        min-width: 130px;
        font-size: 0.7em;        
        margin: 20px 10px;
    }
    
    footer .ref-btns .btn i {
        font-size: 1.5em;
        padding: 0 5px 0 2px;
    }
}

@media screen and ( max-width: 428px ) {
    .container {
        width: 100%;
    }

    header {
        padding: 20px 0 10px;
    }
    header .logo {
        margin-bottom: 35px;
    }
    header .logo p {
        font-size: 12px;
    }
    header form {
        margin-bottom: 5px;
    }
    header .search-bar {
        height: 35px;
    }
    header .categories a {
        margin: 10px 7px;
    }

    #logo {
        height: 35px;
    }

    footer .ref-btns .btn {
        min-width: 110px;
        font-size: 0.6em;
        margin: 10p 2px;
        padding: 5px 0;
    }
    footer .ref-btns .btn i {
        font-size: 1.9em;
        padding: 0 5px 0 0;
    }
    footer .created {
        margin-bottom: 25p;
    }

    #btnAdd {
        top: 58px;
        width: 75px;
        height: 28px;
        font-size: 0.7em;
    }
    #btnAdd i {
        margin: 0 10px 0 5px;
    }

    .card {
        width: 90%;
    }
    #contact h3{
        font-size: 1.8em;
        margin-bottom: 5px;

    }
    #contact h4 {
        margin: 0 0 15px;
        font-size: 0.7em;
    }
    fieldset {
        margin: 0 0 5px;
    }
    #contact .form-control {
        padding: 5px 10px;
        height: 30px;
    }
    .copyright {
        font-size: 0.8em;
    }
    #contact button[type="submit"] {
        padding: 6px;
    }

    .overlay .container-popup {
        max-width: 90vw;
    }
    .overlay .container-popup h3 {
        font-size: 1em;
        margin: 10px 9px;
    }
    .overlay .container-popup .botones .confirmar, 
    .overlay .container-popup .botones .cancelar {
        margin: 10px 0;
        padding: 5px 10px;
        font-size: 13px;
    }

    .grid .item h2, .grid .item i {
        font-size: 0.9em;
    }

    .container-img {
        width: 90%;
        flex-direction: column;
    }
    .overlay .container-info h3 {
        margin-top: 6px;
    }
    .overlay .container-info .icons-box {
        font-size: 2.6em;
        padding-bottom: 10px;
    }
    .overlay .container-info .icons-box a.whatsapp {
        width: 40px;
        height: 40px;
    }

}