:root{
    --color_primary: rgba(163,122,53,1);
    --color_secondary: rgba(20,20,20,1);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    position: relative;
    overflow: hidden;
}

header{
    /*z-index: 99;*/ 
    display: none;
}

main{
    /*z-index: 99;*/
    display: none;
}

footer{
    /*z-index: 99;*/
    display: none;
}

.body{
    width: 100%;
    height: 100vh;
    background-image: url(../images/prehome/bg-hoy.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background-position: center;
    position: fixed;
    /*top: 0%;
    right: 0%;
    left: 0%;*/
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
    transition: 1s;
}

.body-ocult{
   /* bottom: 100%;*/
   /*top: -30%;*/
   transform: translate(-50%,-170%);
   transition: 1s;
   position: fixed;
}

.container_prehome{
    width: 30rem;
    height: 32rem;
    background: var(--color_secondary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.container_prehome::before{
    content: '';
    width: 220px;
    height: 7px;
    background: var(--color_primary);
    position: relative;
    top: -7.3rem;
}


.container_prehome p{
    font-size: 21px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
    color: var(--color_primary);
}

.container_prehome .container_prehome--img{
    margin-bottom: 3rem;
}


.container_prehome .container_prehome--btn{
    margin-top: 3rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.container_prehome .container_prehome--btn a{
    font-size: 16px;
    font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
    color: var(--color_primary);
    text-decoration: none;
    border: 1px solid var(--color_primary);
    padding: 0.8rem 3.5rem 0.8rem 3.5rem;
    margin-right: 0.5rem;
    margin-left: 1.5rem;
    cursor: pointer;
}

.text_prehome{
    font-size: 11px;
    font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #fff;
    margin-bottom: -6rem;
}

.text_prehome span{
    font-weight: bold;
}


@media (max-width: 800px) {
    body {
        background-size: cover;
        background-position: inherit;
    }
}

@media (max-width: 480px) {
    body {
        background-size: cover;
        background-position: initial;
    }

    .container_prehome::before {
        top: -3.8rem;
    }
    .container_prehome {
        width: 19rem;
        height: 25rem;
    }

    .container_prehome .container_prehome--btn a {
        padding: 0.8rem 2.5rem 0.8rem 2.5rem;
        margin-right: 0.5rem;
        margin-left: 1rem;
    }

    .text_prehome {
        margin-bottom: 0rem;
        text-align: center;
    }
    
}

@media (orientation: landscape) and (max-width: 900px){
    body {
        height: 220vh;

    }
    .container_prehome {
        width: 27rem;
        height: 19rem;
    }
    .container_prehome::before {
        top: -0.8rem;
    }
}