:root {
    --darkBrown: #330602;
    --lightBrown: #a72b0c;
    --darkPink: #c38883;
}

html {
    height: 100%;
    overflow: auto;
}
body {
    height: 100%;
}

.slideshow {
    width: 55%;
    max-height: 100vh;
    position: sticky;
    top: 0;
    left: 0;
}

.content {
    background-color: var(--darkBrown);
    width: 45%;
    color: white;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

section {
    padding: 2rem 2rem;
    min-height: 100vh;
    scroll-snap-align: start;
}

section p {
    font-size: 18px;
    color: var(--darkPink);
}

img {
    height: 100vh;
    object-fit: cover;
}

.title {
    width: fit-content;
    background-color: var(--lightBrown);
    padding: 5px 20px;
    margin-left: 10px;
    letter-spacing: 5px;
}

.bordered-content {
    font-size: 18px;
    color: var(--darkPink);
    font-weight: 600;
    padding: 20px 20px;
    border: 1px solid var(--lightBrown);
    margin-top: -30px;
}

.first {
    padding: 40px 20px 20px;
}

.stacked {
    margin-top: 0;
    margin-bottom: 0;
}

.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.logo img {
    height: 50px;
}

.content-container {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.dark-pink-text {
    color: var(--darkPink);
}

.light-brown-text {
    color: var(--lightBrown);
}

.non-selectable-text {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

body {
    font-family: "Josefin Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Fira Sans", sans-serif;
}

.bounce {
    animation-name: bounce;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0.28, 0.84, 0.42, 1);
}

form p {
    margin-bottom: 0;
}
form input, form textarea {
    margin-bottom: 15px;
    width: 100%;
    background-color: transparent;
    outline: none;
    border: none;
    border-bottom: 2px solid var(--darkPink);
    color: var(--darkPink);
}

textarea {
    resize: none;
}

.submit-button{
    background-color: var(--lightBrown);
    border: none;
    outline: none;
    color: white;
    padding: 5px 30px;
    transition: all 0.5s ease;
    font-weight: 700;
}

.submit-button:hover{
    background-color: var(--darkPink);
    color: black;
}

@keyframes bounce {
    0% {
        transform: scale(1, 1) translateY(0);
    }
    10% {
        transform: scale(1.1, 0.9) translateY(0);
    }
    30% {
        transform: scale(0.9, 1.1) translateY(-20px);
    }
    50% {
        transform: scale(1.05, 0.95) translateY(0);
    }
    57% {
        transform: scale(1, 1) translateY(-7px);
    }
    64% {
        transform: scale(1, 1) translateY(0);
    }
    100% {
        transform: scale(1, 1) translateY(0);
    }
}

@media (max-width: 950px) {
    .slideshow {
        position: relative;
    }
    .content-container {
        flex-direction: column;
    }
    .slideshow {
        width: 100%;
    }
    .slideshow .carousel-item img {
        height: 50vh;
    }
    .content {
        width: 100%;
        border-left: unset;
        padding: 0;
        height: auto;
        overflow: auto;
    }
    section {
        padding: 1rem 2rem;
    }
}

.flex-column-space-between {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.projects {
    height: 300px;
    transition: transform .2s;
}

.projects:hover {
    transform: scale(1.5);
}

/* Hide number input arrows */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-thumb {
    background: var(--lightBrown);
    border-radius: 15px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--darkPink);
}
::-webkit-scrollbar-track {
    background: #330602;
    border-radius: 15px;
    box-shadow: inset 7px 10px 12px #110201;
}