:root {
    --lwhite: #f5f6fa;
    --dwhite: #dcdde1;
    --lred: #e84118;
    --dred: #c23616;
    --lgray: #7f8fa6;
    --dgray: #718093;
    --lblack: #353b48;
    --dblack: #2f3640;
    --lgreen: #4cd137;
    --dgreen: #44bd32;
    --lyellow: #fbc531;
    --dyellow: #e1b12c;
    --lpurple: #9c88ff;
    --dpurple: #8c7ae6;
    --lblue: #00a8ff;
    --dblue: #0097e6;
    --lgrayblue: #487eb0;
    --dgrayblue: #40739e;
    --ldarkblue: #273c75;
    --ddarkblue: #192a56;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* scroll-behavior: smooth; */


}

h1,
h2,
h3,
h4,
h5 {
    font-family: Sansita Swashed;
    text-align: center;
    justify-content: center;

    margin: 5px;
}

.ana {
    max-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(100deg, var(--dgrayblue), var(--ldarkblue), var(--dgrayblue), var(--dgrayblue));
    position: relative;
}

nav {
    position: fixed;
    height: 2.5rem;
    width: 100%;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    z-index: 3;
}

nav ul {
    list-style: none;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;






}

nav ul li {
    margin: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 2px outset var(--dgrayblue);
    border-radius: 5px;
    cursor: pointer;
    /* background-image: linear-gradient(135deg, var(--lwhite), var(--dgray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    background: var(--dwhite);
    color: var(--lblack);
}

nav ul li:hover {
    background: var(--lblack);
    color: var(--dwhite);
    text-align: center;

}

nav ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    width: 100%;
    height: 100%;


}

nav ul li a:visited {
    color: unset;
}

nav ul li a:link {
    color: unset;
}






.profilcard {

    display: flex;
    position: relative;

    width: 17em;
    height: 19em;
    margin: 5em auto;
    justify-content: center;
    border: 3px inset var(--ddarkblue);


}

.profilcard:hover {
    border: 4px var(--ddarkblue) outset;
    width: 17rem;
    height: 21rem;


}

.profilimg {
    /** anibtn*/
    position: relative;
    width: 7em;
    height: 7em;
    margin-top: -15%;



}

.profilimg:hover {
    filter: grayscale(0.7);


}

.profilimg span {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, var(--ldarkblue), var(--ddarkblue));
    overflow: hidden;


}

.profilimg span::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3em;
    height: 10em;
    background: linear-gradient(90deg, var(--dred), var(--lwhite), var(--dyellow), var(--dyellow));
    animation: animate 8s linear infinite;
}

@keyframes animate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.profilimg span::after {
    content: '';
    position: absolute;
    inset: 4px;
    background-color: transparent;

}

.profilimg img {
    position: absolute;
    padding: 2px;
    height: 100%;
    width: 100%;


}

.in {
    display: flex;
    position: absolute;
    overflow-y: hidden;
    height: 100%
}

.profilecontent {
    transform: translate(0%, 25%);
    color: var(--dwhite);
    text-align: center;


}

.profilecontent ul {
    padding: 5px;
    list-style-type: none;
    text-align: center;
    color: var(--lwhite);
    font-weight: lighter;
    font-size: small;
    border: 3px inset var(--dgrayblue);
    font-family: monospace;
    font-size: medium;
    margin: 1px 3px 1px 3px;
    background-image: linear-gradient(135deg, var(--ddarkblue), var(--dgrayblue));
}

.profilecontent ul li {
    border-bottom: 1px solid var(--lwhite);
}

.aboutme {
    display: block;
    padding: 17px;
    font-size: x-large;
    color: var(--dwhite);
    margin: auto;
    text-align: justify;
}

.aboutme img {

    padding: 17px;
    width: 25%;
    height: auto;
    float: right;

}

footer {
    background-image: linear-gradient(45deg, var(--dgrayblue), var(--ddarkblue), var(--dgrayblue), var(--ddarkblue));
    display: flex;
    flex-direction: column;
    height: 10rem;
    width: 100%;
    border: 1px solid;
    align-items: center;
    justify-content: center;
    justify-items: center;
    bottom: 0;
    padding: 7px;
    margin-top: 50px;

}

footer p {
    max-width: 95%;
    padding: 5px;
    color: var(--dwhite);

}

footer a {
    text-decoration: none;
    min-width: 4em;
    padding: 7px;
    margin: 5px;
    background-image: linear-gradient(0deg, var(--dgray), var(--ddarkblue), var(--dgray));
    color: var(--dwhite);
}


/* Timeline */

.timeline {
    position: relative;
    width: 100%;
    margin: 20px auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--dwhite);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

/* Container around content */
.container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The circles on the timeline */
.container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: var(--lwhite);
    border: 4px solid var(--lyellow);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

/* Place the container to the left */
.left {
    left: 0;
}

/* Place the container to the right */
.right {
    left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--dwhite);
}

/* Add arrows to the right container (pointing left) */
.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--dwhite) transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
    left: -16px;
}

/* The actual content */
.content {

    padding: 20px 30px;
    background-color: var(--dwhite);
    position: relative;
    border-radius: 6px;

}



.content img {
    width: 80%;
    height: 22rem;
    border-radius: 10px;
    max-height: fit-content;
    margin: 5px auto;
}

.slideshow-container {
    width: 100%;
    height: 90vh;
    overflow: hidden;
    /* padding: 15px; */
    position: relative;
}

.slide {
    width: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    height: 95%;
}

.slide img {
    max-width: 100%;
    height: 90%;
    margin: auto;
}

#prevButton,
#nextButton {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--dwhite);
    color: var(--dgrayblue);
    font-weight: bolder;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

#prevButton {
    left: 10px;
}

#nextButton {
    right: 10px;
}

.slideshow-container,
.slide img,
#prevButton,
#nextButton {
    border-radius: 5px;
}

