/*Font color: rgb(2,0,36)*/
html {
    overflow-anchor: none;
}

.nunito-sans {
    font-family: "Nunito Sans", sans-serif;
    font-weight: 300;
    /*gives light*/
    font-style: normal;
    color: rgb(2, 0, 36);
    font-variation-settings:
        "wdth" 109.3,
        "YTLC" 500;
}

.fira-code {
    font-family: "Fira Code", monospace;
    font-optical-sizing: auto;
    font-style: normal;
    color: rgb(2, 0, 36);
}

/*MAIN*/

.content {
    position: relative;
    overflow-x: hidden;
    transform: translateX(0);
}

h1 {
    font-size: 8rem !important;
    text-align: left;
}

h2 {
    font-size: 6rem !important;
    text-align: left;
}

p {
    font-size: 1.3rem;
}

.ISE {
    text-decoration: none;
    color: rgb(2, 0, 36);
}

/*SIDEBAR*/
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
}

.sidebar {
    position: fixed;
    top: 0;
    transform: translateX(-100%);
    width: 250px;
    /* Set the width of the sidebar */
    height: 100vh;
    /* Full screen height */
    background-color: rgb(2, 0, 36);
    color: #fff;
    display: flex;
    z-index: 2;
}

.sidebar-body {
    padding: 1rem;
    overflow-y: auto;
}

.btn-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: white;
}

.btn-close:hover {
    color: #ccc;
}

.sidebar-button {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1100;
}

.about {
    margin: 5rem;
    padding: 5rem;
}

/*sidebar links*/
.nav-link.active {
    background-color: transparent !important;
}

.nav-link:hover {
    transition: 0.4s all;
    transform: translateX(1rem);
    text-shadow: 1px 1px 10px #fff, 1px 1px 10px #fff;
}

.footer-img {
    width: 5rem;
    height: 5rem;
}

/*PROJECT CARDS */

.custom-card {
    border-radius: 12px;
    padding: 0.75rem 1rem;
    max-width: 500px;
    width: 100%;
    cursor: pointer;
}

.card-title {
    font-weight: bold;
}

.card-subtitle {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-img {
    background-size: cover;
    object-fit: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

/*

.nav-link:hover .nav-hover-first,
.nav-link:hover .nav-hover-second {
    transition: 0.4s all;
    transform: translateX(1rem);
}

.nav-link:hover.nav-hover-second {
    transition-delay: 0.2s;
}

.nav-hover-first {
    color: #a474ff !important;
}

.nav-hover-second {
    color: white;
}
    */



/*BURGER*/
.burger {
    position: relative;
    display: inline-block;
    margin: 3rem;
    height: 7rem;
    width: 7rem !important;
    border-radius: 999rem;
    overflow: hidden;
    border: none;
    cursor: pointer;
    background-color: rgb(2, 0, 36);

}

.burger:hover .burger__layer-first,
.burger:hover .burger__layer-second {
    transition: 0.4s all;
    scale: 6;
}

.burger:hover .burger__layer-second {
    transition-delay: 0.2s;
}

.burger__layer {
    position: absolute;
    display: block;
    bottom: 0;
    height: 30%;
    width: 30%;
    left: 50%;
    translate: -50%;
    border-radius: 100px;
    border: none;
}

.burger__layer-first {
    scale: 0;
    background-color: #a474ff;
}

.burger__layer-second {
    scale: 0;
    background-color: rgb(2, 0, 36);
}

.burger__inner {
    position: relative;
}

.burger__inner-top,
.burger__inner-middle,
.burger__inner-bottom {
    margin: 0.3rem auto;
    height: 0.25rem;
    width: 2rem;
    background-color: #fff;
}

/*CARDS*/
.card-list {
    list-style: none;
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    /* this adds the "card" effect */
    padding: 16px;
    text-align: center;
    background-color: #f1f1f1;
    width: 50vw;
}

/*MEDIUM SCREENS*/
@media screen and (max-height: 1080px) {
    
    .main-content-text {
        margin-left: 12%;
    }
    
    h1 {
        font-size: 5rem !important;
    }

    h2 {
        font-size: 4rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    p {
        font-size: 1rem;
    }
    

    .footer-img {
        width: 4rem;
        height: 4rem;
    }

    .sidebar-button {
        top: 0.5vh;
        left: 0.3vw;
    }

    .burger {
        height: 5rem;
        width: 5rem !important;
    }


    .burger__inner-top,
    .burger__inner-middle,
    .burger__inner-bottom {
        margin: 0.2rem auto;
        height: 0.23rem;
        width: 1.5rem;
    }
}