.project_container {
    position: relative;
    float: center;
    text-align: center;
    margin-top: 10vh;
}

.project_title {
    color: #fff;
    font-size: 4vw;
    font-family: Tahoma, sans-serif;
}

.project_box_container {
    margin-top: 5vh;
}

.project_flex{
    display: flex;
    flex-flow: row wrap;
    width: 90vw;
    justify-content: center;
    /*border: 4px solid white;*/
    margin: auto;
}

.project_box{
    height: 30vh;
    width: 25vw;
    margin-left: 2vw;
    margin-right: 2vw;
    margin-bottom: 2vh;
    margin-top: 2vh;
    /*border: 1px solid white;*/
    position: relative;
    font-size: 1vw;
}

.project_image{
    width:100%;
    height:80%;
    filter: brightness(85%);
    border-top-right-radius: 50px;
    border-top-left-radius: 15px;
}

.project_name{
    color: white;
    font-family: Tahoma, sans-serif;
    font-size: 1vw;
    position: relative;
    bottom: 0vh;
    left: 50%;
    transform: translate(-50%, 0%);
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 15%;
    padding-top: 5%;
    margin-top: -0.5vh;
    font-weight: bold;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 50px;
}

.project_desc_container{
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

.closeButton {
    background-color: rgba(255, 255, 255, 0.4);
    outline: 0.1vw solid rgba(255, 255, 255, 1.0);
    color: white;              
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    margin-top: 2vh;
    margin-left: 1vw;
    padding-right: 0.4vw;
    padding-top: 0.2vh;

    float: left;
    
}

.closeButton:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Change background to transparent on hover */
}

.spec_proj_container {
    position: relative;
    float: center;
    text-align: center;
    margin-top: 10vh;
}

.spec_proj_container_box {
    width: 70vw;
    
    justify-content: center;
    /*border: 4px solid white;*/
    margin: auto;
    background-color: rgba(50, 50, 50, 0.8);
}

.spec_proj_box {
    position: relative;
    padding-left: 2vw;
    padding-right: 2vw;
    margin-top: 5vh;
    padding-bottom: 5vh;
}

.spec_proj_title{
    color: lightgray;
    font-size: 2vw;
    font-family: Tahoma, sans-serif;
}

.spec_proj_paragraph {
    color: #fff;
    font-size: 1vw;
    font-family: Tahoma, sans-serif;
    margin-top: 2vh;
    text-align: left;
}

.supporting_links {
    color: rgb(0, 89, 255);
}

.proj_content {
    font-size: 1.3vw;
    color: lightgray;
}

/* Extra small devices (phones, < 576px) */
@media only screen and (max-width: 575px) {

    .project_title {
        color: #fff;
        font-size: 8vw;
        font-family: Tahoma, sans-serif;
    }

    .project_box_container {
        margin-top: 0vh;
    }

    .project_flex{
        display: flex;
        direction: column;
        width: 90vw;
        /* justify-content: center;*/
        margin: 3vh;
    }

    .project_box{
        height: 40vh;
        width: 75vw;
        margin-left: 2vw;
        margin-right: 2vw;
        margin-bottom: 2vh;
        margin-top: 2vh;
        /*border: 1px solid white;*/
        position: relative;
        font-size: 1vw;
    }

    .project_name{
        color: white;
        font-family: Tahoma, sans-serif;
        position: relative;
        bottom: 0vh;
        left: 50%;
        transform: translate(-50%, 0%);
        background: rgba(0, 0, 0, 0.5);
        width: 100%;
        height: 15%;
        padding-top: 5%;
        margin-top: 0vh; /*-0.5vh;*/
        font-weight: bold;
        border-bottom-right-radius: 15px;
        border-bottom-left-radius: 50px;
    }

    .closeButton {
        background-color: rgba(255, 255, 255, 0.4);
        outline: 0.1vw solid rgba(255, 255, 255, 1.0);
        color: white;              
        border: none;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        font-size: 3vw;
        line-height: 1;
        cursor: pointer;
        margin-top: 2vh;
        margin-left: 1vw;
        padding-right: 0.4vw;
        padding-top: 0.2vh;
        float: left; 
    }

    .spec_proj_container_box {
        width: 90vw;
        
        justify-content: center;
        /*border: 4px solid white;*/
        margin: auto;
        background-color: rgba(50, 50, 50, 0.8);
    }

    .spec_proj_title{
        color: lightgray;
        font-size: 6vw;
        font-family: Tahoma, sans-serif;
    }
    
    .spec_proj_paragraph {
        color: #fff;
        font-size: 4vw;
        font-family: Tahoma, sans-serif;
        margin-top: 2vh;
        text-align: left;
    }

    .proj_content {
        font-size: 4vw;
        color: lightgray;
    }
}

/* Small devices (phones in landscape, 576px and up) */
@media only screen and (min-width: 576px) {
    /* Your CSS here */
}

/* Medium devices (tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    /* Your CSS here */
}

/* Large devices (desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    /* Your CSS here */
}

/* Extra large devices (large desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .project_box:hover{
        height: 32vh;
        width: 27vw;
        margin-left: 1vw;
        margin-right: 1vw;
        margin-bottom: 1vh;
        margin-top: 1vh;
        font-size: 1.1vw;
    }
}