* {
    /* font-family: 'Times New Roman', Georgia, 'Times New Roman', Times, serif; */
    font-family: 'Montserrat', sans-serif;
}

.breakLine {
    height: 0.5px;
    border-bottom: 1px solid rgb(121, 121, 121);
    width: 100%;
}

.arrow {
    max-width: 100%;
    max-height: 100%;
}

.landingPageDiv {
    padding-bottom: 1em;
    border-radius: 1em;
}

div.landingPageDiv {
    width: 60vw;
    align-self: center;
}

.scrollForMore {
    color: white;
    margin-top: 10vh;
}

.topic {
    width: 100vw;
    height: 90vh;
    margin: auto;
    height: 100vh;
    overflow: hidden;
}
.topic#Skills, .topic#Experience, .topic#Education {
    width: 100vw;
}

.topic#Experience {
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
    box-shadow: 0 -5px 10px -5px #888;
}

.topic#contact {
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
    box-shadow: 0 -5px 10px -5px #888;
}

.topic#Education {
    border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;
    box-shadow: 0 5px 10px -5px #888;   
}

.topicTitle {
    margin-top: 5vh;
    margin-bottom: 5vh;
    margin-left: 5vw;
}

.topicColorSplit {
    height: 100%;
    background-color: #9db78a;
    display: flex;
    align-items: center;
}

.topicColorSplit#Skills {
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.topicColorSplit#Skills > div.splitItemDiv {
    box-shadow: 0 4px 10px 0px rgba(0,0,0,0.3);
}

.topicColorSplit#Skills > div.splitItemDiv > div.splitItemContent {
    color: white;
}

.topicColorSplit#Experience, .topicColorSplit#Education {
    border-top-left-radius: 1em;
    border-bottom-left-radius: 1em;
    width: 30%;
}

.topicColorSplit#Skills {
    border-top-right-radius: 1em;
    border-bottom-right-radius: 1em;
    width: 70%;
}

.splitWrapper {
    display: flex;
    width: 100%;
    height: 100%
}

.topicColorSplitTitle {
    color: white;
    margin-left: 5vw;
}

h1.topicSplitTitle {
    display: block;
    width: 40vw;
}

.splitItemDiv {
    margin: 1em;
    width: calc(100% - 4em);
    border-radius: 1em;
    box-shadow: 0 4px 10px 0px rgba(0,0,0,0.3);
    padding: 1em;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition with ease-in-out */
}

.splitItemDiv:hover {
    cursor: pointer;
}

.splitItemDiv:active {
    transform: scale(0.8); /* Scale down to 90% */
}

.splitItemContent {
    display: none;
}

.topicWhiteSplit {
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.topicWhiteSplit#Experience, .topicWhiteSplit#Education {
    width: 70%
}

.topicWhiteSplit#personal1 {
    width: 60%;
}

.topicWhiteSplit#personal2 {
    width: 40%;
}

.topicWhiteSplit#personal2>h1 {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
}

.topicWhiteSplit#personal2>p {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
}

.topicWhiteSplit#Skills {
    width: 30%;
}

div.topicColorSplit > div > h1 {
    color: white;
}

.topicWhiteSplitTitle {
    color: black;
    margin-left: 5vw;
}

h2 {
    display: inline;
}

.topic#projects {
    height: unset;
}

.topic#landingPage {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.topicWrapper#landingPage {
    background-image: url("../images/backgroundImages/background0.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 1em;
    box-shadow: 0 4px 10px 0px #888;
}

.employmentTimespan {
    font-style: italic;
}

.landingPageDiv {
    background-color: rgba(255, 255, 255, 0.8);
}

.main {
    height: 100vh;
    overflow-y: scroll;
}

html {
    height: 100vh;
    overflow: hidden;
}

body {
    margin: 0;
    height: 100vh;
}

.projectContainer {
    width: 90vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: auto;
    margin-bottom: 4em;
}

.project {
    height: 50vh;
    z-index: 1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.projectTitle {
    background-color: rgba(255, 255, 255);
    width: 90%;
    min-height: 20%;
    max-height: 50%;
    margin: auto;
    margin-bottom: 5vh;
    padding-top: 1vh;
    padding-bottom: 1vh;
    font-size: larger;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: black;
    position: absolute;
    bottom: 0;
    border-radius: 0.25em;
}

.projectLink {
    text-decoration: none;
    display: flex;
    font-weight: bold;
}

.projectCard {
    width: calc(30vw - 2em);
    margin-bottom: 2em;
    height: 50vh;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    cursor: pointer;
    box-shadow: 0 4px 10px 0px #888;
    border-radius: 2em;
}

.projectCard:hover {
    box-shadow: 0 10px 10px 5px #4b4b4b;
}

.projectCard.rotated {
    transform: rotateY(180deg);
}

.projectFront, .projectBack {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    border-radius: 1em;
}
.projectFront {
    background-color: #f1f1f1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.projectBack {
    background-color: #e4e4e4;
    transform: rotateY(180deg);
    color: black;
    flex-direction: column;
    text-align: center;
    box-shadow: inset 0 2px 2em rgba(0, 0, 0, 0.1);
}

.projectBackText {
    text-align: center;
    margin-left: 2vw;
    margin-right: 2vw;
}

.projectLink {
    margin-top: 5vh;
    border-radius: 1em;
    background-color: #9db78a;
    color: white;
    min-width: 50%;
    max-width: 80%;
    min-height: 15%;
    max-height: 50%;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 1vw;
    padding-right: 1vw;
    position: relative;
    overflow: hidden;
}

.projectLink::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -100%;
    width: 20%;
    height: 300%;
    transform: rotateZ(35deg);
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.projectLink:hover::before {
    left: 100%;
}

.projectLink span {
    position: relative;
    z-index: 1;
}

/* .projectLink:hover {
    box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.2);
} */

.profilePictureDiv {
    display: flex;
    justify-content: center;
    margin-top: 5vh;
    margin-bottom: 5vh;
}

.profilePicture {
    width: 50%;
}

div.formDiv{
    width: 90vw;
    margin-left: 5vw;
}

.contactForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contactForm label {
    font-size: 1em;
    color: #333;
    text-align: left;
}

.contactForm input,
.contactForm textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.contactForm textarea {
    height: 100px;
    resize: vertical;
}

.contactForm button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #0077b5;
    color: white;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contactForm button:hover {
    background-color: #005582;
}

.linkedinWrapper {
    margin-top: 20px;
}

.linkedinButton {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #0077b5;
    color: white;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.linkedinButton:hover {
    background-color: #005582;
}

h2.text {
    display: block;
}

.slideShowWrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.previousImage {
    height: 100%;
    width: 15%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.nextImage {
    height: 100%;
    width: 15%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.previousButton {
    height: 3em;
    width: 3em;
    font-size: xx-large;
    display:flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5em;
    box-shadow: 0 4px 10px 0px #888;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition with ease-in-out */
}

.previousButton:hover {
    cursor: pointer;
}

.previousButton:active {
    transform: scale(0.8); /* Scale down to 90% */
    box-shadow: 0 4px 10px 0px #4b4b4b; /* Optionally adjust shadow */
}

.nextButton {
    height: 3em;
    width: 3em;
    font-size: xx-large;
    display:flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5em;
    box-shadow: 0 4px 10px 0px #888;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition with ease-in-out */
}

.nextButton:hover {
    cursor: pointer;
}

.nextButton:active {
    transform: scale(0.8); /* Scale down to 90% */
    box-shadow: 0 4px 10px 0px #4b4b4b; /* Optionally adjust shadow */
}

.imageDisplay {
    height: 100%;
    width: 60%;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
}

.slideShowImage {
    max-width: 100%;
    max-height: 100%;
}

@media only screen and (max-width: 500px) {
    .projectContainer {
        flex-wrap: unset;
        flex-direction: column;
    }

    .projectCard {
        width: 90vw;
        height: 60vh;
        box-shadow: inset 0 0 0 5px white;
    }

    .topic {
        width: 90vw;
    }

    div.formDiv {
        width: 90vw;
    }

    .topicColorSplit#Experience {
        height: 30%;
        width: 100%;
        border-radius: 0;
        border-top-left-radius: 1em;
        border-top-right-radius: 1em;
    }

    .topicWhiteSplit#Experience {
        height: unset;
        max-height: 70%;
        width: 100%;
        border-bottom-left-radius: 1em;
        border-bottom-right-radius: 1em;
    }
    
    .splitWrapper {
        height: unset;
        flex-direction: column;
    }
    
    h1.topicSplitTitle {
        width: calc(100% - 10vw);
    }
    
    .topic#Experience {
        height: unset;
    }

    .topicWhiteSplit#Skills {
        background-color: #9db78a;
        width: 100%;
        height: 30%;
    }

    .topicWhiteSplit#Skills>h1 {
        color:white;

    }

    .topicColorSplit#Skills {
        width: 100%;
        height: unset;
        background-color: white;
    }

    .topicColorSplit#Skills>div>h1 {
        color: black;
    }

    .topicColorSplit#Skills>div>div>p {
        color: black;
    }

    .topic#Skills {
        height: unset;
    }

    .topicColorSplit#Education {
        width: 100%;
        height: 30%;
        border-radius: 0;
    }

    .topicWhiteSplit#Education {
        width: 100%;
        height: unset;
    }

    .topic#Education {
        height: unset;
    }

    .topic#personal {
        margin-top: 2vh;
    }

    .topic#personal > .splitWrapper {
        flex-direction: column-reverse;
    }

    .topicWhiteSplit#personal2 {
        width: 100%;
    }

    .topicWhiteSplit#personal1 {
        width: 100%;
        margin-bottom: 1em;
    }

    .slideShowWrapper {
        align-items: center;
        justify-content: space-evenly;
    }

    .imageDisplay {
        height: 50vh;
    }

    .previousImage {
        width: 10%;
        z-index: 10;
    }
    
    .nextImage {
        width: 10%;
        z-index: 10;
    }

    .nextButton {
        font-size: large;
    }

    .previousButton {
        font-size: large;
    }

    .topic#contact {
        width: 100%;
    }

    .projectBackText {
        margin-left: 5vw;
        margin-right: 5vw;
    }

    .projectLink {
        padding-left: 5vw;
        padding-right: 5vw;
    }
    
    .projectCard:hover {
        box-shadow: 0 4px 10px 0px #888;
    }

    .topic#personal {
        height: unset;
    }

    .topic#contact {
        height: unset;
        margin-bottom: 5vh;
    }

}


