*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Works Sans', verdana, sans-serif;
    font-size: 2vw;
    background-color: #000000;
}

#navbox {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    padding: 0.6vw;
    background-color: rgba(3, 121, 157, 0.85);
    position: fixed;
}

a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}

.coloured-links,
.coloured-links:link,
.coloured-links:visited,
.coloured-links:hover,
.coloured-links:active {
    color: rgb(2, 105, 99);
    text-decoration: underline;
}

.nav-headers {
    font-family: 'Work sans', verdana, sans-serif;
    font-size: 3vw;
    font-weight: 550;
    color: rgb(184 237 236);
    padding: 0vw;
    margin: 0;
}

img {
    width: 100%;
    height: auto;
}

p {
    margin: 0;
}

#main-image-grid {
    width: 100vw;
    display: grid;
    grid-template-rows: auto 10vw auto;
    grid-template-columns: 1fr;
}

#main-pic {
    width: 100vw;
    grid-row: 1/3;
    grid-column: 1;
}

#welcome-box {
    display: flex;
    grid-row: 2/4;
    grid-column: 1;
    align-items: center;
    justify-self: center;
    flex-wrap: nowrap;
    gap: 3vw;
    padding: 1vw;
    font-size: 2vw;
    font-family: 'Works Sans', 'nunito sans', sans-serif;
}

.fboxbgcolors {
    background-color: #bdd2e1;
}

@keyframes expandContract {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

#profile-pic {
    width: 12vw;
    height: auto;
    border: 0.2vw solid white;
    border-radius: 50%;
}

#welcome-text {
    line-height: 4vw;
    color: rgb(184 237 236);
    /* background-color: rgb(189, 210, 225, 0.8); */
    border-radius: 45%;
    padding: 1vw;
    animation: expandContract 2s ease-in-out 2;
}

#welcome-span {
    font-weight: bold;
    text-decoration: underline;
}

#serif-span {
    font-family: 'courgette', serif;
}

.pfolio-headbox {
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5vw;
    font-family: 'nunito sans' ,verdana, sans-serif;
    color: rgb(184 237 236);
    margin-top: 2.5vw;
    margin-bottom: 1.5vw;
}

.pfolio-headbox h2 {
    margin: 0;
}

.pfolio-boxes-container {
    display: flex;
    flex-direction: column;
    width: 100vw;
    align-items: center;
}

.pfolio-boxes {
    width: 70vw;
    text-align: center;
    background-color: rgb(255, 255, 255);
    box-shadow: 0.5vw 0.6vw 1vw rgb(0 0 0 / 0.5);
    margin: 2vw 0;
    padding: 1vw 0;
}

.pfolio-titles {
    font-size: 3vw;
    margin: 0;
    padding: 3vw;
}

.pfolio-images {
    width: 60vw;
    margin-bottom: 1vw;
}

.img-borders {
    border: solid 1px rgb(206, 206, 206)
}

.pfolio-text {
    line-height: 3vw;
    padding: 0 2vw;
    text-align: left;
}

.git-icons-box {
    display: flex;
    width: 70vw;
    justify-content: space-around;
}

.git-icon-p {
    padding-right: 2vw;
    text-align: right;
    margin: 1vw 0;
}

.fa-github {
    padding: 2vw 1vw;
    border: dashed 2px rgb(2, 105, 99);
    border-radius: 50%;
}

.box-separation {
    width: 90%;
    margin: 2vw;
    height: 0.01vw;
    color: rgb(184 237 236);
    background-color: rgb(184 237 236)
}

.modal-list {
    cursor: pointer;
    list-style-type: none;
    font-weight: bold;
    margin-bottom: 1vw;
    color: rgb(2, 105, 99);
    text-decoration: underline;
}

#coursesModal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

#lockModal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

#addModal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

#deleteModal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.portal-imgs {
    width: 70vw;
    height: auto;
}

.mod-boxes {
    display: flex;
    width: 70vw;
}

#contact-box {
    margin-top: 4vw;
    padding: 2vw 2vw;
    padding-bottom: 2vw;
    border-top: 1.5vw solid rgba(3, 121, 157, 0.85);
    font-family: 'nunito sans' ,verdana, sans-serif;
    line-height: 4vw;
}

#contact-box h2 {
    font-weight: bold;
    margin: 0;
}

#contact-box p {
    font-size: 2.5vw;
    padding-left: 2vw;
    font-weight: bold;
}

footer {
    background-color: rgba(3, 121, 157, 0.85);
    padding: 1vw;
}

@media only screen and (min-width: 600px) {
    .no-desktop-display {
        display: none;
    }

    .nav-headers {
        font-size: 2vw;
        font-weight: 500;
    }

    #welcome-box {
        font-size: 2vw;
        padding: 0.1vw;
    }

    #profile-pic {
        width: 12vw;
        height: auto;
        margin: 1vw;
    }

    .pfolio-headbox {
        margin-bottom: 2vw;
    }

    .pfolio-headbox h2 {
        padding-bottom: 1vw;
        border-bottom: 1px solid rgb(184 237 236);
    }

    .pfolio-boxes-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .pfolio-boxes {
        width: 40vw;
        height: 61vw;
        font-size: 1.2vw;
        box-shadow: none;

    }

    .pfolio-titles {
        font-size: 1.5vw;
        padding: 1vw;
    }

    .pfolio-images {
        width: 38vw;
    }

    .pfolio-text {
        line-height: 1.8vw;
    }

    .git-icons-box {
        width: 40vw;
    }

    .portal-modals-box {
        display: grid;
        width: 22vw;
        height: 16vw;
        margin: 2vw;
    }

    .vertical-line {
        border-left: 1px solid #9d069d;
        height: 90%;
        margin-left: 5vw;
        align-self: center;
    }

    #contact-box h2 {
        font-size: 2vw;
    }

    #contact-box p {
        font-size: 2vw;
    }
}

@media only screen and (max-width: 600px) {
    .no-mobile-display {
        display: none;
    }
}
