@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap');

:root {
    --fontColor: #333;
    --red: #C92020;
    --lightRed: #EF3E35;
    --opacityRed: rgba(175,21,21,.95);
    --yellow: #FFDA3E;
    --lightGray: #f2f2f2;
    --shadow: 0 5px 10px rgba(0,0,0,0.15);
}

* {
    box-sizing: border-box;
}

*:focus {
    outline: none;
}

a {
    text-decoration: none !important;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 18px;
    color: var(--fontColor);
}

.wrapper_full {
    background: url('../images/rotate__BG.svg') center fixed;
    background-size: 100% auto;
}

.layer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: -2px;
    overflow: hidden;
}

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 0 100px 0;
    max-width: 1200px;
}

.content {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}

.button,
button {
    width: 100%;
    line-height: 60px;
    font-size: 23px;
    font-weight: 900;
    text-align: center;
    color: var(--red);
    border: 0;
    border-radius: 50px;
    background: var(--yellow);
    cursor: pointer;
    transition: .1s;
}

.button:hover,
button:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    transition: .3s;
}

.button:active,
button:active {
    transform: translateY(1px);
    transition: .3s;
}

.button--small {
    max-width: 250px;
}

.button--line {
    max-width: 150px;
    line-height: 45px;
    font-size: 18px;
    color: white;
    border: white 1px solid;
    background: transparent;
}

.red__button {
    color: var(--yellow);
    background: var(--red);
}

.blue__button {
    color: var(--yellow);
    background: var(--blue);
}


.soundSwitch {
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 25px;
    color: white;
    background: var(--opacityRed);
    z-index: 99999999999999;
}

.soundSwitch .box {
    padding: 50px;
    border-radius: 25px;
    background: white;
}

.soundSwitch .box p {
    margin-bottom: 25px;
    font-size: 25px;
    text-align: center;
    color: #333;
}

.buttonArea {
    display: flex;
    flex-direction: row;
    width: 250px;
}

.buttonArea > * + * {
    margin-left: 10px;
}

.soundButtonArea {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    height: 0;
    z-index: 999999999999999;
}

.soundButton {
    margin: 25px;
    font-size: 18px;
    font-weight: 900;
    color: white;
    cursor: pointer;
}

@media screen and (max-width: 1023px) {

    body {
        font-size: 16px;
    }

    .wrapper {
        padding: 0 0 50px 0;
    }    

    .title {
        font-size: 20px;
    }

    .main__title {
        padding: 10px;
    }

    .main__title__area > * {
        padding: 0 10px;
        font-size: 20px;
        line-height: 50px;
    }

    .main__title__area:after {
        top: calc( 50% - 10px );
        left: -30px;
        width: 20px;
        height: 20px;
    }
    
    .main__title__area:before {
        top: calc( 50% - 10px );
        right: -30px;
        width: 20px;
        height: 20px;
    }

    .soundButton {
        margin: 10px;
        padding: 15px;
        font-size: 18px;
        font-weight: 900;
        color: #333;
        border-radius: 10px;
        background: white;
        cursor: pointer;
    }
}