@import "fonts.css";
:root {
    --header-background: #0c192c;
    --background-index: #0c192c;
    --background-others: var(--font-color-light);
    --font-color-light: rgb(181, 193, 211);
    --font-color-dark: var(#0c192c);
    --border-post-card: #0c192c60;
    --font-color-content: #638fd1;
    --gray-post-status: #666;
    --background-color-projects-portf: #6668;
    --background-color-projects-modal: #0c192c50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.background-project {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--font-color-content);
    background: var(--background-color-projects-modal);
    backdrop-filter: blur(13.5px);
    -webkit-backdrop-filter: blur(13.5px);
    padding: 5px;
}

.background-project h2 {
    text-align: center;
    margin: 3px;
}

.background-project p {
    padding: 10px;
}

.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 */
    backdrop-filter: blur(13.5px);
    -webkit-backdrop-filter: blur(13.5px);
}

.modal-content {
    background: var(--background-color-projects-modal);
    width: 50%;
    height: auto;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 5px;
}

.close {
    position: absolute;
    float: right;
    color: #aaa;
    top: -10px;
    right: 0px;
    font-size: 28px;
    font-weight: bold;
}

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

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.project-link-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 10px;
}

.project-link {
    background: var(--font-color-content);
    border-radius: 100px;
    padding: 10px;
}

.project-link a {
    text-decoration: none;
    color: var(--font-color-dark);
}

.width-modal {
    margin-top: 100px;
    width: auto;
}