/* @font-face {
    font-family: 'BrandG_bld_it';
    src: url('Fonts/brandon-grotesque/Brandon_bld_it.woff2') format('woff2');
}

@font-face {
    font-family: 'BrandG_bld';
    src: url('Fonts/brandon-grotesque/Brandon_bld.woff2') format('woff2');
}

@font-face {
    font-family: 'BrandG_blk_it';
    src: url('Fonts/brandon-grotesque/Brandon_blk_it.woff2') format('woff2');
}

@font-face {
    font-family: 'BrandG_blk';
    src: url('Fonts/brandon-grotesque/Brandon_blk.woff2') format('woff2');
}

@font-face {
    font-family: 'BrandG_light_it';
    src: url('Fonts/brandon-grotesque/Brandon_light_it.woff2') format('woff2');
}

@font-face {
    font-family: 'BrandG_light';
    src: url('Fonts/brandon-grotesque/Brandon_light.woff2') format('woff2');
}

@font-face {
    font-family: 'BrandG_med_it';
    src: url('Fonts/brandon-grotesque/Brandon_med_it.woff2') format('woff2');
}

@font-face {
    font-family: 'BrandG_med';
    src: url('Fonts/brandon-grotesque/Brandon_med.woff2') format('woff2');
}

@font-face {
    font-family: 'BrandG_reg_it';
    src: url('Fonts/brandon-grotesque/Brandon_reg_it.woff2') format('woff2');
}

@font-face {
    font-family: 'BrandG_reg';
    src: url('Fonts/brandon-grotesque/Brandon_reg.woff2') format('woff2');
}

@font-face {
    font-family: 'BrandG_thin_it';
    src: url('Fonts/brandon-grotesque/Brandon_thin_it.woff2') format('woff2');
}

@font-face {
    font-family: 'BrandG_thin';
    src: url('Fonts/brandon-grotesque/Brandon_thin.woff2') format('woff2');
} */


/* REDEFINE */

@font-face {
    font-family: 'BrandG';
    src: url('Fonts/brandon-grotesque/Brandon_bld_it.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'BrandG';
    src: url('Fonts/brandon-grotesque/Brandon_bld.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'BrandG';
    src: url('Fonts/brandon-grotesque/Brandon_blk_it.woff2') format('woff2');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'BrandG';
    src: url('Fonts/brandon-grotesque/Brandon_blk.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'BrandG';
    src: url('Fonts/brandon-grotesque/Brandon_light_it.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'BrandG';
    src: url('Fonts/brandon-grotesque/Brandon_light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'BrandG';
    src: url('Fonts/brandon-grotesque/Brandon_med_it.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'BrandG';
    src: url('Fonts/brandon-grotesque/Brandon_med.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'BrandG';
    src: url('Fonts/brandon-grotesque/Brandon_reg_it.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'BrandG';
    src: url('Fonts/brandon-grotesque/Brandon_reg.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'BrandG';
    src: url('Fonts/brandon-grotesque/Brandon_thin_it.woff2') format('woff2');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'BrandG';
    src: url('Fonts/brandon-grotesque/Brandon_thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
}


/* styles.css */

:root {
    font-size: 1.7vmin;
    font-family: 'BrandG';
    font-weight: 500;
}


body {
    font-size: 1rem;
    color: aliceblue;
    /* -webkit-text-stroke: 0.02em navy; */
    scroll-behavior: smooth;
    background: url('graphics/Sound-Wave-3.jpg');
    background-color: black;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.error-msg {
    font-size: 1rem;
    padding-inline-start: 1.3em;
    width: 90vw;
    background-color: #ff9100;
    color: white;
    border-radius: 1em;
    margin-inline: auto;
    margin-top: 0em;
    box-shadow: 0px 0px 10px #f1b570;
    opacity: 1;
    transition: opacity 0.6s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.error-msg-innertext {
    font-size: 2rem;
}

.closebtn {
    font-size: 3rem;
    margin-right: 0.4em;
    color: white;
    font-weight: bold;
    float: right;
    line-height: 0em;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.closebtn:hover {
    color: rgb(170, 170, 170);
    transform: rotate(-90deg);
}

.consent-agreement-box {
    opacity: 0;
    position: fixed;
    display: flex;
    justify-content: center;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 9999;
    backdrop-filter: blur(20px);
    transition: all 0.25s ease-in-out;
}

.consent-agreement-box.hidden {
    display: none;
}

.consent-agreement-container {
    align-self: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(60, 60, 60, 0.9);
    width: 85%;
    height: 85%;
    border-radius: 2rem;
}

.consent-agreement-header {
    width: 75%;
    text-align: center;
    align-self: center;
    color: aliceblue;
    font-size: 2.2rem;
    font-weight: 400;
}

.consent-agreement-instruction {
    margin-left: 3em;
    text-align: left;
    align-self: left;
    color: aliceblue;
    font-size: 1.5rem;
    font-weight: 400;
}

.consent-agreement-content {
    width: 85%;
    height: 40%;
    align-self: center;
    text-align: justify;
    color: aliceblue;
    font-size: 1.3rem;
    font-weight: 400;
    background: rgba(105, 105, 105, 0.7);
    padding: 1em 2em 1em 2em;
    border-radius: 0.8rem;
    overflow-x: hidden;
    overflow-y: auto;

}

.consent-agreement-control-panel {
    margin-top: 1.5em;
    display: flex;
    justify-content: center;
    gap: 3em;
    margin-bottom: 2em;
}

.consent-button {
    font-family: 'BrandG';
    font-size: 1.2rem;
    font-weight: 400;
    color: aliceblue;
    border: none;
    padding: 1em 2em 1em 2em;
    border-radius: 1rem;
    transition: all 0.25s ease-in-out;
    cursor: pointer;
}

.consent-button:disabled {
    background: rgba(122, 122, 122, 0.2);
    color: rgba(116, 116, 116, 0.9);
    cursor: default;
}

.disagree-button {
    background: rgba(255, 75, 75, 0.7);
}

.disagree-button:enabled:hover {
    background: rgba(255, 158, 158, 0.7);
}

.agree-button {
    background: rgba(45, 148, 86, 0.7);
}

.agree-button:enabled:hover {
    background: rgba(113, 214, 154, 0.7);
}








/* Sections, Paragraphs & Content */

.info-container {
    font-size: 1rem;
    position: fixed;
    top: 1em;
    right: 1.7em;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(240, 248, 255, 0.7);
    z-index: 999;
}

.info-text {
    font-size: 1.7rem;
    /* margin-top: 0.23em; */
}

.infoButton i {
    font-size: 3rem;
    margin-left: 0.2em;
    margin-top: 0.21em;
    color: rgba(240, 248, 255, 0.85);
    z-index: 999;
}

.infoButton i:hover {
    cursor: pointer;
}

.more-info-content {
    font-size: 2.2rem;
    display: none;
    position: fixed;
    top: 3em;
    right: 1.5em;
    z-index: 99;
    transition: all 0.35s ease-in-out;
    color: rgb(235, 255, 102);
    text-shadow: 0 0 10px rgba(245, 245, 245, 0.9);
    font-weight: 300;
    text-align: center;
    width: 80vw;
    background: rgba(80, 80, 80, 0.95);
    box-shadow: 0 0 25px rgba(241, 255, 248, 0.3);
    padding: 1em 1em 1em 1em;
    border: none;
    border-radius: 30px;
}

.show {
    display: block;
    transition: all 0.5s ease-in-out;
}

.content-section-header {
    font-size: 1rem;
    width: 90vw;
    margin: auto;
    text-align: center;
    padding-top: 1em;
}

.content-section-header h1 {
    color: aliceblue;
    font-size: 4rem;
    font-weight: 400;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.permission-header {
    font-size: 2.5rem;
    color: aliceblue;
    font-weight: 300;
    margin-top: 0em;
    margin-bottom: 0em;
}

.instruction-header {
    font-size: 3.5rem;
    color: aliceblue;
    font-weight: 400;
    margin-top: 0.2em;
    margin-bottom: 1.2em;
}

.instruction-container {
    display: flex;
    justify-content: center;
    /* width: 100%; */
}

.instruction-content {
    font-size: 1rem;
    color: aliceblue;
    font-weight: 300;
    width: 85vw;
    margin: 1em 0em 1em 0em;
    text-align: center;
    background: rgba(70, 70, 70, 0.7);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.9);
    padding: 2em 4em 2em 4em;
    border: none;
    border-radius: 2em;
    box-shadow: 0 0 20px rgba(255, 239, 92, 0.35);
}

.instruction-content h5 {
    text-align: left;
    font-weight: 300;
    font-size: 2.5rem;
    margin: 0.4em 0em 0.4em 0em;
}

.equalizer-icon {
    font-size: 4rem;
    position: relative;
    top: 1rem;
}

.instruction-content p {
    text-align: center;
    font-size: 2rem;
    margin: 0.4em 0em 0.4em 0em;
}

.less-padding {
    padding: 0.3em 2em 0.3em 2em;
}

.instruction-content .less-margin {
    margin: 0.1em 0em 0.1em 0em;
}

/* Floating left or right */
.left {
    float: left;
    clear: both;
}

.right {
    float: right;
    clear: both;
}

.social-media-link {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    margin-top: 1em;
    margin-bottom: 1em;
    color: aliceblue;
    box-shadow: 0 0 25px rgba(255, 239, 92, 0.45);
    transition: all 0.3s ease-in-out;
}

.social-media-link img {
    width: 7rem;
    margin-right: 0.4em;
}

.social-media-link i {
    color: aliceblue;
    font-size: 8rem;
    margin-right: 0.4em;
}

.social-media-link:hover {
    background: rgba(122, 122, 122, 0.2);
    cursor: pointer;
}

.play-again-text {
    font-size: 2.1rem;
    font-weight: 500;
    text-align: center;
}






/* Navigation Buttons */
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navButton {
    margin-top: 1em;
    margin-bottom: 3em;
    font-family: 'BrandG';
    font-size: 2rem;
    font-weight: 500;
    color: black;
    text-align: center;
    height: 7rem;
    width: 14rem;
    border: none;
    border-radius: 30px;
    outline: none;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.navButton:hover {
    background: rgba(255, 255, 255, 0.6);
    box-shadow: inset 10em 0 0 0 rgba(255, 255, 255, 0.8);
}




/* Introduction Page */
.introduction-page {
    position: relative;
    left: 0;
    display: flex; /* set to none when debug, otherwise set to flex */
    flex-direction: column;
    justify-content: center;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    transition: all 0.55s ease-in-out;
}




/* Audio Recording Page */
.audio-recording-page {
    display: none; /* set to block when debug, otherwise set to none */
    opacity: 0; /* set to 1 when debug, otherwise set to 0 */
    transition: opacity 0.55s ease-in-out;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.visualizer {
    /* font-size: 1rem; */
    display: none;
    margin-bottom: 0.5rem;
    border-radius: 5px;
    border: 9px solid;
    color: #cfcfcf;
    width: 100%;
    height: 10rem;
    box-shadow: 0 0 20px rgba(255, 255, 255, .5);
}

.recording-section-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    width: 90%;
    background: rgba(255, 255, 255, 0.2);
    padding: 1%;
    border: none;
    border-radius: 1em;
}

.audio-player-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    width: 80%;
    /* height: 10%; */
    background: rgba(255, 255, 255, 0.78);
    padding: 1%;
    border: none;
    border-radius: 1em;
    box-shadow: 0 0 20px rgba(255, 239, 92, 0.35);
}

.audio-player {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    text-shadow: none;
    /* height: 10%; */
}

.audio-player i {
    font-size: 5rem;
    padding: 0.5rem;
    color: rgba(57, 57, 57, 0.7);
}

.audio-player i:hover {
    color: rgba(128, 128, 128, 0.7);
    cursor: pointer;
}

.audio-player i:active {
    color: rgba(105, 105, 105, 0.7);
}

.audio-duration {
    font-size: 1.4rem;
    text-align: end;
    color: rgb(30, 30, 30);
    font-weight: 300;
    padding: 0em 1em 0.3em 1em;
    text-shadow: none;
}

#timer {
    color: aliceblue;
    text-shadow: 0 0 13px rgba(0, 0, 0, 0.9);
    font-size: 4rem;
    font-weight: 300;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.audio-control-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

hr {
    width: 95%;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border: solid 1px rgba(128, 128, 128, 0.3);
}

#userRecording {
    width: 100%;
}

.waveform-container {
    width: 100%;
}

.recorder-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.rbutton {
    /* width: 175px; */
    padding: 0.8em;
    padding-inline: 1.6em;
    margin-bottom: 0.9em;
    border-radius: 30px;
    border: 0 solid;
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.1);
    font-family: 'BrandG';
    font-size: 1.8rem;
    font-weight: 700;
    background-color: #ff0000;
    outline: 1.2px solid;
    color: #f6f6f6;
    outline-color: rgba(255, 255, 255, .5);
    outline-offset: 0px;
    text-align: center;
    text-shadow: none;
    transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
} 
  
.rbutton:hover {
    border: 1px solid;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, .5), 0 0 20px rgba(255, 255, 255, .2);
    background-color: #ff8282;
    outline-color: rgba(255, 255, 255, 0);
    outline-offset: 18px;
    text-shadow: 1px 1px 2px #427388; 
    color: #989898;
    cursor: pointer;
}

.sbutton {
    padding: 0.8em;
    padding-inline: 1.6em;
    margin: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    color: black;
    text-align: center;
    font-family: 'BrandG';
    border: none;
    border-radius: 30px;
    outline: none;
    background: rgba(190, 255, 220, 0.7);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.sbutton:hover {
    background: rgba(190, 255, 220, 0.8);
    box-shadow: inset 10em 0 0 0 rgba(255, 255, 255, 0.8);
}

.after-recording-container {
    display: none;
    opacity: 0;
    transition: all 0.55s ease-in-out;
}




/* Post-submit Page */
.post-submit-page {
    display: none; /* set to block when debug, otherwise set to none */
    right: 0;
    opacity: 0; /* set to 1 when debug, otherwise set to 0 */
    margin-bottom: 2rem;
    transition: all 0.55s ease-in-out;
}

.mailing-signup-box {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 2em;
    margin-bottom: 2em;
}

.mailing-signup-container {
    display: flex;
    width: 85%;
    flex-direction: column;
    margin-inline: 1.5em;
    transition: 0.5s ease-in-out;
    background: rgba(80, 80, 80, 0.65);
    padding: 10px 25px 35px 25px;
    border: none;
    border-radius: 10px;
}

.mailing-header {
    text-align: center;
}

.mailing-header i {
    padding-right: 15px;
}

.mailing-header h1 {
    font-weight: 100;
    color: aliceblue;
    font-size: 3.8rem;
    font-weight: 100;
}

.mailing-form-header h2 {
    text-align: center;
    color: aliceblue;
    font-weight: 300;
    font-size: 2.3rem;
}

.newsletter-input-box-container {
    width: 80%;
    padding-top: 1rem;
    margin: auto;
}

.newsletter-input-box {
    padding-bottom: 2rem;
}

.newsletter-input-field {
    font-family: 'BrandG';
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    background: rgba(255, 255, 255, 0.15);
    color: aliceblue;
    height: 5rem;
    width: 100%;
    border: none;
    border-radius: 0px;
    outline: none;
    transition: 0.2s ease;
}

::placeholder {
    color: aliceblue;
    font-size: 2rem;
    opacity: 1; /* Firefox */
}

::-ms-input-placeholder { /* Edge 12 -18 */
    color: aliceblue;
}

.newsletter-input-field:hover, .newsletter-input-field:focus {
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-input-box.error .newsletter-input-field {
    border: 1.5px solid rgb(255, 89, 70);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
}

.error-text {
    font-family: 'BrandG';
    font-size: 1.4rem;
    color: rgb(255, 89, 70);
    margin-bottom: 4px;
    display: none;
}

.newsletter-input-box.error .error-text {
    display: block;
}

.subscribe {
    font-family: 'BrandG';
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    color: black;
    height: 5rem;
    width: 100%;
    border: none;
    border-radius: 0px;
    outline: none;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.subscribe:hover {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 1px 5px 7px 1px rgba(255, 255, 255, 0.541);
}

.navbackButton {
    margin-top: 0em;
    margin-bottom: 3em;
    font-family: 'BrandG';
    font-size: 2rem;
    font-weight: 500;
    color: black;
    text-align: center;
    height: 7rem;
    width: 14rem;
    border: none;
    border-radius: 30px;
    outline: none;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.navbackButton:hover {
    background: rgba(255, 255, 255, 0.6);
    box-shadow: inset 10em 0 0 0 rgba(255, 255, 255, 0.8);
}

/* @media only screen and (max-width: 950px) {
    .infoButton i {
        font-size: 3vw;
    }
    .rbutton {
        font-size: 3vw;
    }
    .sbutton {
        font-size: 3vw;
    }
    .mailing-form-header h2 {
        font-size: 2vw;
    }
}

@media only screen and (max-width: 450px) {
    .more-info-content {
        font-size: 5rem;
    }
}
