/* General */

body {
    background-color:#000;
}

.content {
    background: url('https://cdn.myacker.family/library/cpy/img/background_pattern.webp'), #fff;
    background-size: 35%;
    padding:4% 0 6% 0;
}

footer {
    color: #fff;
    position:relative;
    padding:2% 0 4% 0;
}

footer:before {
    width: 100%;
    height:3vw;
    content: " ";
    position:absolute;
    left:0;
    top:-3vw;
    background-image: url("https://cdn.myacker.family/library/cpy/img/footer.svg");
    background-size:cover;
}

footer a {
    color: #fff;
    line-height:1.8;
    &:hover {
        text-decoration:none;
    }
}

footer .sub-nav {
    font-size: 1.125rem;
    font-weight:bold;
}

footer .languages {
    position:absolute;
    right:5%;
    top:-6.5vw;
    height:11vw;
    width:30vw;
}

footer .languages a {
    float:right;
    height:100%;
    margin-left:1vw;
    animation: .2s ease-out 3s 1 autoHover;
    &:hover {
        transition: all .2s ease-in-out;
        transform: scale(1.1);
    }
}

footer .languages img {
    height:100%;
}

footer .logo {
    position:absolute;
    left:35vw;
    top:-7vw;
    width:30vw;
}

footer .logo img {
    width:100%;
}

footer .social-media img {
    width:1.5rem;
    &:hover {
        transition: all .2s ease-in-out;
        transform: scale(1.3);
    }
}

footer .social-media a {
    margin-right:.3rem;
}

.spacer {
    width:100%;
    animation: .4s ease-out 1s 1 autoHover;
}

.privacy {
    font-size: 0.8rem;
}

.text-small{
    font-size: small !important;
    color: #777;
}

.text-center{
    text-align: center !important;
}

.cursor-pointer{
    cursor:pointer;
}

.mb-0 {
    margin-bottom:0 !important;
}
.mb-1 {
    margin-bottom:1rem !important;
}
.mb-2 {
    margin-bottom:2rem !important;
}
.mb-3 {
    margin-bottom:3rem !important;
}

/* Home */

.main-nav {
    width: 90%;
    padding: 5% 5%;
}

.main-nav-item{
    cursor:pointer;
    position:relative;
}

.main-nav-item h1{
    position:absolute;
    display:none;
    color:#ccc;
}

h1.tl {
    left:-2rem;
    top:0;
    font-size:1rem;
    transform: rotate(-30deg);   
}

h1.tr {
    right:-2rem;
    top:-1rem;
    font-size:1rem;
    transform: rotate(5deg);   
}

h1.bl {
    left:-3rem;
    bottom:4rem;
    font-size:1rem;
    transform: rotate(55deg);   
}

h1.br {
    right:-5rem;
    top:1rem;
    font-size:1rem;
    transform: rotate(-80deg);   
}

.tooltip {
    animation: 1s ease-out 2s 1 toolTipBlink;
    opacity:0;
    width: 50%;
    height:50%;
    position:absolute;
    right:0%;
    bottom:0%;

}
.tooltip img {
    height:100%;
    -webkit-filter: drop-shadow(50px 50px 50px rgba(0,0,0,0.4));
    filter: drop-shadow(50px 50px 50px rgba(0,0,0,0.4));
}

.main-nav-item:nth-child(1) {
    animation: .2s ease-out 1s 1 autoHoverTL;
    &:hover{
        transition: all .2s ease-in-out;
        transform: scale(1.1) translate(-5%, -5%);
    }
}

.main-nav-item:nth-child(2) {
    animation: .2s ease-out 1.2s 1 autoHoverTR;
    &:hover{
        transition: all .2s ease-in-out;
        transform: scale(1.1) translate(5%, -5%);
    }
}

.main-nav-item:nth-child(3) {
    animation: .2s ease-out 1.4s 1 autoHoverBR;
    &:hover{
        transition: all .2s ease-in-out;
        transform: scale(1.1) translate(-5%, 5%);
    }
}

.main-nav-item:nth-child(4) {
    animation: .2s ease-out 1.6s 1 autoHoverBL;
    &:hover{
        transition: all .2s ease-in-out;
        transform: scale(1.1) translate(5%, 5%);
    }
}

.main-nav-item img {
    width:100%;
}

/* Team */

.team-pic img {
    width: 100%;
    border-radius: 50%;
}

.team-hire {
    text-decoration: none;
    animation: 1s ease-out 0s infinite blink;
}

.team-data {
    min-height:80px;
}

.teamall {
    margin-bottom:-6.5vw;
}

/* Jobs */

.grecaptcha-badge {
    visibility: hidden;
}

/* Press */

.filesystem a {
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
}

.filesystem span {
    position:absolute;
    display:block;
    text-align:center;
    font-size:0.8rem;
    left:0;
    bottom:0;
    width:96%;
    height:27%;
    margin:2%;
    overflow:hidden;
}

.filesystem .fs {
    position:relative;
    padding-top:100%;
    &:hover{
        transition: all .2s ease-in-out;
        transform: scale(1.1);
    }
}

.filesystem .file {
    background: url('https://cdn.myacker.family/library/cpy/img/filesystem/file.webp') no-repeat left top;
    background-size: contain;
}

.filesystem .image {
    background: url('https://cdn.myacker.family/library/cpy/img/filesystem/image.webp') no-repeat left top;
    background-size: contain;
}

.filesystem .folder {
    background: url('https://cdn.myacker.family/library/cpy/img/filesystem/folder.webp') no-repeat left top;
    background-size: contain;
}

.filesystem .back {
    background: url('https://cdn.myacker.family/library/cpy/img/filesystem/back.webp') no-repeat left top;
    background-size: contain;
}

/* Brands */

.tmln {
    position: relative;
    margin: 0 auto;
    box-sizing: border-box;
}

.tmln * {
    box-sizing: border-box;
}

.tmln::after {
    content: '';
    position: absolute;
    width: 5px;
    background: url("https://cdn.myacker.family/library/cpy/img/tmln_line.webp") repeat-y left top;
    background-size:contain;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: 0;
}

.tmln-box {
    position: relative;
    width: 50%;
}

.tmln-box p {
    text-align:justify;
    margin-top:.5rem;
}

.tmln-box::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    right: -25px;
    background-image: url("https://cdn.myacker.family/library/cpy/img/tmln_dot.webp");
    background-size:cover;
    border: 0;
    top: 0;
    border-radius: 50%;
    z-index: 1;
}

.tmln-pic {
    width:45%;
    position:absolute;
}

.tmln-pic img {
    width:100%;
    &:hover {
        transition: all .2s ease-in-out;
        transform: scale(1.1);
    }
}

.tmln-left {
    left: 0;
    padding-right:40px;
    text-align:right;
}

.tmln-left .tmln-pic {
    right:-55%;
    top:10%;
    transform: rotate(15deg);
}

.tmln-right {
    left: 50%;
    padding-left:40px;
}

.tmln-right .tmln-pic {
    left:-55%;
    top:10%;
    transform: rotate(-15deg);
}

.tmln-right::after {
    left: -22px;
}

.tmln-ctnt {
    position: relative;
}

/* Modal */

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    opacity: 1;
    pointer-events: auto;
    animation: .4s fadeIn;
}

.modal:target {
    visibility: visible;
    opacity: 1;
    pointer-events: none;
}

.modal > div {
    max-width: 800px;
    width: 80%;
    position: relative;
    margin: 5% auto;
    padding: 20px;
    border-radius: 3px;
    background: #fff;
}

/* Animations */

@keyframes autoHover {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes autoHoverTL {
    0% {
        transform: scale(1) translate(0%, 0%);
    }
    50% {
        transform: scale(1.1) translate(-5%, -5%);
    }
    100% {
        transform: scale(1) translate(0%, 0%);
    }
}

@keyframes autoHoverTR {
    0% {
        transform: scale(1) translate(0%, 0%);
    }
    50% {
        transform: scale(1.1) translate(5%, -5%);
    }
    100% {
        transform: scale(1) translate(0%, 0%);
    }
}

@keyframes autoHoverBR {
    0% {
        transform: scale(1) translate(0%, 0%);
    }
    50% {
        transform: scale(1.1) translate(-5%, 5%);
    }
    100% {
        transform: scale(1) translate(0%, 0%);
    }
}

@keyframes autoHoverBL {
    0% {
        transform: scale(1) translate(0%, 0%);
    }
    50% {
        transform: scale(1.1) translate(5%, 5%);
    }
    100% {
        transform: scale(1) translate(0%, 0%);
    }
}

@keyframes toolTipBlink {
    0% {
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    75% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes blink {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive */


@media screen and (max-width: 45em) {  /* 720px */
    .tmln::after {
        left: 31px;
    }

    .tmln-box {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        text-align:left;
        margin-bottom:3rem;
    }

    .tmln-left:after, .tmln-right:after {
        left: 9px;
    }

    .tmln-right {
        left: 0%;
    }

    .tmln-left .tmln-pic {
        right:-25%;
        top:-5%;
        transform: rotate(15deg);
    }

    .tmln-right .tmln-pic {
        left:-30%;
        top:-10%;
        transform: rotate(-15deg);
    }
}

@media only screen and (min-width: 33.75em) {  /* 540px */
    .content {
        background-size: 30%;
    }
}

@media only screen and (min-width: 45em) {  /* 720px */
    .content {
        background-size: 23%;
    }
    footer .languages {
        height:10vw;
        width:25vw;
        top:-6.5vw;
    }
    footer .languages a {
        margin-left:1vw;
    }
}

@media only screen and (min-width: 60em) { /* 960px */
    .content {
        background-size: 13%;
    }
    .main-nav {
        width: 60%;
        padding: 0 20%;
    }
    footer .languages {
        height:5vw;
        width:15vw;
        top:-4.5vw;
    }
    footer .languages a {
        margin-left:0.5vw;
    }
    footer .logo {
        left:44vw;
        top:-4vw;
        width:12vw;
    }
}

@media only screen and (min-width: 80em) {
    .content {
        background-size: 10%;
    }
}
