/* Style file */
/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Mochiy+Pop+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mochiy+Pop+One&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* General */
body {
    scroll-behavior: smooth;
    box-sizing: border-box;
    background: #F9F9F9;
}

em {
    font-style: italic;
    color: #9164BE
}

strong {
    font-weight: 700;
    color: #9164BE
}

* {
    font-family: 'Poppins', sans-serif;

}

/* Texts */
h1,
h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Mochiy Pop One', fantasy;
}

h1,
h2,
.h3,
.h4,
.h5,
.h6,
.subtitle {
    color: #9164BE;
}

.h5,
.h6 {
    color: #FFFFFF;
}

h1,
h2,
.h5,
.h6,
.subtitle {
    font-weight: 500;
}

.h5,
.subtitle {
    font-size: 110%;
}

h1 {
    font-size: 177%;
    white-space: nowrap;
}

h2 {
    font-size: 150%;
}

.h3 {
    font-size: 120%;
    font-weight: 500;
}

.h4 {
    display: inline-block;
    font-weight: 500;
    margin-top: 9px;
}

.h5 {
    display: inline-block;
    margin-top: 6px;
}

.h6 {
    display: inline-block;
    font-size: 92%;
    margin-top: -3px;
}

.subtitle {
    margin-top: 3%;
}

* body,
h1 {
    margin: 0;
}

.flex {
    display: flex;
}

.button,
.software {
    cursor: pointer;
}

/* Nav */
nav {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    grid-auto-columns: auto;
    justify-content: start;
    align-content: center;
    column-gap: 10px;
    height: 134px;
}

nav a {
    text-decoration: none;
    font-family: 'Mochiy Pop One', Impact, fantasy;
    font-size: 28px;
    color: #F9F9F9;
    background: #9164BE;
    border: 3.5px solid #9164BE;
    padding: 6px 13px 5px 13px;
    border-radius: 0.5em;
    user-select: none;
    transition: 0.25s;
    box-shadow: 0px 0px 15px 0px rgba(132, 0, 117, 0.15);
}

nav a.active {
    color: #9164BE;
    background: white;
    border-color: #9164BE;
}

/* Nav - Responsive */
.h-apolline-full,
.h-works-full,
.h-cv-full {
    display: none;
    white-space: nowrap;
}

.h-apolline-short {
    display: inline-block;
}

.h-works-short,
.h-cv-short {
    display: inline-block;
}

.h-apolline-full,
.h-apolline-short {
    grid-column: 1/2;
}

.h-works-full,
.h-works-short {
    grid-column: 2/3;
}

.h-cv-full,
.h-cv-short {
    grid-column: 3/4;
}

@media (max-width: 460px) {

    nav {
        margin-right: 10vw;
    }

    nav a {
        font-size: 22px;
        border: 1.5px solid #9164be;
        padding: 3px 6px 3px 6px;
    }
}

@media (min-width: 640px) {
    nav {
        column-gap: 20px;
        margin-right: 15%;
        margin-left: 15%;
    }

    nav a {
        padding: 5px 20px 5px 20px;
    }

    nav a:hover {
        padding: 5px 20px 5px 20px;
    }
}

@media (min-width: 1024px) {
    .h-apolline-short {
        display: none;
    }

    .h-apolline-full {
        display: inline-block;
    }
}

@media (min-width: 1266px) {

    .h-works-full,
    .h-cv-full {
        display: inline-block;
    }

    .h-works-short,
    .h-cv-short {
        display: none;
    }
}

/* Section 1 */
#section1 {
    background-color: #F0E1FE;
}

#elements1 {
    padding-top: 10%;
}

/* Section 1 - Identity */
.profile {
    margin: 9%;
}

#search {
    font-weight: 500;
    margin-top: -5%;
    margin-bottom: 2%;
    margin-left: 14%;
    margin-right: 9%;
}

#contact {
    margin-top: 4%;
    margin-bottom: 10%;
    margin-left: 12%;
    margin-right: 12%;
}

.details {
    padding: 4%;
}

/* Section 1 - Buttons and social media */
#download {
    width: fit-content;
    margin-top: 8%;
}

#button-text {
    padding-top: 8%;
    padding-left: 10px;
}

.button {
    color: #FFFFFF;
    background-color: #324DDA;
    font-size: 103%;
    width: 80%;
    height: 60px;
    margin-bottom: 7%;
    margin-left: 8%;
    padding-left: 44px;
    border-color: #FFFFFF;
    border-style: solid;
    border-radius: 30px;
    border-width: 2px;
    box-shadow: -1px 2px 4px #000000;
}


.button:hover {
    background-color: #000099;
    margin-left: 8%;
    padding-left: 44px;
    border-color: #FFFFFF;
    border-style: solid;
    border-radius: 30px;
    border-width: 2px;
    box-shadow: -1px 2px 6px #000000;
}

.social-media {
    margin-top: 30%;
    margin-left: 35%;
    padding: 7px;
}

#social-media-description1 {
    margin-top: -1%;
    margin-left: 12.5%;
}

#social-media-description2 {
    margin-top: -1%;
    margin-left: 7%;
}

#social-media-description3 {
    margin-top: -1%;
    margin-left: 7%;
}

/* Section 1 - Interests */
.title {
    padding-top: 14%;
    margin-top: 10%;
}

#interests {
    padding-top: 10%;
    margin-left: 7%;
}

/* Section 2 - Column 1 */
.section2 {
    align-self: stretch;
    height: auto;
    padding: 2%;
}

#elements2 {
    padding-top: 5%;
    padding-left: 4%;
}

.experience-part {
    margin-top: 4%;
    padding: 0;
}

.experience {
    margin-bottom: -2%;
}

.year {
    background-color: #9164BE;
    color: #FFFFFF;
    width: 8%;
    height: 8%;
    padding: 5px 10px;
    border-style: solid;
    border-radius: 25px;
    border-width: 0px;
    text-align: center;
}

.description {
    margin-left: 3%;
    padding-bottom: 2%;
}

.padding-top {
    padding-top: 12%;
}

.padding-top2 {
    padding-top: 36%;
}

/* Section 2 - Collapsible education and experiences */
input[type='checkbox'] {
    display: none;
}

.collapsible {
    margin-top: 5%;
    margin-bottom: 2%;
}

.frame {
    cursor: pointer;
    background-color: #F0E1FE;
    display: flex;
    border-color: black;
    border-style: solid;
    border-top-right-radius: 35px;
    border-top-left-radius: 35px;
    border-width: 3px;
    padding: 10px 15px;
}

.frame:hover {
    color: #300a57;
}

.frame:after {
    content: ' ';
    display: inline-block;
    width: 1%;
    height: 20%;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 2%;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #45107b;
    transform: translateY(-2px);
}

.arrow:checked+.frame::after {
    transform: rotate(90deg) translateX(-3px);
}

.collapsible-content {
    max-height: 0px;
    overflow: hidden;
    transition: 1s ease-in-out;
}

.arrow:checked+.frame+.collapsible-content {
    max-height: 350px;
}

.arrow:checked+.frame {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.collapsible-content .content {
    background: #FFFFFF;
    padding: 2%;
    border-bottom: 3px solid #000000;
    border-right: 3px solid #000000;
    border-left: 3px solid #000000;
    border-bottom-left-radius: 35px;
    border-bottom-right-radius: 35px;
}

.collapsible-content p {
    margin-bottom: 0;
}

.container {
    margin-top: 1%;
    margin-bottom: 2%;
    margin-left: 2%;
    width: 100%;
}

/* Section 2 - Column 2 */
#section3 {
    padding-top: 4%;
    padding-left: 5%;
}

#info {
    color: #9164BE;
    font-weight: 400;
    margin-bottom: 15%;
}

/* Section 2 - Hovering software and languages */
.software {
    opacity: 70%;
}

.software:hover {
    opacity: 100%;
}

.tooltip {
    display: inline-block;
    position: relative;
}

.tooltip .tooltiptext {
    visibility: hidden;
    background-color: #45107b;
    color: #FFFFFF;
    position: absolute;
    z-index: 1;
    width: 150px;
    width: 120px;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
    padding: 15px 15px;
    border-radius: 6px;
    box-shadow: 1px 1px 1px 1px #b0b0b0;
    text-align: center;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

#office {
    background-color: #e7d9f4;
    color: #7544A7;
    font-weight: 600;
    width: 70%;
    padding: 4%;
    border-width: 0px;
    border-style: solid;
    border-radius: 25px;
    box-shadow: 1px 1px 1px 1px #b0b0b0;
    text-align: center;
    justify-content: space-evenly;
    align-content: stretch;
}

.tablestyle {
    text-align: left;
    padding-left: 8%;
}

.tdstyle {
    text-align: right;
    padding-left: 8%;
}

@media (max-width: 750px) {
    #cv {
        flex-direction: column;
    }

    .section2 {
        flex-direction: column;
    }

    .year,
    .container {
        width: 100%;
        display: block;
    }

    .frame {
        flex-wrap: wrap;
    }

    .padding-top2 {
        text-align: center;
    }

    #office {
        width: auto;
    }
}

@media (max-width: 1024px) {

    .h5,
    .h6 {
        font-size: 10px;
    }
}

/* Footer */
.main-top-button {
    display: flex;
    justify-content: flex-end;
}

#main-top {
    background-color: #9164BE;
    color: white;
    width: 90px;
    height: 70px;
    border-radius: 10px;
    font-family: 'Mochiy Pop One', fantasy;
    font-size: 26px;
    text-decoration: none;
    text-align: center;
    line-height: 70px;
    margin-top: 5%;
    margin-bottom: 5%;
    margin-left: 40%;
}

#main-top:hover {
    background-color: #694989;
}

.top-button.visible {
    display: block;
}

footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 75px;
    margin-top: 30px;
    margin-right: -10px;
}

.copyright {
    display: grid;
    text-align: center;
    justify-self: center;
    font-style: italic;
}

.copyright>p {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    margin-right: 10px;
    grid-column: 1;
    grid-row: 1;
}

.copyright>img {
    height: 40px;
    grid-column: 2;
    grid-row: 1;
}

.main-top-button2 {
    display: flex;
    justify-content: flex-end;
}

#main-top2 {
    background-color: #9164BE;
    color: white;
    width: 90px;
    height: 70px;
    border-radius: 10px;
    font-family: 'Mochiy Pop One', fantasy;
    font-size: 26px;
    text-decoration: none;
    text-align: center;
    line-height: 70px;
    margin-top: 5%;
    margin-bottom: 5%;
    margin-left: 40%;
}

#main-top2:hover {
    background-color: #694989;
}

.top-button2.visible {
    display: block;
}

.footer2 {
    display: inline-block;
    justify-content: flex-end;
    align-self: flex-end;
    height: 75px;
    margin-top: 30px;
    margin-right: -10px;
}

.copyright2 {
    display: grid;
    text-align: center;
    justify-self: center;
    font-style: italic;
}

.copyright2>p {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    margin-right: 10px;
    grid-column: 1;
    grid-row: 1;
}

.copyright2>img {
    height: 40px;
    grid-column: 2;
    grid-row: 1;
}

.footer2,
.copyright2,
#main-top2,
#main-top-button2,
.top-button2 {
    display: none;
}

/* Footer - Responsive */
@media (max-width: 900px) {

    .copyright {
        text-align: right;
        justify-self: end;
        align-self: end;
        grid-column: -2/-1;
        grid-row: 1/-1
    }

    footer,
    .copyright,
    #main-top,
    #main-top-button,
    .top-button {
        display: none;
    }

    .footer2,
    .copyright2,
    #main-top2,
    #main-top-button2,
    .top-button2 {
        display: inline-block;
    }
}

/* Loader */

.loader-container {
    position: absolute;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    background-color: #f9f9f9;
    z-index: 999;
    left: 0;
    top: 0;
}

.loader {
    display: flex;
    box-sizing: border-box;
    z-index: 999;
}

.loader:before {
    content: "";
    margin: auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #9164be;
    background: currentColor;
    box-shadow: -30px 0, 30px 0, 0 30px, 0 -30px;
    animation: l6 1s infinite alternate;
}

@keyframes l6 {

    90%,
    100% {
        box-shadow: -10px 0, 10px 0, 0 10px, 0 -10px;
        transform: rotate(180deg)
    }
}