/* Projects CSS */

.project-card {
    margin: 6px;
}

.project-title {
    background-color: #30353c;
    color: white;
    padding: 10px;
    margin-top: 3%;
    margin-bottom: 0%;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    text-align: center;
}

.project-box-content {
    padding: 20px 25px 20px 25px;
    background-color: #f1f1f1;
    width: 100%;
    font-size: 16px;
    text-align: center;
}

.learn-more-btn {
    color: #383F49;
    border: 2px solid #383F49;
    border-radius: 0px;
    padding: 3px 5px;
    display: inline-block;
    margin-top: 5px;
    font-size: 16px;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: inset 0 0 0 0 #383F49;
    -webkit-transition: ease-out 0.4s;
    -moz-transition: ease-out 0.4s;
    transition: ease-out 0.4s;
}

.learn-more-btn:hover {
    box-shadow: inset 400px 0 0 0 #383F49;
    color: white;
}

/* The Modal (background) */
.project-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 10% 30% 20%;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    /* Could be more or less, depending on screen size */
}

@media (max-width: 768px) {
    .modal-content {
        margin: 30% 4%;
        width: 90%;
    }
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.visit-project-page {
    color: #383F49;
    border: 2px solid #383F49;
    border-radius: 0px;
    padding: 3px 5px;
    display: inline-block;
    margin-top: 15px;
    font-size: 16px;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: inset 0 0 0 0 #383F49;
    -webkit-transition: ease-out 0.4s;
    -moz-transition: ease-out 0.4s;
    transition: ease-out 0.4s;
}

.visit-project-page:hover {
    box-shadow: inset 400px 0 0 0 #383F49;
    color: white;
}

.project-container {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}
