*{
    padding: 0;
    margin: 0;
}
#banner-hero{
    background-image: url("../img/proyectos-bg.png");
    min-height: 340px;
}
#banner-hero h1{
    color: #FAFCFF;
    padding-top: 150px;
    text-align: center;
}
#projects-container{
    width: 80%;
    margin: 80px 10%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    justify-items: center;
}
.project{
    width: 350px;
    height: 350px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    justify-content: center;
}
#project-1{
    background-image: url("../img/img-1.png");
}
#project-2{
    background-image: url("../img/img-2.png");
}
#project-3{
    background-image: url("../img/img-3.png");
}
#project-4{
    background-image: url("../img/img-4.png");
}
#project-5{
    background-image: url("../img/img-5.png");
}
#project-6{
    background-image: url("../img/img-6.png");
}
#project-7{
    background-image: url("../img/img-7.png");
}
#project-8{
    background-image: url("../img/img-8.png");
}
#project-9{
    background-image: url("../img/img-9.png");
}
#project-10{
    background-image: url("../img/img-10.png");
}
#project-11{
    background-image: url("../img/img-11.png");
}
#project-12{
    background-image: url("../img/img-12.png");
}
#project-13{
    background-image: url("../img/img-13.png");
}
#project-14{
    background-image: url("../img/img-14.png");
}
.project-info{
    display: none;
    height: 350px;
    width: 350px;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FAFCFF;
}
.project-info p{
    padding-left: 8%;
    padding-right: 8%;
}
.project-info a{
    text-decoration: none;
    padding-top: 26px;
    color: #FAFCFF;
    cursor: pointer;
}
.project-info a:hover,.project-info a:focus{
    text-decoration: underline;
}
#project-1:hover>#info-1,#project-2:hover>#info-2,#project-3:hover>#info-3,#project-4:hover>#info-4,#project-5:hover>#info-5,#project-6:hover>#info-6,#project-7:hover>#info-7,#project-8:hover>#info-8,#project-9:hover>#info-9,#project-10:hover>#info-10,#project-11:hover>#info-11,#project-12:hover>#info-12,#project-13:hover>#info-13,#project-14:hover>#info-14,#project-1:focus>#info-1,#project-2:focus>#info-2,#project-3:focus>#info-3,#project-4:focus>#info-4,#project-5:focus>#info-5,#project-6:focus>#info-6,#project-7:focus>#info-7,#project-8:focus>#info-8,#project-9:focus>#info-9,#project-10:focus>#info-10,#project-11:focus>#info-11,#project-12:focus>#info-12,#project-13:focus>#info-13,#project-14:focus>#info-14{
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: rgba(0, 0, 0, 0.685);
}
/*Overlay*/
.modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1;
}
.visible{
    display: flex;
}
.modal a{
    display: block;
    color: white;
    text-decoration: none;
    font-size: 5em;
    margin: 0 20px;
}
.modal img{
    width: 550px;
    display: block;
}
/*Responsive adjustments for tablet version*/
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .project-info{
        display: flex;
        flex-direction: column;
        gap: 15px;
        background-color: rgba(0, 0, 0, 0.4);
    }

}
/*Responsive adjustments for mobile version*/
@media screen and (max-width: 767px) {
    .project-info{
        display: flex;
        flex-direction: column;
        gap: 15px;
        background-color: rgba(0, 0, 0, 0.4);
    }
    .modal img{
        width: 300px;
    }
    .modal a{
        font-size: 3em;
    }
}