@font-face {
    font-family: 'Aurellie Calestion';
    src: url('../fonts/Aurellie Calestion.ttf') format('truetype');
}

@font-face {
    font-family: 'Aurenne Calloura';
    src: url('../fonts/Aurenne Calloura.ttf') format('truetype');
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Aurenne Calloura', serif;
    background: #2f1f3f url('../images/bg.png') top center repeat;
    color: #ffffff;
    line-height: 1.6;
    font-size:17px;
    letter-spacing: 1px;
}

h1 {
    text-align: center;
    margin: 60px auto;
    font-size:40px;
    font-weight: 100;
}

h2 {
    text-align: center;
    margin: 0.5em 0;
    font-size:20px;
    font-weight: 100;
}

h3 {
    font-size: 30px;
    margin:20px 0 0;
    padding:0;
    font-weight: 100;
}

.header {
    text-align: center;
    padding: 3em 1em;
}

.header img {
    width:50%;
}

.highlight-script {
    font-family: 'Aurellie Calestion', cursive;
    color: #FDB935;
    font-size: 1.3em;
}

.intro-text {
    width: 1100px;
    margin:0 auto;
    text-align: justify;
    text-align-last: center;
    font-size:20px;
}

.download-buttons {
    margin-top: 20px;
}

.download-buttons button {
    background-color: #FDB935;
    color: #000;
    border: none;
    padding: 10px 30px;
    margin: 0 10px;
    font-family: 'Aurellie Calestion', cursive;
    font-size: 18px;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.download-buttons button:hover {
    background-color: #C89035;
}

.search-section {
    padding: 30px 10px 40px;
    text-align: center;
}

.search-icon {
    font-size: 1.2em;
    color: white;
    width:40px;
    height:40px;
    margin-left: 10px;
    margin-right: 10px;
    background:transparent url('../images/magnifying_glass.png') top center no-repeat;
    background-size: contain;
}

.input-wrapper, .textarea-wrapper {
    display: flex;
    align-items: flex-start;
    background-color: #FDB935;
    border-radius: 14px;
    padding: 5px;
    width: 90%;
    max-width: 700px;
    margin: 5px auto;
    box-sizing: border-box;
    position: relative;
}

.textarea-wrapper {
    width:100%;
    display:block;
}

.input-wrapper input {
    flex-grow: 1;
    padding: 10px 10px 10px 20px;
    font-size: 22px;
    border: none;
    outline: none;
    background-color: #C89035;
    color: #fff;
    border-radius: 10px;
    font-family: 'Aurenne Calloura', sans-serif;
}

.input-label, .textarea-label {
    background-color: #FDB935;
    text-align: left;
    width:80px;
    color:#FFF;
    padding: 7px 10px 0;
    font-size:20px;
}

.textarea-label {
    position:absolute;
    background:transparent url('../images/message_bg2.png') top left no-repeat;
    background-size: cover;
    height:40px;
    width:110px;
    box-sizing: border-box;
}

textarea {
    width:100%;
    height:170px;
    padding: 12px 10px;
    margin-bottom: 5px;
    border-radius: 10px;
    border: none;
    font-size: 23px;
    color: #FFF;
    background-color: #C89035;
    box-sizing: border-box;
    text-indent: 110px;
    font-family: 'Aurenne Calloura', sans-serif;
    line-height: 120%;
}

textarea {
    resize: none;
}

textarea:focus {
    border:none;
    outline:none;
}

.captcha-container {
    margin:0 auto 10px;
    width:300px;
}

input::placeholder {
    color: #FFF;
}

.search-wrapper input::placeholder {
    color: #fff;
    opacity: 0.8;
}

.stripe {
    background: transparent url('../images/stripe.png') top center no-repeat;
    height:9px;
    width:300px;
    margin:0 auto;
}

#songList {
    max-height: 400px;
    width:700px;
    overflow-y: auto;
    display: none;
    position: relative;
    border-radius: 10px;
    margin: 10px auto 0;   
    background-color: #FDB935;
    padding:5px;
}

.song-item {
    display:flex;
    align-items: center;
    margin:5px 0;
    padding: 5px 10px;
    font-size:18px;
    background-color: #C89035;
    border-radius: 10px;
    position: relative;
}

.song-item span {
    text-align: left;
    display:inline-block;
    width:80%;
}

.song-item a {
    position: absolute;
    right:10px;
}

.song-item a button {
    background-color: #FDB935;
    color:#FFF;
    padding:5px 10px;
    font-size:16px;
    border-radius: 10px;
    cursor: pointer;
}

.song-item a button:hover {
    background-color: #C89035;
}

#songList::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    height: 30px;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
    display: none;
}

#scrollHint {
    display: none;
    text-align: center;
    font-size: 0.9em;
    color: #FFF;
    margin-top: 5px;
}

#no-results-message {
    display:none;
    background-color: #C89035;
    border-radius: 10px;
    color:#FFF;
    padding: 10px 0;
    font-size:20px;
}

.form-section {
    padding: 20px 10px 50px;
    text-align: center;
}

.memory-section {
    padding: 20px 0 0px;
    text-align: center;
    width:1200px;
    margin:0 auto;
    position: relative;
}

.memory-content {
    display: flex;
    flex-direction: column;
    align-items:flex-start;
    margin: 20px auto;
}

.memory-signature {
    width:600px;
    margin-top:-20px;
}

.memory-image {
    width: 450px;
    margin-right:30px;
    flex-wrap: wrap;
}

.memory-text {
    max-width: 650px;
    text-align: justify;
    text-align-last: center;
    line-height: 1.7;
}

blockquote {
    margin: 20px 0 0;
    color: #eee;
}

blockquote .highlight {
    color: #FDB935;
    font-size:20px;
}

footer {
    position:relative;
}

footer .highlight-script {
    position: absolute;
    top:10px;
    right:5px;
    font-size:18px;
}

.page-bottom {
    margin-top:150px;
    font-size:10px;
    font-family:arial;
}

.page-bottom a {
    color:#FFF;
}

#feedback {
    display: none;
    font-size: 23px;
    text-align: center;
    padding: 5px 0 0;
    margin: 25px auto;
    border-radius: 10px;
    background-color: #C89035;
    border:5px solid #FDB935;
    color:#FFF;
    transition: background-color 0.3s ease, color 0.3s ease;
    max-width:700px;
    box-sizing: border-box;
}

#feedback.error {
    color: #000;
}

/* Mobile breakpoint */
@media (max-width: 850px) {

    .header img {
        width:100%;
    }

    body {
        font-size:15px;
    }

    .intro-text {
        width: 100%;
        font-size:inherit;
    }

    .download-buttons button {
        width:60%;
        margin:0 auto 10px;
    }

    #songList {
        width:100%;
        box-sizing: border-box;
    }

    .song-item span {
        font-size: 14px;
    }

    .song-item a button {
        font-size: 0;
        padding:2px 7px;
    }

    .song-item a button::before {
        content: "↓";
        font-size: 18px;
    }

    .input-wrapper input {
        width:60%;
    }

    .textarea-wrapper {
        width:90%;
    }

    .captcha-container {
        width:60%;
    }

    .memory-section {
        width:100%;
    }

    .memory-signature {
        width:80%;
    }

    .memory-content {
        margin-top:-20px;
    }

    table tr {
        display: block;
    }

    table tr td {
        display: block;
        width:100%;
    }

    .memory-image {
        width: 50%;
        margin:inherit;
    }

    .memory-text {
        max-width:100%;
        text-align: justify;
        text-align-last: center;
        line-height: 1.7;
        box-sizing: border-box;
        padding:0 10px;
    }
}