@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhaijaan+2:wght@400..800&family=Schoolbell&family=Stick+No+Bills:wght@200..800&display=swap');
/* importing all fonts necessary for the website */

html, body {
    position: relative;
    margin: 0;
    background-color: rgb(44, 44, 44);
    font-family: "Baloo Bhaijaan 2", sans-serif;
    scroll-behavior: smooth;
}

.background_parallax {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.parallax_image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0); /* not just X! */
    height: auto;
    min-height: 150vh; /* taller than screen */
    width: 105%;
    max-width: none;
    will-change: transform;
    filter: blur(15px);
}

main {
    position: relative;
    width: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}

.title {
    height: 100vh;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.title_text {
    height: fit-content;
    color: #fff;
    font-family: "Schoolbell", cursive;
    position: relative;
    will-change: transform;
}



/* --------------------------------------------------------------- main page --------------------------------------------------------------------------------- */


.page {
    margin-bottom: 20vh;
    padding-top: 10vh;
    padding-bottom: 20vh;
    width: 60vw;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5vh;
    background-color: #fffff1;
}


/* setting the general fonts per text type for the whole website */
.page h1 {
    font-family: "Stick No Bills", sans-serif;
    text-align: center;
    font-size: 450%;
    font-weight: 600;
}

.page h2 {
    font-family: "Stick No Bills", sans-serif;
    font-size: 280%;
    font-weight: 600;
}

.page h3 {
    font-size: 150%;
}

.page p {
    font-family: "Baloo Bhaijaan 2", sans-serif;
    font-size: 110%;
}


#welcome_text {
    font-size: 20px;
}

/* a line to separate content on the page */
.separator_line {
    content: '';
    position: relative;
    top: 0;
    height: 2px;
    width: 90%;
    background: #ccc;
}

.content_container {
    margin-top: 5vh;
    margin-bottom: 15vh;
    display: flex;
    flex-direction: column;
    gap: 5vh;
}

/* code for the navigation buttons of the content */
.content {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 1vh;
}

.content_intro_button {
    padding-block: 10px;
    padding-inline: 20px;
    font-family: "Schoolbell", cursive;
    font-size: 30px;
    color: #000;
    display: flex;
    align-items: center;
    text-align: center;
    gap: .5em;
    user-select: none;
    text-decoration: none;
}

/* creates lines around the text for decoration */
.content_intro_button::before,
.content_intro_button::after {
  content: "";
  flex: 1;
  height: 2px;
  width: 100px;
  background: #000;
}

.content_intro_button p {
    margin: 0;
    font-family: inherit;
}


/* when you hover or click on the text it highlights it with a line */
.content_intro_button p:hover {
    text-decoration: wavy underline;
    text-decoration-skip-ink: none; /* makes sure the lines is completely solid and doesnt have gaps because of the text */
    text-decoration-color: red;
    cursor: pointer;
    z-index: 1;
}
.content_intro_button p:active {
    text-decoration: none;
    color: red;
}


.content_button {
    min-width: 100px;
    padding-block: 10px;
    padding-inline: 20px;
    font-family: "Schoolbell", cursive;
    font-size: 25px;
    color: #000;
    position: relative;
    text-align: center;
    justify-content: center;
    user-select: none;
    text-decoration: none;
    
}


/* places separation lines between the buttons to visually separate them */
.content_button:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: -10%;
  height: 120%;
  width: 2px;
  background: #333;
}

.content_button p {
    margin: 0;
    font-family: inherit;
}

/* when you hover or click on the text it highlights it with a line */
.content_button p:hover {
    text-decoration: wavy underline;
    text-decoration-color: red;
    cursor: pointer;
}
.content_button p:active {
    text-decoration: none;
    color: red;
}

.content_choice {
    display: flex;
}

.textbox {
    width: 70%;
    text-align: center;
}

.page_content {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page_content .textbox {
    margin-left: auto;
    margin-right: auto;
}


/* centers everything within the pages, like buttons and all other divs */
.page_content_devider {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.drawing_container {
    width: 15vw;
    height: 15vw;
    aspect-ratio: 1 / 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.empty {
    width: 15vw;
    height: 15vw;
    aspect-ratio: 1 / 1;
}

.a4_vert, .a4_hori, .square {
    max-width: 100%;
    max-height: 100%;
    padding: 1vw;
    box-sizing: border-box; /* makes sure that the padding does not interfere with the size of the box  */
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.photo_hori, .photo_vert {
    max-width: 100%;
    max-height: 100%;
    box-sizing: border-box; /* makes sure that the padding does not interfere with the size of the box  */
    background-color: #fff;
    border: 5px solid rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: center;
}
.a4_vert img, .a4_hori img, .square img, .photo_vert img, .photo_hori img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}

/* keeps the images in their intended aspect ratio */
.a4_vert {
    aspect-ratio: 1 / 1.4142;
}
.a4_hori {
    aspect-ratio: 1.4142 / 1;
}
.square {
    aspect-ratio: 1 / 1;
}
.photo_vert {
    box-sizing: content-box;
    aspect-ratio: 2 / 3;
}
.photo_hori {
    box-sizing: content-box;
    aspect-ratio: 3 / 2;
}


/* ----------------------------------------------------------------- button shenanigans ----------------------------------------------------------------------- */

.page_paper_dropdown {
    font-family: "Schoolbell", cursive;
    font-size: 20px;
    color: rgb(107, 0, 0);
    position: relative;
    height: 50px;
    width: 100px;
    border: 0;
    padding: 0;
    border-radius: 25px;
    transition: .3s;
}


/* Coding the the two different states of the button(s) */
.page_paper_dropdown.off {
    background-color: #fdcfcf;
    transition: .3s;
}
.page_paper_dropdown.off:hover {
    background-color: #db9090;
    color: rgb(255, 197, 197);
    transition: .1s;
}
.page_paper_dropdown.off:active {
    background-color: #ca1818;
    color: #ffe1e1;
    transition: 0s;
}
.page_paper_dropdown.off::after {
    content: '';
    position: absolute;
    display: block;
    box-sizing: border-box;
    top: calc(50% - 10px);
    left: -65px;
    height: 0px;
    width: 60px;
    border-block: 10px solid #ffebe3;
    border-left: 8px solid transparent;
    transition: .3s, border-left .1s;
}
.page_paper_dropdown.off::before {
    content: '';
    position: absolute;
    display: block;
    box-sizing: border-box;
    top: calc(50% - 10px);
    right: -65px;
    height: 0px;
    width: 60px;
    border-block: 10px solid #ffebe3;
    border-right: 8px solid transparent;
    transition: .3s, border-right .1s;
}

.page_paper_dropdown.on {
    background-color: #201b1b;
    width: 50px;
    border-radius: 25px;
    transition: .3s;
}
.page_paper_dropdown.on:hover {
    background-color: #fdcfcf;
    transition: .2s;
}
.page_paper_dropdown.on:active {
    background-color: #ca1818;
    transition: 0s;
}
.page_paper_dropdown.on::before {
    content: '';
    position: absolute;
    display: block;
    box-sizing: border-box;
    top: calc(50% - 10px);
    right: -5px;
    height: 0px;
    width: 0px;
    border-block: 10px solid #ecece0;
    border-right: 0px solid transparent;
    transition: .3s, border-right .1s;
}
.page_paper_dropdown.on:hover::before {
    content: '';
    position: absolute;
    display: block;
    box-sizing: border-box;
    top: calc(50% - 10px);
    right: -25px;
    height: 0px;
    width: 20px;
    border-block: 10px solid #ffebe3;
    border-right: 8px solid transparent;
    transition: .3s, border-right .1s;
}
.page_paper_dropdown.on::after {
    content: '';
    position: absolute;
    display: block;
    box-sizing: border-box;
    top: calc(50% - 10px);
    left: -5px;
    height: 0px;
    width: 0px;
    border-block: 10px solid #ecece0;
    border-left: 0px solid transparent;
    transition: .3s, border-left .1s;
}
.page_paper_dropdown.on:hover::after {
    content: '';
    position: absolute;
    display: block;
    box-sizing: border-box;
    top: calc(50% - 10px);
    left: -25px;
    height: 0px;
    width: 20px;
    border-block: 10px solid #ffebe3;
    border-left: 8px solid transparent;
    transition: .3s, border-left .1s;
}



/* ------------------------------------------------------ general grid for all image display -------------------------------------------------------- */
.page_personal_paper_grid {
    width: 60vw;
    margin-bottom: 10vh;
    /* padding-block: 10vh; */
    display: grid;
    justify-content: center;
    position: relative;
    grid-template-columns: auto auto auto;
    gap: 2vw;
    background-color: #201b1b;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease-in-out, padding-block 0.8s ease-in-out;
}

.grid_triangle {
    position: absolute;
    width: 0;
    height: 0;
    border: 30vw solid transparent;
    border-bottom: 0px solid transparent;
    border-top: 50px solid #fffff1;
    top: 0px;
    z-index: 1;
}