:root {
    --primary-color: #A58061;
    --secondary-color: #503D36;
    --white: #f5f5f5;
    --black: #070706;
    --test-border: 5px solid;
    --fontOne: 'Handlee';
    --fontTwo: 'Pacifico';
}

html {
    scroll-behavior: smooth;
}

.loadingScreen {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--white);
    z-index: 100000;
    text-align: center;
}

.loadingScreen h1 {
    color: var(--secondary-color);
    font-size: 7rem;
    font-family: var(--fontTwo);
    padding: 2rem 0;
}

.loadingScreen p {
    color: var(--secondary-color);
    font-family: var(--fontOne);
    margin-bottom: 4rem;
}

.loadingScreen a {
    color: var(--white);
    font-family: var(--fontOne);
    background-color: var(--secondary-color);
    padding: 1rem 2rem;
    text-align: center;
    text-decoration: none;
    transition: 0.1s linear;
}

.loadingScreen a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}


main .burger {
    color: var(--secondary-color);
    font-size: 3.5vw;
    padding: 1.5rem;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    z-index: 2;
}

.overlayNav .cross {
    display: flex;
    justify-content: end;
    padding: 2vw 3.5vw;
    padding-bottom: 0;
    font-size: 2.5vw;
    color: var(--secondary-color);
    cursor: pointer;
}

.overlayNav {
    height: 100vh;
    background-color: var(--white);
    display: none;
    width: 100%;
    position: absolute;
    z-index: 3;
    transition: 0.2s ease-in-out;
}

.overlayBackgroundImg img {
    width: 100%;
    height: auto;
}

.overlayNav ul {
    list-style: none;
    font-size: 7vw;
}

.overlayNav li {
    padding: 1rem;
}

.overlayNav a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: bold;
    padding: 1rem 2rem;
    font-family: var(--fontOne);
    transition: 0.2s ease-in-out;
    border-radius: 2rem;
}

.overlayNav a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.homepage {
    width: 100%;
    min-height: 100vh;
    background-image: url('../gallery/wallpapers/Beige\ Minimalist\ Wallpaper.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.detailsPart {
    display: flex;
    justify-content: center;
    align-items: center;
}

.detailsPart article {
    padding: 3rem;
}

.detailsPart article p {
    font-size: 1.4rem;
    font-family: var(--fontOne);
    min-height: 10rem;
}

.typed-cursor {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.detailsPart article strong {
    color: var(--secondary-color);
}

.detailsPart article i {
    margin-right: 0.5rem;
}

.detailsPart article .resume {
    border: 2px solid var(--secondary-color);
    padding: 0.7rem 2rem;
    font-size: 1.2rem;
    width: 2rem;
    text-decoration: none;
    color: var(--secondary-color);
    transition: 0.2s linear;
    font-family: var(--fontOne);
}

.detailsPart article a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--white);
}

.detailsPart h1 {
    font-size: 5rem;
    font-family: var(--fontTwo);
}

.backgroundImg {
    display: flex;
    justify-content: center;
    align-items: center;
}

.backgroundImg img {
    width: 100%;
    height: auto;
}

.seperator {
    width: 100%;
    height: 10rem;
    background-color: var(--secondary-color);
    position: relative;
}

.secondPage {
    min-height: 40vh;
    width: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
}

.secondPage h1 {
    font-family: var(--fontOne);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 5rem;
}

.secondPage .options {
    text-align: center;
    font-family: var(--fontOne);
}

.secondPage .options span {
    padding: 0 1rem;
}

.secondPage .options a {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1rem 3rem;
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.2s ease-in-out;
}

.secondPage .options a:hover {
    background-color: var(--primary-color);
}

.secondPage img {
    width: 100%;
    height: auto;
}

.aboutme {
    width: 100%;
    min-height: 100vh;
    background-image: url('../gallery/wallpapers/wallpaper3.jpg');
    background-size: cover;
    display: flex;
    align-items: center;
    text-align: center;
    background-attachment: fixed;
}

.aboutme .aboutText {
    display: flex;
    justify-content: center;
    align-items: center;
}

.aboutme .backgroundImg img {
    width: 100%;
    height: auto;
}

.aboutme article {
    margin: 0 2rem;
    background-color: var(--white);
    border-radius: 2rem;
    padding: 2rem;
    text-align: left;
}

.aboutme article h1 {
    font-family: var(--fontTwo);
    margin-bottom: 2rem;
}

.aboutme article p {
    font-family: var(--fontOne);
    margin-bottom: 2rem;
}

.aboutme article p a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: 0.2s linear;
}

.aboutme article .abtn {
    text-decoration: none;
    font-family: var(--fontOne);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 1rem;
    padding: 0.5rem 2rem;
    transition: 0.1s linear;
}

.aboutme article .abtn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.aboutme .imgHeader {
    font-family: var(--fontTwo);
    margin-top: 3rem;
    font-size: 3rem;
}

.aboutme .aboutImg img {
    width: auto;
    height: 7rem;
    padding: 1rem;
    margin: 1rem;
    background-color: var(--white);
    border: 1px solid var(--secondary-color);
    border-radius: 1rem;
}

.aboutme .aboutImg .myImgOverlay {
    position: relative;
    cursor: default;
    height: auto;
    width: auto;
    margin: 0.5rem;
}

.aboutme .aboutImg .myImgOverlay .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: 0.5s ease-in-out;
    background-color: var(--secondary-color);
    border-radius: 2rem;
}

.aboutme .aboutImg .myImgOverlay:hover .overlay {
    opacity: 1;
}

.aboutme .aboutImg .myImgOverlay .overlay .text {
    font-size: 1.2rem;
    color: var(--white);
    font-family: var(--fontOne);
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.lastContainer {
    height: 50vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.lastContainer article h1 {
    font-family: var(--fontOne);
    margin-bottom: 3rem;
}

.lastContainer article a {
    text-decoration: none;
    border: 1px solid var(--secondary-color);
    padding: 1rem 2rem;
    border-radius: 1rem;
    color: var(--secondary-color);
    font-family: var(--fontOne);
    transition: 0.2s ease-in-out;
}

.lastContainer article a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.projectpage {
    width: 100%;
    min-height: 100vh;
    background-color: var(--white);
    background-image: url('../gallery/wallpapers/Beige\ Minimalist\ Wallpaper.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.projectpage .heading {
    font-size: 5rem;
    font-family: var(--fontTwo);
    margin-top: 3rem;
    text-align: center;
}

.projectpage .articleContainer {
    margin-top: 5rem;
}

.projectpage .articleContainer a {
    text-decoration: none;
    color: var(--primary-color);
}

.projectpage article {
    margin: 2rem 0 2rem 5rem;
}

.projectpage article h2 {
    font-family: var(--fontOne);
    margin-bottom: 3rem;
}

.projectpage article .githublink {
    text-decoration: none;
    color: var(--primary-color);
}

.projectpage article .getStarted {
    color: var(--white);
    background-color: var(--secondary-color);
    padding: 1rem 2rem;
    font-family: var(--fontOne);
    text-decoration: none;
    border-radius: 1rem;
    transition: 0.2s ease-in-out;
    font-size: 1.3rem;
}

.projectpage article .getStarted:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.projectpage .imgContainer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.projectpage img {
    width: auto;
    height: 70vh;
}

.myProjects {
    background-image: url('../gallery/wallpapers/download.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
}

.myProjectCards {
    max-width: 30vh;
    min-height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.myProjectCards .card {
    height: 90%;
    width: 100%;
    margin: 1rem;
    padding: 1rem 2rem;
    border: 2px solid var(--secondary-color);
    border-radius: 1rem;
    background-color: #f5f5f5de;
    color: var(--secondary-color);
    box-shadow: 2px 2px 2px var(--primary-color);
    transition: 0.2s linear;
}

.myProjectCards .card:hover {
    box-shadow: 10px 10px 10px var(--primary-color);
    scale: 1.03;
    background-color: var(--white);
}

.myProjectCards .card h1 {
    font-family: var(--fontOne);
    font-size: 3rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.myProjectCards .card p {
    font-family: var(--fontOne);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.myProjectCards .projectImg {
    display: flex;
    justify-content: center;
    align-items: center;
}

.myProjectCards .projectImg img {
    width: 50vh;
    height: auto;
}

.myProjectCards .card .bottomPart {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    border-bottom-left-radius: 0.7rem;
    border-bottom-right-radius: 0.7rem;
    width: 100%;
    height: 3rem;
    padding: 0.6rem 1.5rem;
    font-family: var(--fontOne);
}

.myProjectCards .card .bottomPart a {
    text-decoration: none;
    color: var(--white);
    font-size: 1.2rem;
}

.certificatePage {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    background-image: url("../gallery/wallpapers/Beige\ Minimalist\ Wallpaper.png");
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.certificatePage img {
    width: auto;
    height: 100vh;
}

.certificates {
    min-height: 100vh;
    background-image: url("../gallery/wallpapers/download.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
}

.certificate {
    position: relative;
    height: auto;
    width: 100%;
    padding: 1rem;
}

.certificate .overlayDownload {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: start;
    align-items: end;
    padding: 2rem;
    opacity: 0;
    transition: 0.2s ease-in-out;
}

.certificate .overlayDownload i {
    font-size: 1.2rem;
    padding-right: 0.5rem;
}

.certificate .overlayDownload a {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 1rem;
    font-family: var(--fontOne);
    font-size: 1.2rem;
    text-decoration: none;
    transition: 0.2s ease-in-out;
    margin: 0 0.5rem;
}

.certificate .overlayDownload:hover {
    opacity: 1;
    box-shadow: 0px 0px 20px var(--primary-color);
}

.certificate .overlayDownload a:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

.certificate img {
    height: auto;
    width: 100%;
}


@media screen and (max-width: 1000px) {
    .loadingScreen p {
        font-size: 1.5rem;
    }

    .loadingScreen a {
        font-size: 1.2rem;
    }

    main .burger {
        right: 0;
        left: auto;
        font-size: 4rem;
    }

    .overlayNav .cross {
        font-size: 4rem;
        padding: 4rem;
    }

    .overlayNav a {
        font-size: 5rem;
        padding-left: 1rem;
    }

    .homepage {
        justify-content: end;
    }

    .detailsPart article {
        margin-top: 5rem;
    }

    .detailsPart h1 {
        font-size: 6rem;
    }

    .detailsPart article p {
        font-size: 2rem;
    }

    .detailsPart article .resume {
        font-size: 2rem;
    }

    .backgroundImg {
        align-items: end;
    }

    .seperator {
        height: 6rem;
    }

    .secondPage h1 {
        font-size: 3rem;
    }

    .secondPage .options a {
        padding: 1rem;
    }

    .aboutme {
        min-height: 50vh;
    }

    .aboutme .aboutText {
        margin: 4rem 0;
    }

    .aboutme .aboutText article h1 {
        font-size: 4rem;
    }

    .aboutme .aboutText article p {
        font-size: 2rem;
    }

    .aboutme .aboutText article .abtn {
        font-size: 2rem;
    }

    .aboutme .imgHeader {
        font-size: 4rem;
    }

    .aboutme .aboutImg {
        justify-content: center;
    }

    .aboutme .aboutImg img {
        height: 9rem;
    }

    .projectpage .heading {
        margin: 3rem 0 0 0;
    }

    .projectpage .articleContainer article {
        margin: 1rem;
    }

    .myProjectCards {
        min-height: 40vh;
    }

    .myProjectCards .card {
        padding: 2rem;
    }

    .myProjectCards .projectImg img {
        width: 20vh;
    }

    .certificate .overlayDownload a {
        font-size: 1.5rem;
        padding: 1.5rem;
        margin: 0rem;
    }

    .certificate .overlayDownload i {
        font-size: 1.5rem;
    }

    .certificate .overlayDownload {
        opacity: 1;
    }
}

@media screen and (max-width: 600px) {
    .loadingScreen h1 {
        font-size: 3rem;
    }

    .loadingScreen p {
        font-size: 1rem;
    }

    .loadingScreen a {
        font-size: 1rem;
    }

    .overlayNav {
        height: 70%;
    }

    .overlayNav ul {
        margin-left: -32px;
    }

    .overlayNav a {
        font-size: 2.5rem;
        padding: 1rem;
        padding-left: 0;
    }

    .overlayNav a:hover {
        background-color: var(--white);
        color: var(--secondary-color);
    }

    .overlayNav .cross {
        font-size: 2rem;
        padding: 1.5rem;
        margin: 2rem;
    }

    main .burger {
        font-size: 4rem;
    }

    .homepage article {
        padding: 1rem;
        margin-top: 3rem;
    }

    .homepage article h1 {
        font-size: 4.5rem;
        width: 70%;
    }

    .homepage article p {
        font-size: 1.3rem;
    }

    .homepage article .myspan::after {
        content: ' ';
        display: block;
    }

    .homepage article .resume {
        font-size: 1.3rem;
    }

    .seperator {
        height: 5rem;
    }

    .aboutme .aboutText article {
        padding: 1.5rem;
    }

    .aboutme .aboutText article h1 {
        font-size: 2rem;
    }

    .aboutme .aboutText article p {
        font-size: 1.3rem;
    }

    .aboutme .aboutText article .abtn {
        font-size: 1.3rem;
        padding: 0;
        border: none;
    }

    .aboutme .imgHeader {
        font-size: 2rem;
    }

    .aboutme .aboutImg {
        justify-content: center;
    }

    .aboutme .aboutImg img {
        height: 10rem;
    }

    .projectpage .heading {
        margin: 5rem 0 0 0;
    }

    .projectpage .articleContainer article {
        margin: 1rem;
    }

    .projectpage .imgContainer img {
        width: 80%;
        height: auto;
    }

    .myProjectCards {
        min-height: auto;
    }

    .myProjectCards .card {
        padding: 1rem;
        min-height: 23rem;
    }

    .myProjectCards .projectImg img {
        width: 30vh;
        margin-bottom: 5rem;
    }

    .projectpage .specialheading {
        font-size: 2.5rem;
        padding-top: 4rem;
    }

    .certificate .overlayDownload a {
        font-size: 1rem;
        padding: 1rem;
        margin: 0rem;
    }

    .certificate .overlayDownload i {
        font-size: 1rem;
    }

    .certificate .overlayDownload {
        opacity: 1;
    }
}

@media screen and (min-width: 1300px) {
    .overlayNav a{
        font-size: 7rem;
        margin: 5rem;
        margin-left: 2rem;
    }

    .homepage .detailsPart article h1 {
        font-size: 7rem;
    }

    .homepage .detailsPart article p {
        font-size: 2rem;
    }

    .homepage .detailsPart article a {
        font-size: 2rem;
    }

    .aboutme {
        font-size: 2rem;
    }

    .aboutme .aboutImg img {
        height: 10rem;
    }

    .projectpage .articleContainer h2 {
        font-size: 2.4rem;
    }

    .myProjects .myProjectCards h1 {
        font-size: 4rem;
    }

    .myProjects .myProjectCards p {
        font-size: 2rem;
    }
}

footer {
    background-color: var(--secondary-color);
}

footer .connectWithMe {
    font-family: var(--fontOne);
    margin-bottom: 1rem;
}

footer .rights {
    color: var(--white);
    padding: 0 2rem;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

footer .links a {
    color: var(--white);
    font-size: 3rem;
}

.hover-underline-animation {
    display: inline-block;
    position: relative;
    color: var(--secondary-color);
}

.hover-underline-animation:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transform-origin: center;
    transition: transform 0.9s ease-out;
}

.hover-underline-animation:hover:after {
    transform: scaleX(1);
    transform-origin: center;
}

@keyframes fade-in {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    animation: animate 10s linear infinite;
    bottom: -150px;

}

.circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.circles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9) {
    left: 20%;
    width: 45px;
    height: 45px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {

    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}

.reveal {
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 1s all ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}
