 /* Extra small devices (phones, 600px and down) */
 @media only screen and (max-width: 600px) {
    /* Containers */
    .context {
        display: flex;
        flex-direction: column;
    }

    .left {
        display: flex;
        flex-direction: column;
        
        justify-content: center;
        align-items: center;
        
        margin: 0rem;
        padding: 0rem;
    }

    .right {
        display: flex;
        flex-direction: column;
    
        justify-content: center;
        align-items: center;
    
        margin: 0rem;
    }  
      
    /* Base */
    body {
        background-color: rgb(64, 83, 76);
    }

    .full-screen {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        background-color: rgb(35, 35, 35);
        border: 0.3rem solid #000;

        padding: 0.2rem 0.5rem 0.2rem 0.7rem;
        border-radius: 0.8rem;
    }

    .header a {
        text-decoration: none;
        cursor: url('/images/mouse/click.png'), auto;
    }

    .header button {
        border-radius: 0.5rem;
        background-color: rgb(103, 125, 106);
        border: 0.3rem solid #000;
        
        padding: 0.2rem;

        display: flex;
        align-items: center;
        justify-content: center;
        
        cursor: url('/images/mouse/click.png'), auto;
    }

    .header a button {
        text-decoration: none;
        color: #000;

        font-weight: bold;
        font-size: 0.6rem;

        padding: 0.1rem 0.3rem;
        cursor: url('/images/mouse/click.png'), auto;
    }

    .header a button:hover {
        background-color: rgb(26, 54, 54);
        border: 0.3rem solid #767676;

        color: #767676;
    }

    .header h1 {
        font-size: 0.75rem;
        color: #fcf8fc;
    }

    /* Files */
    .tab {
        display: flex;
        flex-direction: column;
        flex-grow: 1;

        background-color: rgb(35, 35, 35);
        border-radius: 0.8rem;
        border: 0.3rem solid #000;

        margin: 0.5rem 0rem 1rem 0rem; 
    }

    .folder-list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;

        align-items: flex-start;
        justify-content: center;
        align-content: center;

        margin: 0rem;
        padding: 0rem;
    }

    img {
        height: 10rem;

        padding: 0rem;
        margin: 0rem;
    }

    .folder {
        margin: 0rem;
        padding: 5rem;

        display: flex;
        flex-direction: column;
        
        justify-content: center;
        align-items: center;

        cursor: url('/images/mouse/click.png'), auto;

        h4 {
            margin: 0rem;
            padding: 0rem;

            font-size: 0.8rem;
            color: #fcf8fc;
        }
    }

    .hidden {
        display: none;
    }

    .pub {
        margin-top: 0.5rem;

        h4 {
        margin: 0rem;
        padding: 0rem;
        }

        a {
            color: #767676;
        }

        a:hover {
            color: rgb(103, 125, 106);

            cursor: url('/images/mouse/click.png');
        }
    }

    .open-file {
        display: flex;
        flex-direction: column;
        
        position: absolute;

        padding: 1rem 2rem;
        margin: 2rem;
        
        background-color: #fcf8fc;
        
        img {
            max-height: 15rem;
            max-width: fit-content;
            
            height: auto;
            width: auto;
    
            padding: 0rem;
            margin: 0rem;

            margin-top: 1rem;
            border: #000 0.2rem solid;
        }

        button {
            height: 2rem;
            width: 2rem;

            border-radius: 5rem;

            background-color: #767676;
            border: #000 0.2rem solid;

            align-self: flex-end;
        }

        button:hover {
            background-color: #000;
            border: #767676 0.2rem solid;
            color: #767676;
        }
    }

    .speech-bubble {
        position: relative;
        background: #fcf8fc;
        border-radius: .4em;
        
        max-width: 80%;
        width: auto;
    }
    
    .speech-bubble:after {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        width: 0;
        height: 0;
        border: 11px solid transparent;
        border-bottom-color: #fcf8fc;
        border-top: 0;
        border-left: 0;
        margin-left: -5.5px;
        margin-top: -10px;
    }

    /* Expandable Images */
    #expandable-img1 {
        cursor: url('/images/mouse/click.png'), auto;
        position: relative;

        z-index: 0;
    }

    #expandable-img1.expanded {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1.2); /* Center and scale the image */

        z-index: 1;
    } 

    #expandable-img2 {
        cursor: url('/images/mouse/click.png'), auto;
        position: relative;

        z-index: 0;
    }

    #expandable-img2.expanded {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1.2); /* Center and scale the image */

        z-index: 1;
    }

    #expandable-img3 {
        cursor: url('/images/mouse/click.png'), auto;
        position: relative;

        z-index: 0;
    }

    #expandable-img3.expanded {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1.2); /* Center and scale the image */

        z-index: 1;
    }

    #expandable-img4 {    
        cursor: url('/images/mouse/click.png'), auto;
        position: relative;

        z-index: 0;
    }    

    #expandable-img4.expanded {
        position: fixed;        
        top: 50%;
        left: 50%;        
        transform: translate(-50%, -50%) scale(1.2); /* Center and scale the image */

        z-index: 1;
    }       

    #expandable-img5 {
        cursor: url('/images/mouse/click.png'), auto;
        position: relative;

        z-index: 0;
    }    

    #expandable-img5.expanded {        
        position: fixed;        
        top: 50%;
        left: 50%;        
        transform: translate(-50%, -50%) scale(1.2); /* Center and scale the image */

        z-index: 1;
    }   

    #expandable-img6 {    
        cursor: url('/images/mouse/click.png'), auto;
        position: relative;

        z-index: 0;
    }    

    #expandable-img6.expanded {        
        position: fixed;        
        top: 50%;
        left: 50%;        
        transform: translate(-50%, -50%) scale(1.2); /* Center and scale the image */

        z-index: 1;
    }

    #expandable-img7 {    
        cursor: url('/images/mouse/click.png'), auto;
        position: relative;

        z-index: 0;
    }    

    #expandable-img7.expanded {        
        position: fixed;        
        top: 50%;
        left: 50%;        
        transform: translate(-50%, -50%) scale(1.2); /* Center and scale the image */
    
        z-index: 1;
    }
        
    /* Resume */
    .resume {
        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        /* background-color: rgb(35, 35, 35);
        border-radius: 0.8rem;
        border: 0.3rem solid #000; */

        margin: 0.5rem 0rem;
        padding: 2rem;
    }

    .header-resume {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 2rem;
    }
    
    .intro {
        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        padding: 0rem;
        margin: 0rem;

        h1, h4 {
            padding: 0rem;
            margin: 0rem;
            color: #fcf8fc;
        }

        h1 {
            font-size: 7rem;
            text-shadow: 10px 10px rgb(19,19,19);
        }

        h4{
            font-size: 3rem;
        }
    }

    /* Contact info */
    .contact-bubble {
        position: relative;
        background-color: #fcf8fc;
        border-radius: 3rem;

        box-shadow: 10px 10px;
    }

    .contact-bubble:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 0;
        border: 20px solid transparent;
        border-top-color: #fcf8fc;
        border-bottom: 0;
        border-left: 0;
        margin-left: -10px;
        margin-bottom: -1rem;
    }

    .contact {
        padding: 1rem 2rem;

        p {
            font-size: 1rem;
            font-weight: bold;
        }
    }
    
    .links {
        display: flex;
        flex-direction: row;

        align-items: center;
        justify-content: flex-start;

        a {
            text-decoration: none;
            padding-left: 0.5rem;
            color: #000;

            font-size: 0.8rem;
            font-weight: bold;
        }

        a:hover {
            color: #767676;
        }

        p {
            padding-left: 0.5rem;
            color: #000;

            font-size: 0.8rem;
        }

        img {
            height: 2rem;
        }
    }

    .image {
        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;
    }

    .image img {
        height: 34rem;
        border-radius: 15rem;

        width: 80%;
        object-fit: cover;

        border: #fcf8fc solid 0.4rem;
        box-shadow: 10px 10px;

        margin-top: 2rem;
    }

    /* Location */
    .loca {
        background-color: #767676;
        border-radius: 3rem;
        
        display: flex;
        flex-direction: row;
    
        align-items: center;
        justify-content: center;
    
        position: relative;
        z-index: 1;
        
        margin: 2rem;
        box-shadow: 10px 10px;
    
        h4 {
            padding-left: 1rem;
            color: #000;
        }
    
        img {
            height: 2rem;
        }
    }

    /* Education */
    .education {
        background-color: #767676;
        border-radius: 3rem;

        padding: 2rem 1.5rem 2rem 2rem;

        position: relative;
        z-index: 1;

        box-shadow: 10px 10px;
    }

    .education-bg {
        display: none;
    }

    .bullet-point {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        /* align-items: center; */

        padding: .5rem;

        img {
            height: 2rem;
            width: 2rem;

            padding-right: 0.5rem;
        }
    }

    .school {
        display: flex;
        flex-direction: column;
    }

    .line1 {
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        margin: 0rem;
        padding: 0rem;

        p {
            font-size: 0.8rem;
            font-style: italic;
        }
        
        h4, p {
            margin: 0rem;
            padding: 0rem;
        }
    }

    .line2 {
        display: flex;
        flex-direction: column;
        align-items: flex-start;

        margin: 0rem;
        padding: 0rem;

        p {
            font-size: 0.6rem;

            margin: 0rem;
            padding: 0rem;
        }
    }

    .edu-location {
        padding: 1rem;
    }

    /* Coding Languages */
    .coding {        
        display: flex;
        flex-direction: column;

        justify-content: center;
        align-items: center;

        position: relative;
        z-index: 1;

        text-align: center;
        margin: 0rem;

        h3 {
            padding: 0rem;
            
            font-size: 1.5rem;
            color: #fcf8fc;
        }
    }

    .coding p {
        margin: 0rem;
        padding: 0rem;
        color: #fcf8fc;
    }

    /* Languages */
    .language {    
        display: flex;
        flex-direction: column;

        justify-content: center;
        align-items: center;
        text-align: center;

        position: relative;
        z-index: 1;
        margin: 0rem;

        h3 {
            margin: 0rem;
            padding: 0rem;

            font-size: 1.5rem;
            color: #fcf8fc;
        }
    }

    .language p {
        margin: 0rem;
        padding: 0rem;
        color: #fcf8fc;
    }

    /* Software */
    .programs {
        color: #fcf8fc;

        display: flex;
        flex-direction: column;

        align-items: center;
    }

    .list-software {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    
        justify-content: center;
        align-items: center;
    
        width: 70%;

        margin-bottom: 1.5rem;
    }

    .list-software img {
        height: 3rem;
        margin: 0.5rem;
    }

    /* Blob */
    .blob {
        display: none;
    }

    /* Experience */
    .research-title {
        font-size: 2rem;
    }

    .experiences {
        background-color: #767676;
        margin: 0rem;
        padding: 2rem;
        border-radius: 4rem;
        box-shadow: 10px 10px;
    
        position: relative;
        z-index: 1;
    }
    
    .experience {
        display: flex;
        flex-direction: row;

        justify-content: center;
        align-items: flex-start;

        margin: 0rem 0rem 1rem 0rem;
        padding: 0rem;

        img {
            height: 2rem;
            margin-right: 0.5rem;
        }
    }

    .exp-line {
        display: flex;
        flex-direction: column;

        h4, p {
            padding: 0rem;
            margin: 0rem;
        }
    }

    .exp-line2 {
        display: flex;
        flex-direction: column;
    
        p {
            font-size: 0.8rem;
            opacity: 70%;
        }

        ul {
            margin-left: 1rem;
            padding: 0rem;
        }
        
        ul li {
            font-size: 0.9rem;
            list-style-position: inside;
        }
    }

    .embedded-bg {
        background-color: rgb(35, 35, 35);
        color: #b1b1b1;
        margin: 2rem 0rem;
    }

    .website-link a {
        color: #767676;
        font-size: 0.8rem;

        cursor: url('/images/mouse/click.png');
    }

    .website a:hover {
        color: rgb(103, 125, 106);

        cursor: url('/images/mouse/click.png');
    }
 }