@import url('https://fonts.googleapis.com/css2?family=Averia+Libre&display=swap');
#project-container{
    display: flex;
    margin-bottom: 2em;
    align-items: center;
}
#project-img, #project-img img{
    width: 200px;
    height: 200px;
    justify-content: center;
    border-radius: 20px;
}

#project-img{
    display: inline-block;
    margin-left: 4em;
    box-shadow: 2px 2px 11px black;
}

#project-desc{
    width: 70vw;
    height: 30vh;
    display: inline-block;
    margin-left: 4em;
    border-radius: 20px;
    box-shadow: 2px 2px 11px black;
    padding: 15px 10px;
    font-family: 'Averia Libre';
    color: #298EB9;
    position: relative;
    font-size: calc(1vw + 1vh);
}

#project-desc h2{
    margin-top: 0;
    margin-bottom: auto;
}

#project-desc img{
    width: 20px;
    height: 20px;
}

#project-desc .skills{
    bottom:0;
    position: absolute;
}

.skills img{
    vertical-align: middle;
}

#reactpanel{
    display: none;
    font-family: 'Averia Libre';
    align-items: center;
    justify-content: space-between;
    width: 80vw;
    position: relative;
}

#reactpanel img{
    width: 35px;
    height: 35px;
}

#savehire{
    background-color: #298EB9;
    padding: 10px;
    border-radius: 30px;
    color: whitesmoke;
    margin-bottom: 0.5em;
}

#heartGif{
    position: absolute;
    top: 0px;
}

@media screen and (max-width: 500px) {
    #project-desc{
     display: none;
    } 
    #project-img{
     margin:0.5em;
     width:40vw;
     height: 20vh;
    }
    #project-img img{
     width:inherit;
     height: inherit;
    }
    #project-container{
         display: inline-flex;
         margin: 0.5em; ;
    }
    #projcontainer{
     display: grid;
     justify-items: center;
     grid-template-columns: 50% 50%;
     width: 100%;
     height: 100%;
    }
 }

 .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: #EEF8FF;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100vw;
    justify-items: center;
}

.close-button {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: fixed;
    z-index: 10;
    display: inline;
    background-color: rgba(140, 140, 140, 0.58);
    padding: 0px 10px;
    border-radius: 100px;
    margin: 10px;
}

.modal #project-img {
    width: 80vw !important;
    margin-bottom: 20px;
    border-radius: 10px;
    height: 30vh !important;
}
.modal #project-desc {
    width: 80vw !important;
    margin-bottom: 20px;
    border-radius: 10px;
    margin:auto;
    height:50vh;
}

.modal h2 {
    margin-top: 0;
    font-size: 24px;
}

.modal p {
    font-size: calc(2vw + 1vh);
    margin: 10px 0;
}

 