.title {
    margin-bottom: 5%;
    font-size: 2em;
}

.quote {
    padding-left: 10%;
    padding-right: 10%;
    text-align: justify;
    margin-bottom: 4em;
    font-style: italic;
}
header h2 {
    font-size: 1.2em;
}
.swipe {
    overflow: hidden;
    visibility: hidden;
    position: relative;
}
.swipe-wrap {
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.swipe-wrap > div {
    float: left;
    width: 100%;
    position: relative;
}
.text {
    text-align: justify;
    text-justify: inter-word;
    margin-left: 15px;
    margin-right: 15px;
    font-size: 1.1rem;
}
.right{
    text-align: right;
}
#nav {
    margin-top: 30px;
    user-select: none;
}
#nav a {
    font-size: 4em;
    text-decoration: none;
}
#nav-right{
    float: right;
    margin-right: 10%;
    cursor:pointer;
    filter: opacity(0.6);
}
#nav-left{
    float: left;
    margin-left: 10%;
    cursor:pointer;
    filter: opacity(0.6);
}
#nav-right:hover{
    filter: opacity(1);
}
#nav-left:hover{
    filter: opacity(1);
}
#page-num{
    display: inline;
    line-height: 4em;
    cursor: pointer;
}
#swipe-guide{
    display:block;
}
#swipe{
    transform-origin: bottom center;
    float:right;
    margin-right: 20px;
}
#column-toggle{
    position: absolute;
    top: 0;
    left: 0;
}
#column-btn{
    height: 40px;
    width: 40px;
    left: 0;
    top: 0;
    background-image: url("/images/columns-double.png");
    background-size: contain;
    margin: 15px;
    opacity: 0.7;
}
#portrait{
    left:0;
    filter: drop-shadow(0px 0px 8px black);
    transition: all .2s ease-in-out;
}
#portrait:hover{
    transform:translate(5%, -5%) scale(1.1) ;
}
#stamp24 {
    max-height: 400px;
    max-width:95%;
}
.chapter {
    font-weight: bold;
    font-size: 1.4em;
    text-align: center;
}
header {
    margin-bottom: 50px;
}
#gotop{
    display: block;
    cursor: pointer;
    font-size: 2.5em !important;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    transition: all .1s ease-in-out;
}
#gotop:hover{
    filter: brightness(0.3);
}
footer{
    margin-top: 15px;
}
#morse-text {
    font-size:2.75em;
}
#currentWord {
    margin: 0;
    position: fixed;
    right:50px;
    bottom:50px;
}
#currentLetter{
    margin: 0;
    position: absolute;
    pointer-events: none;
}
#sentence{
    margin: 0;
    cursor:pointer;
    position: fixed;
    left:50px;
    bottom:50px;
}
#ticker {
    position: absolute;
    pointer-events: none;
}
#sos{
    height: 40px;
    width: 40px;
    background-size: contain;
    cursor: pointer;
}
#morse-guide{
    width: 100%;
    height: 50%;
    background-image: url(/images/International_Morse_Code.png);
    background-size: contain;
    position: fixed;
    top: 10%;
    left: 0px;
    background-repeat: no-repeat;
    pointer-events: none;
    transform-origin: left;
    transform: rotateY(180deg);
    transition: transform .5s linear;
}
.active {
    transform: rotateY(0deg) !important;
}
.disabled {
    pointer-events: none;
    opacity: .5;
}
h3 {
    font-size: 1em;
}
.dit-btn {
    height:50px;
    width:49%;
    display: inline-block;
    text-align: center;
    background-image: url(/images/dit.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 11px 0px 0px 11px;
    user-select: none;
}
.dah-btn {
    height:50px;
    width:50%;
    display: inline-block;
    text-align: center;
    background-image: url(/images/dah.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0px 11px 11px 0px;
    user-select: none;
}
.transmitting {
    background-color: #0000002e;
}
#transmitter{
    display: none;
    user-select: none;
}
.transmitter-on{
    display: block !important;
}
@media screen and (min-width: 700px) {
    
    .container {
        min-width: 650px;
        margin-left: 25vw;
        margin-right: 25vw;
    }
    #swipe-guide{
        display:none;
    }
    .title {
        font-size: 3em;
    }

    header h2 {
        font-size: 1.6em;
    }
    .article {
        column-count: 2;
        column-gap: 3em;
    }
    .text {
        margin-top: 0;
        font-size: 1.3rem;
    }
    .chapter {
        font-weight: bold;
        font-size: 1.4em;
        text-align: left;
    }
    #column-toggle{
        display: block !important;
    }
}
@media screen and (max-width: 700px) {
    #morse-guide{
        top:25%;
        background-image: url(/images/morseguide_mobile.png);
    }
    #morse-text {
        font-size: 1em;
    }
    .deactivated {
        visibility: hidden;
    }
    #sentence{
        display: none;
        left:10px;
        top:10px;
        width:fit-content;
        background-color: #cac0a7;
        padding: 10px;
        border: 2px solid black;
        border-radius: 5px;
        height: fit-content;
    }
    #currentLetter {
        position: fixed;
        top: 50px;
        width: fit-content;
        background-color: #cac0a7;
        padding: 10px;
        border: 2px solid black;
        border-radius: 5px;
        margin-left: 50%;
        transform: translateX(-50%);
    }
    #currentWord{
        margin: 0;
        position: fixed;
        right:10px;
        top:10px;
    }
}