@font-face {
    font-family: Caladea;
    src: url(assets/fonts/Caladea-Regular.ttf);
}

@font-face {
    font-family: ChopinScript;
    src: url(assets/fonts/ChopinScript.ttf);
}

@font-face {
    font-family: DavidCLM;
    src: url(assets/fonts/DavidCLM-Bold.otf);
}

html,body{
    margin: 0;
    padding: 0;
    background-image: url(assets/images/RWD_BK2.GIF);
    background-repeat: repeat;
    background-blend-mode: multiply;
    background-color: #c1c428;
    /*background-size: cover;*/
    height: 100%;
    width: 100vw;
}

body > footer {
    position: sticky;
    top: 100vh;
}

h1, p {
    margin: 0;
}


.main_page {
    height: auto;
}

.section_title_box {
    margin-top: 40px; margin-bottom: 40px;
    margin-left: 15%; margin-right: 15%;

    background: rgba(255, 231, 215, 0.4);
    border-radius: 12px;
    
    font-family: Tahoma, sans-serif;

    padding: 8px;
    padding-bottom: 24px;;
    text-align: center;
}


.section_box {
    position: relative;
    margin: 1.5% auto 1.5% auto;
    
    min-width: min-content;
    max-width: 60vw;

    padding: 0.5% 1% 0% 1%;

    background: rgba(230, 192, 167, 0.4);
    border-radius: 12px;
    
    font-family: Tahoma, sans-serif;
    font-size: 80%;
}

.section_double {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    align-content: center;

    padding: 0px 16px 32px 0px;
}

.text_double {
    width: auto;
    margin: 0;
    
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: start;
    align-content: space-between;

    font-size: 16px;
    line-height: 200%;
    
    padding-top: 0;
}

.text_double .top_text {
    width: 100%;
    flex: 0 0 auto;
}

.text_double .bottom_text {
    width: 100%;
    flex: 0 1 auto;
} 

.music_player {
    width: 400px;
    margin-top: 8px;
}

.sub_box {
    min-height: 1px;
    width: 100%;
    align-content: top; 
    padding: 16px;
    padding-top: 8px;
    position: sticky;

    word-break: break-word;
    font-size: 1vw;
    line-height: 160%;
    font-weight: 0;
}

.title_text {
    font-size: 2.6vw;
    font-family: Caladea;
    color: rgb(16, 22, 1);
}

.subtitle {
    font-size: 1.2vw;
    font-family: Garamond, serif;
    color: rgb(5, 36, 3);
}

.image_section {
    vertical-align: middle;
    height: auto;
    max-width: 40vw;
    width: auto;

    background: rgba(100, 78, 52, 0.2);
    text-align: center;
    border-radius: 8px;
    padding-bottom: 8px;

    font-family: 'Times New Roman', Times, serif;
}

.misc_image {
    filter: drop-shadow(3px 3px rgba(0, 0, 0, 0.7));
    padding: 8px;
    padding-bottom: 4px;
}

@media screen and (max-width: 840px) {
    .section_box {
        margin: 2% auto 2% auto;
        max-width: 80vw;
    }

    .section_double {
        padding: 0px 8px 16px 0px;
    }

    .sub_box {
        font-size: 1.8vw;
        padding: 8px;
        padding-top: 4px;
    }

    .title_text {
        font-size: 4.6vw;
    }

    .subtitle {
        font-size: 2.3vw;
    }

}

.section_title {
    padding: 8px;
    padding-bottom: 24px;;
    text-align: center;
}

.section_footer {
    padding: 8px;
    text-align: center;
}