body {
    background-color: #0e0a00;
    padding: 0;
    /* overflow: hidden; */
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    padding: 10px 5vw;
    position: sticky;
    background-color: rgba(14, 10, 0, 0.918);
}

.navbar-dark {
    --bs-navbar-hover-color: #f3b21a;
}

.logo {
    width: 15vw;
}

.menu-icon {
    width: 7vw;
}

.navbar-toggler {
    border: transparent;
}

/* Landing page */
.intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
}

.landing-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 60px 0 30px;
}

.portrait-main {
    width: 110vw;
    margin-top: 70px;
}

.title-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    margin-top: -80px;
}

/* Landing page */
/* About me intro */
.about-me-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    margin: 100px 0 70px;
}

.know-more-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #0e0a00;
    padding: 5px;
    border: none;
    font-family: "NotoSans-Regular";
    color: #856210;
    font-size: 15pt;
    text-decoration: none;
    gap: 5px;
}

.know-more-button:hover {
    color: #f3b21a;
    transition: 0.3;
}

.move-arrow {
    animation: MoveUpDown 1s linear 3;
}

@keyframes MoveUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(100px);
    }
}

/* About me intro END */

.buttons {
    width: 100vw;
    display: flex;
    justify-content: space-around;
    padding: 40px;
}

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

.mybutton {
    border: none;
    background-color: transparent;
}

#button_a_path {
    font-size: 50px;
    color: #f3b21a;
}

.code-button {
    width: 6rem;
}

.image-button {
    width: 5rem;
}

.switching-sections-container {
    display: flex;
    flex-direction: column;
    /* display: flex; */
    /* flex-direction: row;
    align-items: flex-start;
    justify-content: space-around;
    width: 100vw;
    gap: 4rem;
    /* margin-top: 5rem; */
    padding: 0 5vw;
    gap: 4rem;
}

/* For the Javascript purpuses */
#designSection {
    display: none;
}

/* When JavaScript display:flex is activated, the flex-direction will be in column */
.skills-learning {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* For the Javascript purpuses */

.skills-learning-containers {
    display: flex;
    flex-direction: column;
}

/* Section-A */

/* Grids */
.sectiona {
    padding: 50px 15px 0;
    display: block;
}

.skills {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 2rem;
}

.learning {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 2rem;
}

ul {
    list-style: none;
    padding: 0;
}

.grid {
    width: 100vw;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    justify-content: space-around;
}

.grid-item {
    width: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.grid-img {
    width: 30vw;
}

.my-works-title {
    text-align: center;
    margin: 40px 0 30px;
}

/* Section-A END */
/* Section-B */
.sectionb {
    padding: 50px 15px 0;
    display: none;
}

.video {
    /* width: 90vw; */
    margin-left: auto;
    margin-right: auto;
}

.pickwick-img {
    width: 90vw;
}

/* Section-B END */

/* Cards */
.card {
    margin-left: auto;
    margin-right: auto;
    background-color: transparent;
    margin-bottom: 7rem;
    border: none;
}

.card-img-top {
    width: 95vw;
    margin-left: auto;
    margin-right: auto;
    background-color: transparent;
}

.card-img1 {
    border-radius: 49px;
}

.card-body {
    background-color: transparent;
}

.card2-body {
    margin-top: 2rem;
}

.section-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.modal-dialog {
    --bs-modal-bg: rgba(0, 0, 0, 0.353);
    --bs-modal-border-color: none;
}

.modal-backdrop {
    --bs-backdrop-opacity: 0.8;
}

.btn-close {
    background: transparent url(/img/x-icon.svg) center/1em auto no-repeat;
}

.modal-header {
    padding: 1rem 1rem 0 0;
    border-bottom: none;
}

.w-100 {
    width: auto !important;
    height: 100vw;
    width: 90%;
}

.wide-image {
    height: 50vh;
}

.carousel-inner {
    width: auto;
}

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

/* --------------------------------------------- CONTACT ME */
.contact-me {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background-color: #2d1606;
    padding: 2rem 1rem;
}

.contacts-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.7rem;
}

.contact-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.fontawesome-icon {
    font-size: 15pt;
    color: #856210;
}

/* ------------------------------- About me */
.about-me {
    margin: 0 15px;
}

.about-me-container {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.me-img {
    width: 80vw;
    float: right;
}

.text-item {
    position: relative;
    top: 270px;
    /* left: 100px; */
    margin-bottom: -320px;
}

.about-me-leaf {
    margin-top: 7rem;
    margin-left: auto;
    margin-right: auto;
}

.leaf-img {
    width: 70vw;
}

#leafpath {
    stroke-dasharray: 3000;
    stroke-dashoffset: 3000;
    animation: dash1 15s linear infinite;
}

@keyframes dash1 {
    0% {
        stroke-dashoffset: 3000;
    }

    59% {
        stroke-dashoffset: 0;
    }

    70% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: 3000;
    }
}

.about-me-text {
    margin-top: -1rem;
}

/* ------------ Copyright */
.copyright {
    width: 100%;
    background-color: #2d1606;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright-text {
    margin: 0;
}

/*----------------------------------------------------------- DESKTOP --------------------------------------------------------------*/
@media only screen and (min-width: 992px) {

    /* Navbar */
    .navbar {
        padding: 10px 5vw;
        position: absolute;
        background-color: transparent;
    }

    .navbar {
        padding: 2vw 7vw;
    }

    .logo {
        width: 5vw;
    }

    /*------------------------ Landing page */
    .intro {
        flex-direction: row;
        align-items: flex-end;
        gap: 5vw;
        padding: 0 15px;
        height: 100vh;
    }

    .landing-page {
        justify-content: flex-end;
        align-items: stretch;
        width: 35vw;
        height: 100vh;
    }

    .about-me-intro {
        align-items: flex-end;
        justify-content: center;
        padding: 2rem;
        margin: 0;
    }

    .portrait-main {
        width: 40vw;
    }

    /* Landing page */

    /*------------------------ About me intro */
    .know-more-link {
        flex-direction: column;
        align-items: center;
    }

    .know-more-link:hover {
        color: #f3b21a;
        transition: 0.3;
    }

    /* About me intro END */

    /*------------------------- Buttons */
    .text-box {
        justify-content: center;
        align-items: center;
        width: 30vw;
        /* height: 600px; */
    }

    .buttons {
        width: 30vw;
        display: flex;
        justify-content: space-around;
        padding: 40px;
    }

    .code-button {
        width: 4.5rem;
    }

    .image-button {
        width: 3.8rem;
    }

    .section-text {
        width: 30vw;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 2rem;
    }

    /* ------------------------------------------------- Switching sections */
    .switching-sections {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100vw;
        margin-top: 5rem;
        gap: 3rem;
    }

    .switching-sections-container {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-around;
        width: 100vw;
        gap: 4rem;
        /* margin-top: 5rem; */
        padding-left: 10vw;
        padding-right: 10vw;
    }

    /*------------------------------------- Section-A */
    /* Grids */
    .sectiona {
        padding: 50px 15px 0;
        display: block;
    }

    .skills {
        /* padding: 70px 0 0; */
        gap: 2rem;
    }

    .learning {
        gap: 2rem;
    }

    .skills {
        justify-content: flex-end;
        align-items: center;
        gap: 2rem;
    }

    .learning {
        justify-content: flex-end;
        align-items: flex-start;
        gap: 2rem;
    }

    .skills-learning-containers {
        display: flex;
        flex-direction: row;
        position: relative;
        bottom: 0;
        padding: 0;
    }

    .skills-learning {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 5rem;
    }

    .what-learning-text {
        text-align: end;
    }

    .grid {
        width: 100%;
        display: grid;
        grid-template-columns: auto auto;
        grid-template-rows: auto auto;
        justify-content: space-around;
    }

    /* Fills the gap where there are no items in ""Learning */

    .grid-item {
        gap: 5px;
    }

    .grid-img {
        width: 6vw;
    }

    .my-works-title {
        text-align: center;
        margin: 3rem 0 0 0;
    }

    /* Section-A END */

    /*---------------------------------------- Section-B */
    .sectionb {
        padding: 50px 1rem 0;
        display: none;
        width: 100%;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 0.7fr 0.5fr;
        justify-content: space-around;
    }

    .card2-img {
        width: 20vw;
        height: min-content;
    }

    .video {
        width: 35vw;
        height: 20vw;
        margin-left: auto;
        margin-right: auto;
        margin-top: 5.7rem;
    }

    .pickwick-img {
        width: 20vw;
        height: auto;
        /* margin: 0 5vw 0 5vw; */
    }

    /* Section-B END */

    /*-------------------------- Cards */
    .card {
        margin-left: auto;
        margin-right: auto;
        background-color: transparent;
        margin-bottom: 50px;
    }

    .card1 {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        width: 90%;
        padding-bottom: 5rem;
    }

    .card2 {
        flex-direction: row;
        /* width: 40%; */
        padding: 3rem;
        gap: 2rem;
    }

    .grid-itm {
        flex-direction: column;
    }

    .card-text {
        width: 40vw;
    }

    .card1-img {
        width: 32vw;
        margin-left: auto;
        margin-right: auto;
        background-color: transparent;
    }

    .card-img1 {
        border-radius: 49px;
    }

    .card-body {
        background-color: transparent;
        padding-left: 10rem;
        padding-top: 0;
    }

    /* --------------------------------------- Carousels */

    .mySlides {
        display: none;
    }

    img {
        vertical-align: middle;
    }

    .prev,
    .next,
    .text {
        font-size: 11px;
    }

    /* Slideshow container */
    .carousel {
        /* height: 100vh; */
        position: relative;
        z-index: 100;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* Slideshow container */
    .slideshow-container {
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* Pictures */
    .carousel1-img {
        width: 100%;
    }

    /* Next & previous buttons */
    .prev,
    .next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: auto;
        padding: 16px;
        margin-top: -22px;
        color: white;
        font-weight: bold;
        font-size: 18px;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
    }

    /* Position the "next button" to the right */
    .next {
        right: 0;
        border-radius: 3px 0 0 3px;
    }

    /* On hover, add a black background color with a little bit see-through */
    .prev:hover,
    .next:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

    /* Number text (1/3 etc) */
    .numbertext {
        color: #f2f2f2;
        font-size: 12px;
        padding: 8px 12px;
        position: absolute;
        top: 0;
    }

    /* Fading animation */
    .fade {
        animation-name: fade;
        animation-duration: 1.5s;
    }

    @keyframes fade {
        from {
            opacity: 0.4;
        }

        to {
            opacity: 1;
        }
    }

    /* --------------------------------------------- CONTACT ME */
    .contact-me {
        padding: 1.5rem;
    }

    .contacts-list {
        flex-direction: row;
        flex-wrap: wrap;
        width: 50vw;
        gap: 2rem;
    }

    .contact-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .fontawesome-icon {
        font-size: 18pt;
        color: #856210;
    }

    /* ------------------------------- About me */
    .about-me {
        margin: 0 15px;
    }

    .about-me-container {
        margin-top: 5rem;
        display: grid;
        grid-template-rows: 0.7fr 0.7fr;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }

    .me-img {
        width: 27vw;
        float: left;
    }

    .text-item {
        position: relative;
        top: 0;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
    }

    .about-me-leaf {
        margin-top: 0;
        margin-left: auto;
        margin-right: auto;
        transform: rotate(-120deg);
        position: relative;
        bottom: 3rem;
    }

    .leaf-img {
        width: 30vw;
    }

    .about-me-text {
        margin-top: 0;
        width: 27vw;
        text-align: justify;
    }

    /* Carousels */
    .w-100 {
        width: auto !important;
        height: 90vh;
    }

    .carousel-inner {
        width: auto;
    }
}

/* ---------------------------------------------------------------- Text ----------------------------------------------------------- */

/*------- INSERTING FONTS ------*/
@font-face {
    font-family: "Lato-Bold";
    src: url(/fonts/Lato-Bold.ttf);
}

@font-face {
    font-family: "Lato-Light";
    src: url(/fonts/Lato-Light.ttf);
}

@font-face {
    font-family: "NothingYouCouldDo";
    src: url(/fonts/NothingYouCouldDo-Regular.ttf);
}

@font-face {
    font-family: "NotoSans-ExtraLight";
    src: url(/fonts/NotoSans-ExtraLight.ttf);
}

@font-face {
    font-family: "NotoSans-ExtraLightItalic";
    src: url(/fonts/NotoSans-ExtraLightItalic.ttf);
}

@font-face {
    font-family: "NotoSans-Light";
    src: url(/fonts/NotoSans-Light.ttf);
}

@font-face {
    font-family: "NotoSans-Medium";
    src: url(/fonts/NotoSans-Medium.ttf);
}

@font-face {
    font-family: "NotoSans-Regular";
    src: url(/fonts/NotoSans-Regular.ttf);
}

/* Text formatting */
/*-------------------------- Mobile text */

/* Cursive special text */
.special-text {
    font-family: "NothingYouCouldDo";
    color: #f3b21a;
    font-size: 35px;
    margin: 0;
}

.and {
    font-size: 20px;
    margin: 0 25vw;
}

.title {
    font-family: "Lato-Light";
    color: #dcd7c9;
    font-size: 33px;
}

.section-title {
    font-family: "NotoSans-Medium";
    color: #f3b21a;
    font-size: 30pt;
}

/* Plain text */
.text {
    font-family: "NotoSans-ExtraLight";
    color: #dcd7c9;
    font-size: 15pt;
}

.bold-text {
    font-family: "NotoSans-Medium";
    color: #dcd7c9;
    font-size: 15pt;
}

.text-italic {
    font-family: "NotoSans-ExtraLightItalic";
    color: #dcd7c9;
    font-size: 20pt;
}

/* Links */
.link {
    font-family: "NotoSans-Regular";
    color: #856210;
    font-size: 15pt;
    text-decoration: none;
}

.link:hover {
    color: #f3b21a;
    transition: 0.3;
}

/*---------------------------- Mobile text END */

/*---------------------------- DESKTOP text */
@media only screen and (min-width: 992px) {
    .special-text {
        font-size: 40px;
    }

    .and {
        font-size: 40px;
        margin: 0 8vw;
    }

    .title {
        font-size: 40px;
    }

    .section-title {
        font-size: 25pt;
    }

    /* Plain text */
    .text {
        font-size: 13pt;
    }

    .bold-text {
        font-size: 13pt;
    }

    .text-italic {
        font-size: 17pt;
    }

    /* Links */
    .link {
        font-size: 13pt;
    }

    .link:hover {
        color: #f3b21a;
        transition: 0.3;
    }

    /*---------------------------- DESKTOP text END */
}