@import "animation.css";
@font-face {
    font-family: "Titillium";
    src: url("/lib/TitilliumWeb-Regular.ttf") format("truetype");
}

.my-background {
    /*padding: 40px;*/
    background-image: url(/img/road_and_trees.jpg);
    background-size: cover;
    /*height: 100vh;*/
}

body * {
    font-family: Titillium !important;
}

.top-container {
    background-color: white;
    /*height: inherit;*/
    height: 70%;
    padding: 25px;
    top: 50%;
    transform: translateY(-50%);
    position: relative;
}

.container {
    position: relative;
    width: 60vw;
    height: 60vh;
    margin: 20vh auto;
    border: blue solid 2px;
    background-color: darkgray;
}

.menu {
    display: flex;
    z-index: 21;
}

.menu-items-container {
    background-color: white;
    border: #5d9cec solid 1px;
}

.menu-items-container ul {
    margin: 0px;
    /*padding: 0px;*/
}

.menu-items-container ul li {
    list-style-type: none;
    list-style-image: url('/img/next.png');
}

.menu-item {
    padding: 8px;
    /*cursor: pointer;*/
}

.menu-item a:hover {
    font-weight: bold;
    text-decoration: none;
}

.hide {
    display: none;
}

.toggle-menu {
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer;
}

.category {
    display: inline-block;
    position: absolute;
}

@media only screen and (max-width: 865px) {
    #rocket {
        top: 45%;
        left: 57%;
    }
    #studies {
        top: 25%;
        left: 48%;
    }
    #experiences {
        top: 25%;
        left: 30%;
    }
    #clara {
        top: 35%;
        left: 2%;
    }
    #flask {
        top: 47%;
        left: 40%;
    }
    #contact {
        top: 65%;
        left: 38%;
    }
    #skill {
        top: 25%;
        left: 70%;
    }
    #hobbies {
        top: 65%;
        left: 60%;
    }
    .tooltip .tooltiptext {
        left: -70%;
    }
}

@media only screen and (min-width: 865px) {
    #rocket {
        top: 71%;
        left: 51%;
    }
    #studies {
        top: 55%;
        left: 59%;
    }
    #experiences {
        top: 33%;
        left: 60%;
    }
    #clara {
        top: 35%;
        left: 47%;
    }
    #flask {
        top: 25%;
        left: 37%;
    }
    #contact {
        top: 15%;
        left: 48%;
    }
    #skill {
        top: 45%;
        left: 35%;
    }
    #hobbies {
        top: 67%;
        left: 40%;
    }
}

.center-me {
    text-align: center;
}

.italic-me {
    font-style: italic;
    ;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 150px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    opacity: 0.75;
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.dark_popup {
    color: white;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
}

.default_popup {
    color: black;
    background-color: rgba(255, 255, 255, 0.95);
    border: lightgrey dashed 2px;
}

.popup {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    padding: 10px;
    min-width: 280px;
    overflow-y: scroll;
    max-height: 95vh;
    z-index: 1;
}

@media only screen and (max-width: 865px) {
    .popup {
        width: 90vw;
    }
}

@media only screen and (min-width: 865px) {
    .popup {
        width: unset;
    }
}

.title {
    font-weight: bold;
}

.icon {
    margin: 2px;
}

.card_title {
    text-align: center;
    font-weight: bold;
    color: white;
    background: -webkit-linear-gradient(70deg, #ffcc33 30%, rgba(0, 0, 0, 0) 30%), -webkit-linear-gradient(30deg, #35A8E0 60%, #0069B4 60%);
    background: -o-linear-gradient(70deg, #ffcc33 30%, rgba(0, 0, 0, 0) 30%), -o-linear-gradient(30deg, #35A8E0 60%, #0069B4 60%);
    background: -moz-linear-gradient(70deg, #ffcc33 30%, rgba(0, 0, 0, 0) 30%), -moz-linear-gradient(30deg, #35A8E0 60%, #0069B4 60%);
    background: linear-gradient(70deg, #ffcc33 30%, rgba(0, 0, 0, 0) 30%), linear-gradient(30deg, #35A8E0 60%, #0069B4 60%);
    margin: 2px;
    border-radius: 5px;
}

#chartdiv {
    width: 100%;
    height: 400px;
}

#chartdiv_formation {
    width: 500px;
    height: 400px;
}

.footer {
    bottom: 5px;
    position: absolute;
}


/*Animate.css*/

@-webkit-keyframes slideInLeft {
    from {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }
    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInLeft {
    from {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }
    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.slideInLeft {
    -webkit-animation-name: slideInLeft;
    animation-name: slideInLeft;
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes slideInRight {
    from {
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
        visibility: visible;
    }
    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInRight {
    from {
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
        visibility: visible;
    }
    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.slideInRight {
    -webkit-animation-name: slideInRight;
    animation-name: slideInRight;
}


/*Loader*/

#preloader {
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
}

#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #9370DB;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #BA55D3;
    -webkit-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite;
}

#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #FF00FF;
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


/*Animate.css*/

@-webkit-keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.fadeOut {
    -webkit-animation-name: fadeOut;
    animation-name: fadeOut;
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}