:root {
    --menubar-height: 50px;
    --menubar-selector-height: 62px;
    --smaller-text: 18px;
    --bigger-text: 45px;
    --title-text: 200px;
}

html{
    scroll-snap-type: y mandatory;
}
* {
    margin: 0;
    padding: 0;
}
body {
    background-image: url('background.jpg');
    background-color: rgb(29,29,29);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
    scroll-behavior: smooth;
}

.menu_item > button {
    position: relative;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
}

.menubar_body {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    background: rgba(250, 250, 250, 0.7);
    backdrop-filter: blur(12px);
    box-shadow: 1px 1px 12px rgba(0,0,0,0.5);
    border-radius: 30px;
    align-items: center;
    width: 600px;
    height: var(--menubar-height);
    justify-content: space-around;
    margin-top: 20px;
    z-index: 100;
}
.menu_item {
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    border-radius: 30px;
    height: var(--menubar-height);
}
.menu_text {
    transition: 0.5s;
    font-size: var(--smaller-text);
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
    color: rgba(55, 55, 55, 1);
}
.menu_selector {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 150px;
    height: var(--menubar-selector-height);
    background-color: rgba(55, 55, 55, .8);
    backdrop-filter: blur(3.5px);
    box-shadow: 0.25px 0.25px 6px rgba(0,0,0,0.5);
    border-radius: 30px;
    margin-right: 450px;
    transition: 0.4s ease-in-out;
}
#menu_text_1 {
    color: #ffffff;
}

#menu_item_1:hover{
    #menu_text_1{
        color: black;
    }
}
#menu_item_2:hover{
    #menu_text_2{
        color: black;
    }
}
#menu_item_3:hover{
    #menu_text_3{
        color: black;
    }
}
#menu_item_4:hover{
    #menu_text_4{
        color: black;
    }
}

.title {
    color: white;
    font-size: var(--title-text);
    text-shadow: 0 8px 12px rgba(0,0,0,0.5);
    font-weight: bolder;
    text-align: center;
    vertical-align: middle;
    width: 100vw;
    padding-top: 35vh;
}

.bg_blur {
    position: absolute;
    backdrop-filter: blur(4px);
    width: 100%;
    height: 500%;
    z-index: -1;
}
.notes_cont {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
    height: 85vh;
    top: 10vh;
}
.note {
    width: 31%;
    height: 40vh;
    background: rgba(250, 250, 250, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 35px;
    box-shadow: 2.5px 2.5px 20px rgba(0,0,0,0.5);
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-in-out;
    position: relative;
}

.scroll {
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
}

.subnote {
    background: rgba(250, 250, 250, 0.5);
    backdrop-filter: blur(2px);
    width: 90%;
    height: 60%;
    border-radius: 35px;
    box-shadow: 0.1px 0.5px 10px rgba(0,0,0,0.5);
    z-index: 2;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.goto_button {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 90%;
    width: 200px;
    height: 65px;
    background-color: rgba(55, 55, 55, 1);
    box-shadow: 3px 2px 6px rgba(0,0,0,0.5);
    text-shadow: 2px 1px 6px rgba(0,0,0,0.5);
    color: rgb(240,240,240);
    border-radius: 20px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    font-size: var(--smaller-text);
    transition: 0.2s;
}

.goto_button:hover {
    scale: 1.05;
    transition: 0.2s;
}
.note_title {
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    font-size: var(--bigger-text);
    text-shadow: 1px 0.5px 2px rgba(0,0,0,0.5);
    color: rgb(55, 55, 55);
    text-align: center;
}

.about_cont {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about_cont_background {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    width: 96%;
    height: 860px;
    background: rgba(250, 250, 250, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 35px;
    box-shadow: 2.5px 2.5px 20px rgba(0,0,0,0.5);
}
.about_text_cont {
    width: 90%;
    height: 80%;
    padding: 3rem;
    background: rgba(250, 250, 250, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 35px;
    box-shadow: 2.5px 2.5px 20px rgba(0,0,0,0.5);
}
.iframe{
    width: 95%;
    height: 95%;
    position: relative;
    display: none;
    border-radius: 25px;
}
.note.expanded {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    margin: 0;
    flex: none; /* Override flex during expansion */
}
.note.hidden {
    display: none;
}
.back_button{
    border-radius: 50%;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    left: 0;
    background: rgb(255, 255, 255, 0.8);
    display: none;
}
.contact_cont{
    display: flex;
    justify-content: center;
    align-items: center;
}
.image{
    width: 500px;
    height: 500px;
}