body {
    margin: 0;
    padding: 5rem;
    font-family: Georgia, serif;
    /* background:url(../images/bbgg.png); */
    background:url(../images/bbggdirt.jpg);
    background-size: contain;
}

.quote-container {
    max-width: 1000px;
    min-height: 400px;
    margin: 0;    
    transform: rotate(-4deg);        
}

.progress-container {
    margin-bottom: 2rem;
}

.progress-bar {
    width: 300px;
    height: 5px;
    background-color: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-bar.visible {
    opacity: 1;
}

.progress {
    width: 0%;
    height: 100%;
/*            background-color: #f7e8a4;*/
    background-color: #7D7D7D;
    transition: width linear;
}

.progress.paused {
    transition: none;
}

.quote {
    font-size: clamp(1.5rem, 5vw, 3.2rem);
    line-height: 1.75;
    color: #ffffff;
/*            min-height: calc(1.4em * 2);*/
    opacity: 1;
    transition: opacity 0.5s ease;
    cursor: default;
}

.quote.fade-out {
    opacity: 0;
}

.quote span {
    padding: 0.25em 0.25em;
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}


.quote span.visible {
    background-color: rgba(0,0,0,0.8);
/*            border-bottom: 5px solid #e8df71;*/
}

.author {
    font-size: clamp(1.375rem, 2.5vw, 1.25rem);
    color: #333;
    font-style: italic;
    margin-top: clamp(1.5rem, 5vw, 1.5rem);
    min-height: 1.5em;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.fade-out {
    opacity: 0;
}

.skip-button {
    display: none;
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: Georgia, serif;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    transition: opacity 0.3s ease;
    /* opacity: 0; */
    position: absolute;
    right:20px;
    bottom:20px;
}

.skip-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

/* .plantush{
    position: absolute;
    right:40px;
    bottom:0px;
    width:340px;
    transform-origin: bottom center;
    animation: rotation 6s infinite ease-in-out;
}

@keyframes rotation {
  50% {
    transform: rotate(4deg);
  }
  100% {
    transform: rotate(0deg);
  }
}        

.plantush2{
    position: absolute;
    right:42px;
    bottom:0px;
    width:340px;
    transform-origin: bottom center;
    animation: rotation2 8s infinite ease-in-out;
}        

@keyframes rotation2 {
  50% {
    transform: rotate(4deg);
  }
  100% {
    transform: rotate(0deg);
  }
} */



@media (max-width: 480px) {
body {
padding: 3rem;
}

.quote {
font-size: clamp(2rem, 6vw, 4rem);
}

.author {
font-size: clamp(1.5rem, 3vw, 2rem);
}

.quote span {
padding: 0.15em 0.2em;
}
}

@media (max-width: 320px) {
.quote {
font-size: clamp(1.8rem, 5.5vw, 3.5rem);
}

.author {
font-size: clamp(1.3rem, 2.8vw, 1.8rem);
}

.quote span {
padding: 0.1em 0.15em;
}
}





/**************** iphone stuff **************/


.dude_holder{
    width: 24px;
    height: 31px;
    cursor: pointer;
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: url('../images/dude.png') no-repeat;
    background-size: cover;
    transition: 0.3s;
}

.dude_holder:hover{
    opacity: 0.7;
}

.credit_holder{
    width: 287px;
    height: 25px;
    position: absolute;
    right: 38px;
    bottom: 7px;
    text-align: right;
    color:#616161;
}

.dude_modal_overlay{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 100;    
    display: none;
}

.dude_modal{
    position: absolute;
    /* width: 500px;
    height: 250px; */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #eeeeee;
    padding: 50px;
    font-size: 24px;
    line-height: 32px;
    box-shadow: 10px 10px 55px #434343;
    transform: translate(-50%, -50%) rotate(-4deg);
}

/* .dude_modal a{
    color: #000;
    text-align: center;
    font-size: 20px;
    transition: 0.3s;
}

.dude_modal a:hover{
    opacity: 0.6;

} */


.closeme{
    
    font-size: 1.3rem;
    padding: 1rem 1rem;
    cursor: pointer;
    background-color:#000;
    color:#fff;
    text-decoration: none;
}

@media only screen and (max-device-width: 480px) {



    





.dude_modal{

    position: absolute;
    /* width: 500px;
    height: 250px; */
    width:70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #eeeeee;
    padding: 30px;
    font-size: 24px;
    line-height: 32px;
    box-shadow: 10px 10px 0px #343434;
    /* transform: translate(-50%, -50%) rotate(-4deg); */
    font-size: 18px;
    line-height: 23px;
    
}
.closeme{
    
    font-size: 1rem;
    padding: 1rem 1rem;
    cursor: pointer;
    background-color:#000;
    color:#fff;
    text-decoration: none;
}





}



.ltr {
    direction: ltr;
    text-align: left;
}

.rtl {
    direction: rtl;
    text-align: right;
}






/* admin */



.mid_admin{
    font-family: Georgia, serif;
    position: absolute;
    /*margin: 0 auto 0 auto;*/
    max-width: 90%;
    width: 100%;
    min-height: 400px;
    top:50px;
    left: 25px;
}


.linkadmin{
    font-size: 15px;
    color: #000;
}

.qinsert{
    width: 100%;
    /*max-width: 90%;*/
    height: 100px;
    font-size: 17px;
}


.btbt{
    width: 190px;
    height: 45px;
    font-size: 16px;
    line-height: 45px;
    background: #000;
    color: #fff;
    border: none;
}

.input_admin{
    height: 32px;
    font-size: 18px;
    width: 100%;
}