@import url("https://fonts.googleapis.com/css2?family=Lato:wght@700&display=swap");

body {
    font-family: "Lato", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* font-size: 1rem; */
}

body::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	/* border-radius: 10px; */
	background-color: #000000;
}

body::-webkit-scrollbar
{
	width: 12px;
	background-color: #F5F5F5;
}

body::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #5854548a;
}

body a {
    text-decoration: none;
    color: inherit;
}

html {
    scroll-behavior: smooth;
}

/* HEADER */
header {
    background-color: rgba(37, 115, 141, 0.75);
    color: white;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    position: fixed;
    width: 100%;
    box-shadow: 0px 0px 15px 0px black;
    backdrop-filter: blur(10px);

}

header nav {
    display: flex;
    font-size: 1.25rem;
    margin-right: 20svw;
    /* flex: 5; */
}

header nav a {
    display: flex;
    padding: 15px;
    text-decoration: none;
    color: white;
    text-align: center;
    transition: all ease-in-out 0.25s;
    overflow-y: hidden;
    position: relative;
}

header a:hover {
    /* background-color: rgb(13, 108, 140); */
    color: black;
}

/* HOME */
#home {
    background-image: url(../img/home.jpg);
    background-size: cover;
    /* background-position: center; */
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100svh;
    width: 100%;
}

.home-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100svh;
    width: 100%;
}

.home-content div {
    padding: 0 5vw;
}

.home-content div:first-child {
    flex: 6;
}

.home-content div:last-child {
    flex: 4;
}

.home-content img {
    display: block;
    margin: auto;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0px 0px 15px 0px black;
}

.home-content h1 {
    font-size: 5rem;
    margin: 0;
    padding: 0 0 10px 0;
    color: white;
    text-align: left;
}

.home-content p {
    font-size: 1.5rem;
    margin: 0;
    padding: 20px 0;
    color: white;
    text-align: left;
}

.social-icons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 5px 0;
    margin: 0;
    list-style: none;
}

.social-icons li {
    padding: 0 10px;
}

.social-icons li a {
    color: white;
    font-size: 1.5rem;
    transition: all ease-in-out 0.25s;
}

.social-icons li a:hover {
    color: black;
}

.down-triangle {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 20px;
}

.down-triangle a {
    color: white;
    font-size: 2rem;
    transition: all ease-in-out 0.25s;
}

.down-triangle a:hover {
    color: black;
}

main {
    background-color: black;
    color: white;
}

main section {
    /* pad left right */
    padding: 8svh 10svw 0 10svw;
    display: flex;
    justify-content: start;
    /* text-align: left; */
    /* align-items: center; */
    /* flex-direction: column; */
}

/* ABOUT */
.about {
    /* padding: 100px 0; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.about-content h1 {
    font-size: 2.5rem;
    margin: 0;
    padding: 0 0 2svh 0;
    color: white;
    text-align: start;
    width: 100%;
}

.about-content .about-text {
    width: 100%;
}

.about-content p {
    font-size: 1.25rem;
    margin: 0;
    padding: 10px 0;
    color: white;
    text-align: left;
    line-height: 1.8rem;
}

/* EXPERIENCE */
.experience {
    /* padding: 100px 0; */
    display: flex;
    justify-content: start;
    align-items: center;
}

.experience-content {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: center;
}

.experience-content h1 {
    font-size: 2.5rem;
    margin: 0;
    padding: 0 0 2svh 0;
    color: white;
    text-align: start;
    width: 100%;
}

.experience-content-box {
    display: flex;
    justify-content: start;
    align-items: start;
    width: 100%;
    padding: 2svh 0;
    flex-direction: column;
}

.experience-content-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.experience-content-box h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-align: start;
    margin-top: 0;
    width: 100%;
}

.experience-content-box h4 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.experience-content-box p {
    margin: 0;
    text-align: start;
    font-style: italic;
    margin-bottom: 0.25rem;
    width: 100%;
}

.experience-content-box>ul {
    margin-left: 1rem;
}

.experience-content-box ul ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.experience-content-box ul li {
    margin-bottom: 1rem;
}

.experience-content-box ul li:last-child {
    margin-bottom: 0;
}

.experience-content-box ul li h4 {
    margin-bottom: 0.25rem;
}

.experience-content-box ul li p {
    font-style: italic;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.experience-content-box ul li ul li {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    line-height: 1.5rem;
}


/* SKILLS */

.skills {
    /* padding: 100px 0; */
    display: flex;
    justify-content: start;
    align-items: center;
}

.skills-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.skills-content h1 {
    font-size: 2.5rem;
    margin: 0;
    padding: 0 0 2svh 0;
    color: white;
    text-align: start;
    width: 100%;
}

.skills-content-box {
    display: flex;
    justify-content: start;
    align-items: start;
    width: 100%;
    padding: 1svh 0;
    flex-direction: column;
}

.skills-content-box-left {
    flex: 1;
}

.skills-content-box-right {
    flex: 3;
}

.skills-content-box h2 {
    font-size: 1.5rem;
    margin: 0;
    padding: 0 0 1svh 0;
    color: white;
    text-align: start;
    width: 100%;
}

.skills-content-box p {
    font-size: 1.25rem;
    margin: 1rem 0;
    padding-left: 1rem;
}

/* EDUCATION */

.education {
    /* padding: 100px 0; */
    display: flex;
    justify-content: start;
    align-items: center;
    padding-bottom: 3svh;
}

.education-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.education-content h1 {
    font-size: 2.5rem;
    margin: 0;
    padding: 0 0 2svh 0;
    color: white;
    text-align: start;
    width: 100%;
}

.education-content-box-c {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.education-content-box-c img {
    max-width: 100px;
    max-height: 100px;
    /* width: 10%; */
    flex: 5;
    vertical-align: middle;
    /* height: auto; */
    aspect-ratio: auto 250 / 250;
    margin: 0 auto;
    padding-right: 1rem;
    padding-bottom: 1rem;
}

.education-content-box {
    display: flex;
    flex: 4;
    justify-content: start;
    align-items: start;
    width: 100%;
    padding: 2svh 0;
    flex-direction: column;
}

.education-content-box-left {
    flex: 1;
}

.education-content-box-right {
    flex: 3;
}

.education-content-box h2 {
    font-size: 1.25rem;
    margin: 0;
    padding: 0 0 1svh 0;
    color: white;
    text-align: start;
    width: 100%;
}

.education-content-box p {
    font-size: 1.15rem;
    margin: 0;
    padding: 0 0 2svh 0;
    color: white;
    text-align: start;
    width: 100%;
}

/* CONTACT */

.contact {
    /* padding: 100px 0; */
    display: flex;
    justify-content: start;
    align-items: center;
}

.contact-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-content h1 {
    font-size: 2.5rem;
    margin: 0;
    padding: 0 0 2svh 0;
    color: white;
    text-align: start;
    width: 100%;
}

.contact-content-box {
    display: flex;
    justify-content: start;
    align-items: start;
    width: 100%;
    padding: 2svh 0;
    flex-direction: column;
}

.contact-content-box-left {
    flex: 1;
}

.contact-content-box-right {
    flex: 3;
}

.contact-content-box h2 {
    font-size: 1.5rem;
    margin: 0;
    padding: 0 0 2svh 0;
    color: white;
    text-align: start;
    width: 100%;
}

/* FOOTER */

footer {
    /* background-color: rgba(37, 115, 141, 0.75); */
    color: white;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    /* position: absolute; */
    height: 20svh;
    width: 100%;
    bottom: 0;
    box-shadow: 0px 0px 15px 0px black;
    padding: 5svh 0 1svh 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;

}

footer p {
    font-size: 1rem;
    margin: 0;
    padding: 0;
    color: white;
    text-align: center;
    width: 100%;
    position: relative;
    /* display: inline-block; */
}

/* MEDIA QUERIES */

@media (max-width: 768px) {
    header {
        justify-content: center;
    }

    header nav {
        margin-right: 0;
    }

    header nav a {
        padding: 10px;
    }

    .home-content {
        flex-direction: column;
    }

    .home-content div:first-child {
        flex: 1;
        justify-content: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .home-content div:last-child {
        flex: 1;
    }

    .home-content img {
        width: 75%;
    }

    .home-content h1 {
        font-size: 3rem;
    }

    .home-content p {
        font-size: 1.5rem;
        text-align: center;
    }

    .down-triangle {
        margin-bottom: 10px;
    }

    .down-triangle a {
        font-size: 1.5rem;
    }

    main section {
        padding: 5svh 5svw 0 5svw;
    }

    .about-content h1 {
        font-size: 2rem;
    }

    .about-content p {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .experience-content h1 {
        font-size: 2rem;
    }

    .experience-content-box h3 {
        font-size: 1.25rem;
    }

    .experience-content-box h4 {
        font-size: 1.15rem;
    }

    .experience-content-box p {
        font-size: 1rem;
    }

    .experience-content-box>ul {
        margin-left: 0.5rem;
    }

    .experience-content-box ul ul {
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
    }

    .experience-content-box ul li {
        margin-bottom: 0.5rem;
    }

    .experience-content-box ul li:last-child {
        margin-bottom: 0;
    }

    .experience-content-box ul li h4 {
        margin-bottom: 0.25rem;
    }

    .experience-content-box ul li p {
        font-style: italic;
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .experience-content-box ul li ul li {
        margin-bottom: 0.25rem;
        font-size: 1rem;
        line-height: 1rem;
    }

    .skills-content h1 {
        font-size: 2rem;
    }


    .skills-content-box h2 {
        font-size: 1.25rem;
    }

    .skills-content-box p {
        font-size: 1rem;
        margin: 0.5rem 0;
    }

    .education-content h1 {
        font-size: 2rem;
    }

    .education-content-box h2 {
        font-size: 1rem;
    }

    .education-content-box p {
        font-size: 1rem;
    }



    .contact-content h1 {
        font-size: 2rem;
    }

    .contact-content-box h2 {
        font-size: 1rem;
    }

    footer {
        padding: 1svh 0 1svh 0;
    }

    footer p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    header nav {
        margin-right: 0;
        font-size: 1rem;
    }

    header nav a {
        padding: 10px;
    }

    .home-content {
        flex-direction: column;
    }

    .home-content div:first-child {
        flex: 1;
    }

    .home-content div:last-child {
        flex: 1;
    }

    .home-content img {
        width: 65%;
    }

    .home-content h1 {
        font-size: 2rem;
    }

    .home-content p {
        font-size: 1.15rem;
    }

    .down-triangle {
        margin-bottom: 10px;
    }

    .down-triangle a {
        font-size: 1.5rem;
    }

    main section {
        padding: 5svh 5svw 0 5svw;
    }

    .about-content h1 {
        font-size: 1.5rem;
    }

    .about-content p {
        font-size: 1rem;
    }

    .experience-content h1 {
        font-size: 1.5rem;
    }

    .experience-content-box h3 {
        font-size: 1.25rem;
    }

    .experience-content-box p {
        font-size: 0.75rem;
    }

    .experience-content-box>ul {
        margin-left: 0.5rem;
    }

    .experience-content-box ul ul {
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
    }

    .experience-content-box ul li {
        margin-bottom: 0.5rem;
    }

    .experience-content-box ul li:last-child {
        margin-bottom: 0;
    }

    .experience-content-box ul li h4 {
        margin-bottom: 0.25rem;
    }

    .experience-content-box ul li p {
        font-style: italic;
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .experience-content-box ul li ul li {
        margin-bottom: 0.25rem;
        font-size: 1rem;
        line-height: 1rem;
    }

    .skills-content h1 {
        font-size: 1.5rem;
    }

    .skills-content-box h2 {
        font-size: 1.15rem;
    }

    .skills-content-box p {
        font-size: 1rem;
        margin: 0.5rem 0;
    }

    .education-content h1 {
        font-size: 1.5rem;
    }

    .education-content-box h2 {
        font-size: 1rem;
    }

    .contact-content h1 {
        font-size: 1.5rem;
    }

    .contact-content-box h2 {
        font-size: 1rem;
    }

    footer p {
        font-size: 1rem;
    }
}

@media (max-width: 375px) {
    header nav {
        margin-right: 0;
        font-size: 0.75rem;
    }

    /* 
        header nav a {
        padding: 10px;
        }

        .home-content {
        flex-direction: column;
        }

        .home-content div:first-child {
        flex: 1;
        }

        .home-content div:last-child {
        flex: 1;
        }

        .home-content img {
        width: 50%;
        }

        .home-content h1 {
        font-size: 2rem;
        }

        .home-content p {
        font-size: 1rem;
        }

        .down-triangle {
        margin-bottom: 10px;
        }

        .down-triangle a {
        font-size: 1.5rem;
        }

        main section {
        padding: 5svh 5svw 0 5svw;
        }

        .about-content h1 {
        font-size: 1.5rem;
        }

        .about-content p {
        font-size: 1rem;
        }

        .experience-content h1 {
        font-size: 1.5rem;
        }

        .experience-content-box h3 {
        font-size: 1rem;
        }

        .experience-content-box p {
        font-size: 0.75rem;
        }

        .experience-content-box > ul {
        margin-left: 0.5rem;
        }

        .experience-content-box ul ul {
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
        }

        .experience-content-box ul li {
        margin-bottom: 0.5rem;
        }

        .experience-content-box ul li:last-child {
        margin-bottom: 0;
        }

        .experience-content-box ul li h4 {
        margin-bottom: 0.25rem;
        }

        .experience-content-box ul li p {
        font-style: italic;
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
        }

        .experience-content-box ul li ul li {
        margin-bottom: 0.25rem;
        font-size: 0.75rem;
        line-height: 1rem;
        }

        .skills-content h1 {
        font-size: 1.5rem;
        }

        .skills-content-box h2 {
        font-size: 1
        }

        .education-content h1 {
        font-size: 1.5rem;
        }

        .education-content-box h2 {
        font-size: 1rem;
        }

        .contact-content h1 {
        font-size: 1.5rem;
        }

        .contact-content-box h2 {
        font-size: 1rem;
        }

        footer p {
        font-size: 1rem;
        } */
}




#backtoTop {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #1e5f02;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    /* display: block; */
    /*   width: 100px;
    height: 100px; */
}

#backtoTop:hover {
    background-color: #895c25;
    /* Add a dark-grey background on hover */
    transition: ease 0.5s background-color;
    /* transition: all 0.5s ease-in-out; */
}

#backtoTop .backtoTopRe {
    position: relative;
    width: 30px;
    height: 30px;
    display: block;
}

#backtoTop .backtoTopRe .fa-arrow-up {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.rainbow_animated {
    background: linear-gradient(to right, #6666ff, #0099ff, #00ff00, #ff3399, #6666ff);
    animation: rainbow_animation 10s ease-in-out infinite;
    background-size: 400% 100%;
}

@keyframes rainbow_animation {

    0%,
    100% {
        background-position: 0 0;
    }

    50% {
        background-position: 100% 0;
    }
}

.active {
    color: black !important;
}