/* Imported from my custom squarespace CSS */


/* #TopPart */

.bg-img {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    height: 100vh;
    max-height: fit-content;
}

#HnSMain {
    background-image: url("../images/HacknSlash/H&S05.JPG");
}

@media (max-width: 767px) {
    #HnSMain {
        background-position: left;
    }
}

#rtMain {
    background-image: url("../images/RayTracing/HDaa2.jpg");
}

#rsMain {
    background-image: url("../images/RiverSide/Riverside.JPG");
}

#tiMain {
    background-image: url("../images/ThalesIntership/OrbLINK.png");
}

@media (max-width: 767px) {
    .card {
        display: flex;
        flex-direction: column;
        color: #ffffff;
        font-size: 1em;
        height: 80vh;
        background-color: #2f4a7980;
        border-radius: 1.5em;
        box-shadow: 0px 0px 10px black;
        padding: 1.5em;
    }
    .card h1 {
        font-size: 2em;
        font-weight: bolder;
    }
    .card #projectSummary {
        margin-top: auto;
        font-size: 2em;
    }
    .gitlabLink {
        font-size: 1em;
        text-align: right;
    }
    .card a {
        color: #ffffff;
        font-weight: bold;
        text-decoration: underline;
    }
    .card #scroll {
        align-self: flex-end;
        margin-top: auto;
    }
}

@media (min-width: 767px) {
    #empty {
        display: block;
        width: 100vw;
        height: 10vh;
        resize: none;
        flex-shrink: 0;
    }
    .card {
        display: flex;
        flex-direction: column;
        color: #ffffff;
        font-size: 1.5em;
        min-height: 45vh;
        background-color: #2f4a7980;
        border-radius: 1.5em;
        box-shadow: 0px 0px 10px black;
        padding: 1.5em;
    }
    .card h1 {
        font-size: 1.5rem;
        font-weight: bolder;
    }
    .card #projectSummary {
        font-size: 2em;
    }
    .gitlabLink {
        font-size: 1em;
        float: right;
        text-align: right;
    }
    .card a {
        color: #ffffff;
        font-weight: bold;
        text-decoration: underline;
    }
    .card #scroll {
        align-self: flex-end;
        float: right;
        margin-top: auto;
    }
}

@media (min-width: 1300px) {
    .card {
        width: 60vw;
        max-width: 60vw;
    }
}


/* #ContentPart */


/* .column img {
    width: 100%;
} */

img.column {
    width: 100%;
}

@media (min-width: 767px) {
    img.column {
        width: 50%;
    }
}

.projectContent {
    padding: 1em;
}

.projectContent a {
    color: inherit;
}

.projectContent h2 {
    color: black;
    font-size: 1.4em;
    font-weight: bold;
    padding-bottom: 1em;
}

@media(min-width: 767px) {
    .reverse-colums {
        flex-direction: row-reverse;
    }
}


/* #BottomPart */

@media (min-width:767px) {
    .bottomLinks {
        position: relative;
        font-size: 2em;
        height: 5vh;
    }
    #previousLink {
        display: inline-block;
        position: absolute;
        left: 0;
    }
    #nextLink {
        display: inline-block;
        position: absolute;
        right: 0;
    }
}

@media (max-width:767px) {
    .bottomLinks {
        font-size: 2em;
    }
}