@font-face {
    font-family: "Bubble Sans"; 
    src: url(fonts/bubble_sans.otf); 
}

@font-face {
    font-family: "Bimbo"; 
    src: url(fonts/Bimbo_JVE.ttf); 
}

a:link {
    text-decoration:none;
    color:#970950;
}

a:visited {
    color:#970950;
}

a:hover {
    color:#f82b91;
}


body {
    background-image: url("images/ui/bg_sallypattern_small.png");
    font-size: 18px;
    font-style: normal;
    margin:auto;
}

hr {
    color:#ffffff;
}

.texttitle {
        font-size: 34px;
 }

 .chaptertitle {
    font-size: 30px;
}

table, th, td {
  border: 0px solid #ffffff;
  text-align: center;
  border-collapse: collapse;
}

.innerbox {
  display: block;
  background-color: #6E9B7C;
  padding: 1%;
  height: auto;
  margin: auto;
}

@media screen and (orientation: landscape) {
    

    .mainpage {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0%;
        height: auto;
        padding: 6%;
        background-color: #547f69;
        width: 67%;
        font-family: "Bimbo", sans serif;
        font-size: 22px;
        border-left: 5px solid #005a8f;
        border-right: 5px solid #005a8f;
    }

    .sallypage {
        width: 650px;
        text-align: center;
    }

}

.iframe-container{
  position: relative;
  width: 640px;
  padding-bottom: 56.25%; 
  height: 0;
}
.iframe-container iframe{
  position: absolute;
  top:0;
  left: 0;
  width: 640px;
  height: 360px;
}

@media screen and (orientation: portrait) {

    .mainpage {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0%;
        height: auto;
        padding: 4%;
        padding-top: 9vh;
        background-color: #547f69;
        width: 90%;
        font-family: "Bimbo", sans serif;
        font-size: 24px;
    }
    
    .sallypage {
       width: 100%;
       text-align: center;
    }
    
    .iframe-container{
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; 
  height: 0;
}
.iframe-container iframe{
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}

}