

/* Back of card styling */

.card-back {
    background-color: #fff;
    color: white;
    /* transform: rotateY(180deg); */
    /* transform-style: preserve-3d; */
    /* background-image: url(media/pexels-paul-ijsendoorn-33041.jpg);
    background-size: cover; */

}



/* The cover over a background image that includes all info. If no background image, use height and width 100% */

.back-cover {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #fff;
    /* z-index: -1; */

}



/* uriarte back bg */
#back-bg {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    /* z-index: -1; */
    width: 33%;
    background-color: #1E4063;
}

#back-logo {
    position: absolute;
    
    /* positioning */
    top: 30%;
    left: 9.5%;

    /* size */
    height: 39%;
}

#back-qr {
    position: absolute;
    cursor: pointer;
    z-index: 1;
    
    /* positioning */
    bottom: 12%;
    right: 30%;

    /* size */
    height: 6%;

    border-radius: 2%;
    transition: 1s ease-in-out;
}

#back-qr.active{
    transition: 1s ease-in-out;
    height: min(40vh, 65vw);
}

#back-text {
    position: absolute;
    
    /* positioning */
    top: 14%;
    right: 0%;

    /* size */
    height: 16%;
}

#phone {
    position: absolute;
    
    /* positioning */
    top: 34%;
    left: 47.4%;

    /* size */
    height: 5%;
}

#phone-mobile {
    display: none;
}

#fax {
    position: absolute;
    
    /* positioning */
    top: 41.9%;
    left: 47.4%;

    /* size */
    height: 5%;
}

#fax-mobile {
    display: none;
}

#email {
    position: absolute;
    
    /* positioning */
    top: 50%;
    left: 47.4%;

    /* size */
    height: 5%;
}

#email-mobile {
    display: none;
}

#website {
    position: absolute;
    
    /* positioning */
    top: 58.5%;
    left: 47.4%;

    /* size */
    height: 5%;
}

#website-mobile {
    display: none;
}

#contacts {
    position: absolute;
    
    /* positioning */
    top: 69%;
    left: 47.4%;

    /* size */
    height: 3.5%;
}


/* Social media links */

#twitter {
    position: absolute;
    
    /* positioning */
    bottom: 12%;
    right: 20%;

    /* size */
    height: 6%;
}

#facebook {
    position: absolute;
    
    /* positioning */
    bottom: 12%;
    right: 13%;

    /* size */
    height: 6%;
}

#linkedin {
    position: absolute;
    
    /* positioning */
    bottom: 12%;
    right: 4%;

    /* size */
    height: 6%;
}

#location {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 7%;
    width: 100%;
    background-color: #d1a243;
    
}

#location a {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#location img {
    height: 60%;
}




@media screen and (max-width: 750px) {

    /* Uriarte bag bg */
    #back-bg {
        position: absolute;
        left: 0;
        bottom: 0;
        top: unset;
        height: 33%;
        /* z-index: -1; */
        width: 100%;
        background-color: #1E4063;
    }

    #back-border {
        position: absolute;
        top: 3%;
        left: 5%;
        height: 64%;
        width: 95.2%;
        border-top: 1px solid rgb(42, 90, 138);
        border-left: 1px solid rgb(39, 83, 128);
    }

    #background-back {
        display: none;
    }
    
    #background-back-mobile {
        display: unset;
        position: absolute;
        top: 0;
        left: unset;
        right: 0;
        height: 30%;
        
    }

    #back-logo {
        /* positioning */
        bottom: 9.5%;
        top: unset;
        right: 38%;
        left: unset;

        /* size */
        height: 20%;
    }


    #back-text {
        
        /* positioning */
        top: 8%;
        right: 0%;

        /* size */
        height: 8.7%;
    }

    #back-qr {
        
        /* positioning */
        bottom: 36.8%;
        left: unset;
        right: 14%;
    
        /* size */
        height: 6%;

    }

    #phone {
        display: none;
    }

    #phone-mobile {
        display: unset;
        position: absolute;
        height: 2.5%;
        top: 21%;
        left: 10%;
    }

    #fax {
        display: none;
    }
    
    #fax-mobile {
        display: unset;
        position: absolute;
        height: 3.72%;
        top: 27%;
        left: 10%;
    }
    
    #email {
        display: none;
    }

    #email-mobile {
        display: unset;
        position: absolute;
        height: 3.5%;
        top: 34.6%;
        left: 18%;
    }
    
    #website {
        display: none;
    }

    #website-mobile {
        display: unset;
        position: absolute;
        height: 3.55%;
        top: 42%;
        left: 13.5%;
    }
    
    #contacts {
        
        /* positioning */
        top: 49.5%;
        left: 22%;
    
        /* size */
        height: 2.5%;
    }

    
    #twitter {
        position: absolute;
        
        /* positioning */
        bottom: 38%;
        left: 10%;
    
        /* size */
        height: 3.5%;
    }
    
    #facebook {
        position: absolute;
        
        /* positioning */
        bottom: 38%;
        left: 34%;
    
        /* size */
        height: 3.5%;
    }
    
    #linkedin {
        position: absolute;
        
        /* positioning */
        bottom: 38%;
        left: 54%;
    
        /* size */
        height: 3.5%;
    }

    #location {
        height: 6%;
    }

    #location img {
        height: 40%;
    }

    /* #location-mobile {
        display: unset;
        position: absolute;
        bottom: 0;
        left: 0;
        height: 5.5%;
        width: 100%;
        background-color: #d1a243;
    }
    
    #location-mobile a {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    #location-mobile img {
        height: 80%;
    } */
}









/* menu option that opens up other tabs */

.menu-tab {
    padding: 30px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1;
    height: 80px;
    cursor: url(media/front-card/cursor-tab.svg), pointer;
    opacity: 0;
    transition: .5s ease-out;
    pointer-events: none;

}

.menu-tab.show {
    transition: transform .5s ease-out, opacity 1s ease-in-out 1s;
    opacity: 1;
    pointer-events: unset;
}

.menu-tab.show:hover {
    transform: scale(1.1);
}




/* tab menu that opens when .menu-tab is clicked */

.tabs {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100vw);
    height: 100vh;
    width: 100vw;
    transition: 1s ease;
    background-color: rgba(255, 255, 255, 0.623);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-left: 10px solid #1e1e1e;
    z-index: 6;
}

.tabs.show {
    width: calc(100vw + 10px);
    transform: translateX(0);
    transition: 1s ease;
}

#close-tab {
    position: absolute;
    top: 30px;
    left: 30px;
    height: clamp(20px, 5vw, 40px);
    cursor: pointer;
    transition: transform .5s ease;

}

#about-tab {
    position: absolute;
    right: 30px;
    top: 20%;
    height: clamp(45px, 8vw, 75px);
    cursor: pointer;
    transition: all .5s ease;
    
}

@media screen and (min-width:750px) {

    #close-tab:hover {
        transform: scale(1.05) !important;
        transition: transform .5s ease;
    }

    #about-tab:hover {
        transform: scale(1.1) !important;
        transition: all .5s ease;
        right: 70px;
    }
}

#contact-tab {
    position: absolute;
    right: 30px;
    top: 35%;
    height: clamp(45px, 8vw, 75px);
    cursor: pointer;
    transition: all .5s ease;

}

#contact-tab:hover {
    transform: scale(1.1) !important;
    transition: all .5s ease;
    right: 70px;
}






