@tailwind/base;
@tailwind/components;
@tailwind/utilities;

@font-face {
    font-family: 'licensi-font';
    src: url('fonts/licensi.otf') format('truetype')
}

body {
    font-family: "Montserrat", sans-serif;
    font-family: "Noto Sans", sans-serif;
    color: #e8e8e8;
}

p {
    font-weight: 300;
}

h1 {
    font-size: 42px;
}

h2 {
    font-size: 34px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 14px;
    font-weight: 500;
}

h6 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.me-secondary {
    font-family: 'Licensi-font';
}

.me-bg {
    background: rgb(0, 0, 153);
    background: linear-gradient(180deg, rgba(29, 29, 72, 1) 0%, rgb(20 20 58) 36%, rgb(4 23 36) 100%);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
}

a.me-color {
    transition: 0.3s;
}

a.me-color:hover {
    color: #7fdbff !important;
}

.ps-secondary-color {
    background-color: #7fdbff;
}

.selected {
    background-color: white;
    color: #172554;
}

.me-hidden {
    opacity: 0;
}

.me-visible {
    opacity: 1;
    transition: opacity 1s ease-out;
}


.me-back-image {
    position: absolute;
    top: 10%;
    /*right: -5%;*/
    overflow: hidden;
    opacity: 0.3;
    height: 35%;
}

.shadow-me {
    box-shadow: rgb(148 124 236 / 25%) 0px 25px 50px -12px;
    border-radius: 20px;
}

/* ACCORDION GRID */

/* The grid: Three equal columns that floats next to each other */
.column {
    float: left;
    padding: 20%;
    text-align: center;
    font-size: 25px;
    cursor: pointer;
    color: white;
}

.containerTab {
    padding: 20px 40px 40px 40px;
    color: white;
    transition: opacity 0.5s ease;
    position: relative;
    border-radius: 10px;
}

.containerTab p {
    font-weight: 300;
}


/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Closable button inside the image */
.closebtn {
    float: right;
    color: white;
    font-size: 16px;
    cursor: pointer;
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #172554;
    padding: 5px 20px;
    border-radius: 20px 0px;
    transition: border-radius 0.3s ease;
}

.closebtn:hover {
    border-radius: 20px 0px;
}


/*extra accordion column classes*/

.exp-4 p {
    position: absolute;
    bottom: -44px;
    left: 0;
    color: white;
    padding: 10px 40px;
    background: rgb(3, 35, 89);
    font-size: 16px;
    border-radius: 20px 20px;
    /*width: -webkit-fill-available;*/
}

.radius-me {
    border-radius: 20px;
}

.aegeo-ping-bg {
    background-color: #B8DA89FF;
}

/* SHOW MORE CSS */

.show-more-btn {
    transition: 0.3s ease;
}

.show-more-btn:hover {
    color: #7fdbff;
}

/* boxes lg */
.skyrim:before {
    content: '';
    position: absolute;
    background-color: #0d6efd;
    width: 40%;
    height: 18%;
    top: 30%;
    left: 35%;
    z-index: -1;
    border-radius: 8px;
    opacity: .045;
    -webkit-animation: skyrim 70s linear infinite, skyrimY 70s alternate infinite;
    transform: translateX(4rem);
}

.skyrim:after {
    content: '';
    position: absolute;
    background-color: #0d6efd;
    width: 32%;
    height: 28%;
    top: 70%;
    left: 13%;
    z-index: -1;
    border-radius: 8px;
    opacity: .045;
    -webkit-animation: skyrim2 50s linear infinite;
    transform: translateX(4rem);
}

@media only screen and (min-width: 1024px) {
    .skyrim3:before {
        content: '';
        position: absolute;
        background-color: #0d6efd;
        width: 400px;
        height: 350px;
        top: 30%;
        left: 53%;
        z-index: -1;
        border-radius: 8px;
        opacity: .045;
        -webkit-animation: skyrim 90s linear infinite;
        transform: translateX(4rem);
    }
}

/* boxes sm */
@media only screen and (min-width: 1024px) {
    .skyrim:before {
        content: '';
        position: absolute;
        background-color: #0d6efd;
        width: 400px;
        height: 350px;
        top: 30%;
        left: 53%;
        z-index: -1;
        border-radius: 8px;
        opacity: .045;
        -webkit-animation: skyrim 70s linear infinite, skyrimY 70s alternate infinite;
        transform: translateX(4rem);
    }
}

@media only screen and (min-width: 1024px) {
    .skyrim3:before {
        content: '';
        position: absolute;
        background-color: #0d6efd;
        width: 400px;
        height: 350px;
        top: 30%;
        left: 53%;
        z-index: -1;
        border-radius: 8px;
        opacity: .045;
        -webkit-animation: skyrim 90s linear infinite;
        transform: translateX(4rem);
    }
}

.skyrim4:before {
    content: url("/img/skyrim.png");
    position: absolute;
    top: 50%;
    left: 53%;
    z-index: -1;
    border-radius: 8px;
    opacity: .045;
    -webkit-animation: skyrim2 90s linear infinite;
    transform: translateX(4rem);
}


@-webkit-keyframes skyrim {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes skyrimY {
    from {
        top: 30%;
    }
    to {
        top: 80%;
    }
}

@-webkit-keyframes skyrim2 {
    from {
        -webkit-transform: rotate(180deg);
    }
    to {
        -webkit-transform: rotate(0deg);
    }
}

/* about me borders*/

.me-borders-r {
    border-right: 1px solid rgba(232, 232, 232, 0.5);
}
@media only screen and (max-width: 768px) {
    .me-borders-r {
        border-right: none;
    }
}
.me-borders-l {
    border-left: 1px solid rgba(232, 232, 232, 0.5);
}
@media only screen and (max-width: 768px) {
    .me-borders-l {
        border-left: none;
    }
}
.experiences-image {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto;
}

.experiences-scale {
    transition: 0.5s ease;
    opacity: 72%;
}

.experiences-scale:hover {
    opacity: 100%;
}

.involvements-links a {
    font-weight: 600;
    transition: transform 0.9s ease;
}

.involvements-links a:hover {
    text-decoration: underline;
}


html {
    scroll-behavior: smooth;
}

[data-title] {
    position: relative;
    cursor: help;
    transition: opacity 1s;
}

[data-title]:hover::before {
    content: attr(data-title);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: inline-block;
    padding: 20px;
    background: #251754;
    color: #fff;
    font-size: 16px;
    font-family: sans-serif;
    border-radius: 10px;
    opacity: 0;

}

[data-title]:hover:before {
    opacity: 1;

}

@media only screen and (max-width: 768px) {
    [data-title]:hover::before {
        content: attr(data-title);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: inline-block;
        padding: 10px;
        background: #251754;
        color: #fff;
        font-size: 13px;
        font-family: sans-serif;
        /*white-space: nowrap;*/
        border-radius: 10px;
        opacity: 0;
        transition: opacity 2s ease !important;
    }
}

.me-border-mob {
    border: 1px solid rgba(253,253,253,0.5);
    border-radius: 10px;
}

#back2Top {
    width: 40px;
    line-height: 40px;
    border-radius: 10px;
    overflow: hidden;
    z-index: 999;
    display: none;
    cursor: pointer;
    -moz-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
    position: fixed;
    bottom: 50px;
    right: 30px;
    background-color: #172554;
    border: 1px solid #172554;
    color: #fff;
    text-align: center;
    font-size: 20px;
    text-decoration: none;
}
#back2Top:hover {
    color: #FFFFFF;
    border: 1px solid;
}