/*Definition of fonts to use*/
@font-face {
    font-family: 'montserratregular';
    src: url('/fonts/montserrat-regular-webfont.woff2') format('woff2'),
         url('/fonts/montserrat-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'montserratbold';
    src: url('/fonts/montserrat-bold-webfont.woff2') format('woff2'),
         url('/fonts/montserrat-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'cormorant_garamonditalic';
    src: url('/fonts/cormorantgaramond-italic-webfont.woff2') format('woff2'),
         url('/fonts/cormorantgaramond-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
/*Definition of general stuff*/
body {
    font-size: 13px;
    font-family: 'montserratregular';
    margin: 0;
}

a{
    text-decoration: none;
    color: inherit;
}
strong{
    font-family: 'montserratbold';
    font-weight: normal;
}

/* NAV DESIGN*/

nav{
    font-family: 'montserratbold';
    position: fixed;
    width: 100%;
    background-color: white;
    top: 0;
    height: 55px;
    z-index: 100;
}
nav div{
    padding-left: 6%;
    padding-right: 6%;
}
nav a{
    float:right;
    display: block;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 10px;
    margin-right: 26px;
}
nav a.logo{
    float:left;
    display: block;
    color: black;
    text-align: center;
    padding-top: 14px;
    text-decoration: none;
}

nav a:hover{
    color: #F20D5E;
}
.actualnav{
    color: #F20D5E;
    border-bottom:#F20D5E 5px solid
}

.topnav{
    font-family: 'montserratbold';
    position: fixed;
    width: 100%;
    background-color: white;
    height: 40px;
    top: 0;
    z-index: 100;
    padding-top: 10px;
    display: none;
}
.topnav a.logo img{
    padding-left: 3%;
    height: 26px;
    width: 15%;
    float:left;
}
.topnav a.contact p{
    width: 71%;
    text-align: center;
    margin-top: 10px;
    float:left;
}
.burguer img{
    padding-right: 3%;
    width: 8%;
    height: 26px;
    position: absolute;
    right: 0;
    float:left;

}
#navlinks{
    clear: both;
    display: none;
    height: 100vh;
    padding-top: 20px;
    background-color: white;
    opacity: 0.98;
}
#navlinks p{
    font-family: 'montserratregular';
    padding: 20px 6% 60px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
#navlinks a{
    text-align: right;
    font-size: 1.6em;
    display: block;
    text-align: end;
    padding-right: 10%;
    height: 70px;
}
#navlinks a:hover{
    color: #F20D5E;
}

/*HERE ENDS NAV DESIGN
LET'S DO THE INITIAL SCREEN*/

.inicio{
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 210px;
    margin-bottom: 110px;
    display: flex;
    flex-wrap: wrap-reverse;
}
.contenido{
    width: 60%;
    padding-right: 10%;
    box-sizing: border-box;
}
    h1{
        max-width: 650px;
        font-family: 'montserratbold';
        font-size: 3.4em;
        line-height: 110%;
        margin-bottom: 0px;
    }
    .contenido p{
        max-width: 700px;
        font-size: 1.3em;
    }
    .CTAtext{
        font-family: 'cormorant_garamonditalic';
        margin-bottom: 0;
        margin-left: 7px;
        margin-top: 60px;
    }
    .CTAbutton {
        border: #1a1a1a solid 5px;
        margin-top: 5px;
        font-family: 'montserratbold';
        padding: 1em 2em;
        width: 165px;
        margin-top: -78px;
    }
        .CTAbutton:hover{
            border: #F20D5E solid 5px;
            background-color: #F20D5E;
            color: white;
        }
        .CTAbutton:active{
            border: #F20D5E solid 5px;
            background-color: #F20D5E;
            color: white;
            -webkit-transition-duration:  0.1s;
            -moz-transition-duration:  0.1s;
            -o-transition-duration:  0.1s;
            -ms-transition-duration:  0.1s;
            -webkit-transform: translate(10px, 10px);
            -moz-transform: translate(10px, 10px);
            -o-transform: translate(10px, 10px);
            -ms-transform: translate(10px, 10px);
        }
    .CTAbutton2 {
        border: #1a1a1a solid 5px;
        margin-top: 5px;
        font-family: 'montserratbold';
        padding: 1em 1em 1em 3em;
        width: 165px;
        margin-top: -78px;
    }
        .CTAbutton2:hover{
            border: #F20D5E solid 5px;
            background-color: #F20D5E;
            color: white;
        }
        .CTAbutton2:active{
            border: #F20D5E solid 5px;
            background-color: #F20D5E;
            color: white;
            -webkit-transition-duration:  0.1s;
            -moz-transition-duration:  0.1s;
            -o-transition-duration:  0.1s;
            -ms-transition-duration:  0.1s;
            -webkit-transform: translate(10px, 10px);
            -moz-transform: translate(10px, 10px);
            -o-transform: translate(10px, 10px);
            -ms-transform: translate(10px, 10px);
        }
    .CTAbackground {
        border: #1a1a1a solid 5px;
        margin-top: 5px;
        font-family: 'montserratbold';
        padding: 1.5em 2em;
        width: 165px;
    }
.animacion{
    width: 40%;
    min-width: 400px;
    position: relative;
    overflow: hidden;
}
    .marco{
        width: 300px;
        height: 300px;
        margin: 75px 0px auto auto;
        border-top: #1a1a1a solid 5px;
        border-bottom: #1a1a1a solid 5px;
        border-left: #1a1a1a solid 5px;
    }
    .marco2{
        position: absolute;
        right: 0;
        top: 0;
        width: 300px;
        height: 310px;
        margin: 75px 0px auto auto;
        border-right: #1a1a1a solid 5px;
    }

/*NOW THE ANIMATIONS GROUP BY PAGE*/
/*INDEX*/
#index1{/*FINAL POSITION*/
    position: absolute;
    width: 400px;
    top: 63px;
    right: -40px;
}
#index2{/*AUXILIAR ITEM THAT DISAPEARS*/
    filter: brightness(0);
    position: absolute;
    width: 185px;
    top: 128px;
    right: -100px;
}
#index3{/*INITIAL POSITION*/
    filter: brightness(0);
    position: absolute;
    width: 355px;
    top: 55px;
    right: 103px;
    rotate: -75deg
}

#story1{
    position: absolute;
    width: 110px;
    top: 110px;
    right: 162px;
}
#story2{
    position: absolute;
    width: 110px;
    top: 110px;
    right: 32px;
}
#story3{
    position: absolute;
    width: 110px;
    top: 240px;
    right: 162px;
}
#story4{
    position: absolute;
    width: 110px;
    top: 240px;
    right: 32px;
}
#studio1{
    position: absolute;
    width: 260px;
    top: 59px;
    right: 22px;
}
#studio2{
    position: absolute;
    width: 100px;
    top: 10px;
    right: 104px;
}
#keybase{
    position: absolute;
    top: 215px;
    width: 270px;
    right: 130px;
}
#keydecor{
    position: absolute;
    top: 188px;
    width: 34px;
    right: 116px;
}
#keyhead4{
    position: absolute;
    top: 157px;
    width: 115px;
    right: 285px;
}
#keyfoot4{
    position: absolute;
    top: 123px;
    width: 158px;
    right: -12px;
}
#ink{
    position: absolute;
    top: 256px;
    right: 11px;
    width: 285px;
}
#pen{
    position: absolute;
    top: 30px;
    right: -5px;
    width: 210px;
}
#write{
    position: absolute;
    top: 360px;
    right: 800px;
    width: 210px;
}

.separador{
    margin-top: 165px;
    margin-left: 12.5%;
    margin-right: 0;
    height: 5px;
    background-color: #F20D5E;
}
/*HERE STARTS PROLOGUE/PROFILE*/

.prologo{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    min-height: 80vh;
    margin-top: 100px;
}
.c1 {
    width:600px;
    border-top: solid black 5px
}
    .c1 h2{
        margin-top: 350px;
        font-size: 45px;
        line-height: 0.9em;
        font-family: 'montserratbold';
    }
    .c1 p{
        margin-left: 20px;
    }

.c2{
    padding-top: 15px;
    border-top: 5px solid black;
    width: 300px;
}
    .c2 h2{
        font-family: 'montserratbold';
    }

/*DEFINITION OF INDEX PART (HOME PAGE) */
/*ESTRUCTURA:
    MAIN (DONDE APLICAR EL CLEARFIX, EN PRINCIPIO NO CONTENDRÁ NADA MÁS)
        SECTION (SEPARAREMOS POR APARTADOS, LOS MISMOS QUE LOS DEL NAVEGADOR)
            DIV (CON EL TÍTULO DEL CAPITULO)
            ARTICLE (DONDE PONDREMOS LOS SUBCAP DE CADA CAP EN 3 COLUMNAS)
*/

article.cap{
    position: relative;
    padding: 0;
    margin-top: 55px;
    margin-left: auto;
    margin-right: auto;
    width: 75%;
    min-width: 360px;
}
.capspace{
    border: 5px solid black;
    box-sizing: border-box;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    min-height: 200px;
    max-width: 965px;
    margin-left:auto;
    margin-right:auto;
}
    .capimg{
        width: 50%;
        min-width: 350px;
        max-height: 200px;
        top: 0px;
        left: 0px;
    }
    .captext{
        width: 50%;
        min-width: 330px;
    }
    .captit{
        font-family: 'montserratbold';
        font-size: 2.4em;
        line-height: 0.9em;
        text-align: center;
        margin-left: 5%;
        margin-right: 5%;
    }
    .capfrase{
        font-family: "cormorant_garamonditalic";
        font-size: 1.2em;
        text-align: center;
        margin-left: 10%;
        margin-right: 10%;
        margin-top: -10px;
    }

    .captxt{
        text-align: left;
        font-size: 1em;
        text-align: justify;
        margin-left: 5%;
        margin-right: 5%;
    }
    .captell{
        font-family: 'montserratbold';
        font-size: 1.2em;
        line-height: 0.9em;
        text-align: center;
        margin-left: 5%;
        margin-right: 5%;
    }
    .capspace:hover{
        border: 5px solid #F20D5E;
    }
    .capspace:active{
        border-top: 5px solid #F20D5E;
        border-right:  5px solid #F20D5E;
        border-bottom:  5px solid #F20D5E;
        border-left: 5px solid #F20D5E;
        background-color: #F20D5E;
    }
    .capspace:active .capimg{
        filter: brightness(0) invert(1);
    }


/*End of caps definition
Start of subcaps definition*/

article.subcap{
    margin-left: auto;
    margin-right:auto;
    margin-top: 50px;
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
/* Esta es más o menos la definición que vamos a necesitar para movil, la pondremos con una query o algo
.subcapspace{
    border: black solid 5px;
    box-sizing: border-box;
    position: relative;
    width: 360px;
    height: 640px;
}
.subcaptit{
    font-family: 'montserratbold';
    position: absolute;
    left: 55.5px;
    font-size: 45px;
    line-height:40px;
    top: 265px;
}
.subcaptitlong{
    font-family: 'montserratbold';
    position: absolute;
    left: 55.5px;
    font-size: 30px;
    line-height:25px;
    top: 282px;
}
.subcapimg{
    max-width: 320px;
    height: 320px;
    position: absolute;
    top: -15px;
    left: -15px;
}
.subcapfrase{
    position: absolute;
    left: 55.5px;
    right: 55.5px;
    top: 350px;
    font-family: "cormorant_garamonditalic";
    font-size: 22px;
    text-align: left;
}
.subcaptxt{
    position: absolute;
    left: 37px;
    right: 37px;
    top: 450px;
    text-align: left;
}
.subcapspace:hover {
    border: #F20D5E 5px solid;
}
.subcapspace:active .subcapimg{
    filter: brightness(0) invert(1);
}
.subcapspace:active{
    border: #F20D5E 5px solid;
    background-color: #F20D5E;
}*/

.subcapspace{
    border: black solid 5px;
    box-sizing: border-box;
    position: relative;
    width: 300px;
    min-height: 450px;
}
.subcapimg{
    width: 290px;
    height: 200px;
    margin-top: 5px;
}
.subcaptit{
    font-family: 'montserratbold';
    text-align: center;
    font-size: 2.2em;
}
.subcaptitlong{
    font-family: 'montserratbold';
    text-align: center;
    font-size: 2.2em;
    margin-top: 0px;
}
.subcapfrase{
    font-family: "cormorant_garamonditalic";
    font-size: 1.2em;
    padding-left: 10%;
    padding-right: 10%;
    text-align: center;
    margin-top: -7px;
}
.subcaptxt{
    text-align: left;
    padding-left: 5%;
    padding-right: 5%;
    line-height: 120%;
}
.subcapspace:hover {
    border: #F20D5E 5px solid;
}
.subcapspace:active .subcapimg{
    filter: brightness(0) invert(1);
}
.subcapspace:active{
    border: #F20D5E 5px solid;
    background-color: #F20D5E;
}

/*BOOKMARK DEFINITION*/
/*Queda averiguar como hacer que visibility: initial cuando se haya visitado el enlace*/
.marcapaginas{
    visibility: hidden;
    height: 74px;
    position: absolute;
    top: -5px;
    right: 0px;
    color: white;
}
a:visited .marcapaginas{/*aqui falla algo, habrá que ver*/
    fill: black;
}

/*END OF INDEX DEFINITION
START OF INFO PAGES DEFINITION*/

section.info{
    margin-left: auto;
    margin-right: auto;
    width: 75%;
    margin-top: 120px;
    padding-top: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.infoimg{
    width: 20%;
    min-width: 200px;
    height: 250px;
    display: flex;
    align-content: center;
    justify-content: center;
    top: 100px;
    margin-left: 10%;
    position: sticky;
    position: -webkit-sticky;
}
.infoimgX{
    width: 20%;
    min-width: 200px;
    height: 250px;
    display: flex;
    align-content: center;
    justify-content: center;
    margin-top: -40px;
    top: 100px;
    left: 15%;
    float: left;
    position: sticky;
    position: -webkit-sticky;
}

.infoimg2{
    width: 250px;
    top: 100px;
    margin-left: 15%;
    float: left;
    position: sticky;
    position: -webkit-sticky;
}

.infotit {
    border-top: 5px #F20D5E solid;
    width: 60%;
    padding-top: 50px;
    line-height: 1.15em;
    display: flex;
    flex-wrap: wrap;
    align-items: space-between;
    justify-content: space-between;
}
.infotit div{
    width: 50%;
    min-width: 270px;
}
    .infotit h2,h3{
        font-family: 'montserratbold';
        font-size: 45px;
        line-height: 0.9em;
        margin-top: 0;
        margin-left:-50px;
        width: 100%;
    }
    .infotit h4{
        font-family: "cormorant_garamonditalic";
        font-weight: normal;
        font-size: 20px;
        line-height: 1.12em;
        margin-top: -15px;
        margin-right: 10%;
        margin-left:-50px;
        width: 100%;
    }
.infokey{
    width: 100%;
    padding-top: 30px;
    column-count: 2;
    column-gap: 30px;
    line-height: 1.15em;
    padding-bottom: 30px;
}
.infotxt{
    width: 60%;
    padding-top: 30px;
    margin-left: 40%;
    column-count: 2;
    column-gap: 30px;
    line-height: 1.15em;
    padding-bottom: 30px;
}
    .coment{
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 15px;
        padding-right: 15px;
        font-style: italic;
        font-size: 1em;
    }

.infobutton{
    box-sizing: border-box;
    border: solid black 5px;
    clear: both;
    text-align: center;
    font-family: 'montserratbold';
    padding: 15px;
    width: 33.5%;
    float: right;
    margin-right: 2%;
}
    .infobutton:hover{
        border: solid #F20D5E 5px;
        background-color: #F20D5E;
    }

/*END OF GENERAL INFO STUFF DEFINITION
START OF POSSIBLE PARTICULAR STUFF */
/*PRODUCTS FIRST*/

section.prod{
    margin-left: auto;
    margin-right: auto;
    margin-top: 150px;
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    position: relative;
}
.proda{
    width: 40%;
    min-width: 200px;
    position: relative;
}
.proda img{
    position: relative;
    width: 100%;
    height: 160px;
    margin: 0;
    z-index: 0;
}
/*    .proda>img:hover{
        z-index: 0;
    }
    Voy a ponerlo como comentario de moemnto hasta que vea como ocultar el proda>p*/
.label {
    position: relative;
    text-align: center;
    font-family: 'montserratbold';
    box-sizing: border-box;
    font-size: 1.2em;
    margin-top: -38px;
    padding: 2%;
    width: 50%;
    min-width: 200px;
    background-color: #F20D5E;
    bottom: 0px;
    z-index: 10; /*cuando lo cambiemos el zindex aqui es 0*/
}
.desproda{
    position: relative;
    min-width: 200px;
    width: 50%;
    float: left;
    box-sizing: border-box;
    border: solid black 5px;
    background-color: white;
    margin-top: -18px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
    z-index: 20;
}
.estante{
    position: absolute;
}
.keychains{
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.keychain{
    width: 1.6%;
}
.keys{
    margin-bottom: 165px;
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.key{
    width: 12%;
    height: fit-content;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
}

/*ARTIFACTS DISTRIBUTION DEFINITION*/

div.artifacts{
    width: 60%;
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
}
div.artifact{
    width: 111px;
    margin-left: 20px;
}

img.artifacts{
    width: 111px;
    float: right;
    box-sizing: border-box;
    border: #F20D5E solid 5px;;
}
p.artifacts{
    width: 111px;
    float: right;
    margin-left: 20px;
    text-align: center;
}

section.ups{
    width: 100%;
    background-color: #333333;
    margin-bottom: 200px;
}
div.ups{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    color: white;
}
div.ups img{
    height: 100%;
    max-height: 260px;
    width: 40%;
    min-width: 200px;
}
div.ups div{
    width: 40%;
    min-width: 200px;
}
.ups a:nth-child(1):hover{
    color: #f02c70;
}

/*NECESITAREMOS ALGO PARA EL EQUIPO, PERO HASTA QUE NO LO DISEÑEMOS NO HACE FALTA QUE PONGAMOS NADA AQUÍ, PERO ESTE SERÁ EL ESPACIO*/
/*DEFINITION OF THE NEXT BUTTON WITH ANIMATION*/
.oculta{
    overflow: hidden;
    width: 100%;
    margin-top: 50px;
    float: right;
}
.oculta img{
    width: 80%;
    max-height: 250px;
    -webkit-transform: translate(110%, 0);
    -moz-transform: translate(110%, 0);
    -o-transform: translate(110%, 0);
    -ms-transform: translate(110%, 0);
    -webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -o-transition-duration: 1s;
    -ms-transition-duration: 1s;
}
.oculta:hover img{
    -webkit-transform: translate(10%, 0);
    -moz-transform: translate(10%, 0);
    -o-transform: translate(10%, 0);
    -ms-transform: translate(10%, 0);
}

/*CLEARFIX*/
.clearfix{
    clear:both;
}


/*FOOTER*/
footer{
    background-color: #1a1a1a;
    margin-top: 55px;
    padding-top: 1px;
    color: white;
    border-bottom: 1px solid #1a1a1a;
}
footer .capspace{
    box-sizing: border-box;
    max-width: 960px;
    min-height: 220px;
    border: 5px solid #333333;
    background-color: #333333;
}
    footer .capspace:hover{
        border-top: 5px solid #F20D5E;
        border-right:  5px solid #F20D5E;
        border-bottom:  5px solid #F20D5E;
        border-left: 5px solid #F20D5E;
        background-color: #F20D5E;
    }

    footer .capspace:hover .capimg{
        filter: brightness(0);
    }
    footer .capimg{
        max-height: 220px;
    }
.copy{
    font-family: "cormorant_garamonditalic";
    text-align: center;
    font-size: small;
    color: #ccc;
    padding-top: 74px;
}

/*SCROLLBAR
::-webkit-scrollbar{
    width: 5px;
}
::-webkit-scrollbar-track{
    background-color: white;
}
::-webkit-scrollbar-thumb{
    background-color: #1a1a1a;
}
::-webkit-scrollbar-thumb:hover{
    background-color: #F20D5E;
}
::-webkit-scrollbar-button{
    display: none;
}
:root{
    scrollbar-color: #1a1a1a white;
    scrollbar-width: thin;
}
*/

/* FORMS */
form{
    border-top: #F20D5E 5px solid;
    border-bottom: #F20D5E 5px solid;
    width: 65%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    line-height: 1.2em;
}
form div{
    width: 45%;
    min-width: 300px;
}
label{
    font-size: 0.9em;
    padding-left: 13px;
}
input[type=text]{
    box-sizing: border-box;
    width: 100%;
    font-family: 'montserratregular';
    padding: 7px;
    border: #ccc 5px solid;
    margin-bottom: 18px;
    margin-top: 5px;
}
input[type=email]{
    box-sizing: border-box;
    width: 100%;
    font-family: 'montserratregular';
    padding: 7px;
    border: #ccc 5px solid;
    margin-bottom: 18px;
    margin-top: 5px;
}
input[type=number]{
    box-sizing: border-box;
    width: 100%;
    font-family: 'montserratregular';
    padding: 7px;
    border: #ccc 5px solid;
    margin-bottom: 15px;
    margin-top: 5px;
}
input[type=checkbox]{
    margin-top: 0;
    border: #ccc solid 1px;
}
textarea{
    box-sizing: border-box;
    width: 100%;
    min-width: 300px;
    max-width: 100%;
    height: 237px;
    font-family: 'montserratregular';
    padding: 7px;
    border: #ccc 5px solid;
    margin-bottom: 15px;
    margin-top: 5px;
    font-size: 1em;
}
input[type=text]:focus{
    border: #333333 5px solid;
}
input[type=email]:focus{
    border: #333333 5px solid;
}
input[type=number]:focus{
    border: #333333 5px solid;
}
textarea:focus{
    border: #333333 5px solid;
}
input[type=submit]{
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 16px;
    padding-bottom: 16px;
    margin-top: 15px;
    border: solid #ccc 5px;
    background-color: #ccc;
    font-family: 'montserratbold';
    color: white;
}
input[type=submit]:hover{
    border: solid #F20D5E 5px;
    background-color: #F20D5E;
    cursor: pointer;
}
/*CUSTOM CHECKBOX*/
.container{
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.container input{
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}
.check{
    position: absolute;
    top: -3px;
    left: 0;
    height: 10px;
    width: 10px;
    background-color: white;
    border: #ccc solid 5px;
}
.container:hover .check{
    border: #1a1a1a solid 5px;
}
.container input:checked ~ .check{
    border: #F20D5E solid 5px;
    background-color: #F20D5E;
}
.checkmark{
    height: 22px;
    position: absolute;
    top: -4px;
    left: 4px;
    filter: brightness(0) invert(1);
    visibility: hidden;
}
.container input:checked ~ .checkmark{
    visibility: initial;
}

/*LET'S DO THE BUSINESS CARD*/
.card{
    margin-left: 2.5vw;
    margin-top: 2.5vw;
    box-sizing: border-box;
    border: white solid 3px;
    width: 95vw;
    height: 97.5vh;
    max-height: 750px;
    box-shadow: 0px 10px 9px #ccc;
}

.cardimg{
    margin-left: auto;
    margin-right: auto;
    margin-top: 12vh;
    height: 50vw;
    width: 50vw;
    box-sizing: border-box;
    border: #1a1a1a solid 5px;
}
.cardimg img{
    width: 150%;
    margin-left: -25%;
    margin-top: -17%;
}
.cardtit{
    margin-top: 5vh;
    margin-bottom: 0;
    margin-left: 8vw;
    font-size: 25pt;
    font-family: 'montserratbold';
    line-height: 22pt;
}
.portal{
    width: 84%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2vh;
    margin-bottom: 2vh;
    height: 5px;
    background-color: #1a1a1a;
}
.cardinfo{
    margin-left: 8vw;
    width: 45.5vw;
}
.cardinfo2{
    padding-left: 12vw;
    margin-bottom: 7vh;
    width: 45.5vw;
}
.cardicon{
    /*IF ONE EXTRA CARDICON ADDED (THE SAVE CONTACT ONE) CHANGE WIDTH AND HEIGHT TO 8VW*/
    width: 9vw;
    height: 9vw;
    margin-left: 8vw;
    border: #1a1a1a solid 2px;
    box-sizing: border-box;
    float: right;
}
.cardicon img{
    width: 130%;
}
.cardicon:nth-child(1){
    margin-right: 8vw;
}
.cardicon:nth-child(4){
    float: left;
}
#BClinkedin{
    width: 80%;
    margin-left: 10%;
    margin-top: 10%;
}
#BCphone{
    margin-top: -11%;
    margin-left: -20%;
}
#BCemail{
    margin-left: -15%;
    margin-top: 5%;
}
#BCweb{
    margin-left: -15%;
    margin-top: -2%;
}

/*I'M WRITING THE QUESRYS AT THE BOTTOM OF EVERYTHING, HOPPING IT WORKS PRPERLY*/
@media screen and (max-width: 1710px){
    .inicio{
        width: 88%;
    }
    .separador{
        margin-left: 6%;
    }
}
@media screen and (max-width: 1439px){
    .infotit h2{
        font-size: 1.9em;
    }
}
@media screen and (max-width: 1200px){
    /*FIRST SCREEN*/
    .contenido{
        width: 50%;
    }
    h1{
        font-size: 2.6em;
    }
    .animacion{
        width: 50%;
        min-width: none;
    }

    /*INFO DISTRIBUTION*/
    .infotit h2{
        margin-left: 0px;
    }
    .infotit h3{
        margin-left: 0px;
    }
    .infotit h4{
        margin-left: 0px;
    }
    .infotit div{
        width: 100%;
    }
    .infoimg{
        margin-left: 0px;
    }
    .infoimgX{
        margin-left: 0px;
    }
}

@media screen and (max-width: 920px){
    /*FIRST SCREEN*/
    .inicio{
        margin-top: 100px;
    }
    .contenido{
        width: 100%;
    }
    h1{
        font-size: 2.1em;
    }
    .animacion{
        margin-left: auto;
        margin-right:auto;
        overflow: visible;
        width: 350px;
        min-width: 350px;
    }
    .marco{
        margin: auto;
        border-right: 5px solid #1a1a1a;
        width: 200px;
        height: 200px;
    }
    .marco2{
        display: none;
    }
        /*ALL THE POSITION-ANIMATION ARRENGEMENTS*/
        #index1{/*FINAL POSITION*/
            width: 300px;
            top: -30px;
            right: 25px;
        }
        #index2{/*AUXILIAR ITEM THAT DISAPEARS*/
            filter: brightness(0);
            width: 130px;
            top: 30px;
            right: -15px;
        }
        #index3{/*INITIAL POSITION*/
            filter: brightness(0);
            width: 250px;
            top: -20px;
            right: 135px;
            rotate: -75deg
        }
        #story1{
            width: 74px;
            top: 21px;
            right: 186px;
        }
        #story2{
            width: 74px;
            top: 21px;
            right: 91px;
        }
        #story3{
            width: 74px;
            top: 116px;
            right: 186px;
        }
        #story4{
            width: 74px;
            top: 116px;
            right: 91px;
        }
        #studio1{
            width: 172px;
            top: -6px;
            right: 90px;
        }
        #studio2{
            width: 66px;
            top: -40px;
            right: 141px;
        }
        #keybase{
            top: 100px;
            width: 180px;
            right: 130px;
        }
        #keydecor{
            top: 83px;
            width: 22px;
            right: 116px;
        }
        #keyhead4{
            top: 67px;
            width: 68px;
            right: 245px;
        }
        #keyfoot4{
            top: 40px;
            width: 103px;
            right: 31px;
        }
        #ink{
            top: 125px;
            right: 80px;
            width: 190px;
        }
        #pen{
            top: -25px;
            right: 65px;
            width: 140px;
        }
        #write{
            top: 194px;
            right: 800px;
            width: 140px;
        }

    /*INDEX ARRENGEMENTS*/
    #emptyspace{
        display: none;
    }
    .subcapspace{
        margin-bottom: 30px;
    }
    .infokey{
        column-count: 1;
    }
}

@media screen and (max-width: 820px){
    nav{
        display:none;
    }
    .infoimg{
        position: initial;
        width: 100%;
        margin-bottom: 10px;
    }
    .infoimgX{
        position: initial;
        width: 100%;
        margin-bottom: 10px;
        margin-top: auto;
    }
    section.info{
        margin-top: 0px;
        padding-top: 55px;
    }
    .infotit{
        margin: auto;
        width: 100%;
    }
    .infotit h3{
        width: 100%;
        margin: 0;
        margin-top: -20px;
        font-size: 3em;
        margin-bottom: 30px;
    }
    .infotit h4{
        margin-left: auto;
        margin-right: auto;
        width: 80%;
        margin-top: 0;
        margin-bottom: 0;
    }
    .infotxt{
        margin: auto;
        width: 100%;
        column-count: 1;
        margin-bottom: 150px;
        padding-bottom: 0px;
    }
    .coment{
        padding-left: 0px;
        padding-right: 0px;
    }
    #emptyspace{
        display: none;
    }
    .topnav{
        display: initial;
    }
    footer article.cap{
        margin-top: 60px;
        margin-bottom: -40px;
    }
    .oculta img{
        -webkit-transform: translate(10%, 0);
        -moz-transform: translate(10%, 0);
        -o-transform: translate(10%, 0);
        -ms-transform: translate(10%, 0);
    }
    input[type=submit]{
        margin-left:100px;
        margin-right: 100px;
    }

    /*THIS WILL DESAPEAR ONCE WE CHANGE THE CONTENT*/
    section.prod{
        margin-left: auto;
        margin-right: auto;
        margin-top: -110px;
        margin-bottom: 130px;
        width: 95%;
    }
    div.artifacts{
        margin-left: auto;
        margin-right: auto;
        margin-top: -110px;
        margin-bottom: 130px;
        width: 95%;
        justify-content: space-between;
    }
    section.ups{
        width: 100%;
        margin-top: 0px;
    }
}
@media screen and (max-width: 500px){
    /*INICIO ARRANGEMENTS*/
    
    .inicio{
        width: 100%;
    }
    
    h1{
        font-size: 1.7em;
        padding-left: 6%;
    }
    .inicio p{
        font-size: 1em;
        padding-left: 6%;
    }
    p.CTAtext{
        font-size: 1.3em;
    }
    p.CTAbutton{
        font-size: 1.3em;
        margin-left: 6%;
    }
    p.CTAbutton2{
        font-size: 1.3em;
        margin-left: 6%;
    }
    p.CTAbackground{
        font-size: 1.3em;
        margin-left: 6%;
    }

    .estante{
        display: none;
    }
    .keychains{
        display: none;
    }
    .key{
        width: 150px;
        margin-bottom: 70px;
    }
    .label{
        margin-top: -17px;
    }
    div.artifacts{
        justify-content: space-between;
    }
    div.artifact{
        margin-left: 0;
    }

    .ups{
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

