:root {
    --brown: #775808;
    --light_brown: #e6a809;
    --blue: #254061;
}
@media only screen and (max-width: 768px) {
a { color: black; }
html, body {
  overflow-x: hidden;
  font-family: 'Trebuchet MS';
}
body {
    position: relative;
    font-family: 'Trebuchet MS';
}
#header {
    position: relative;
    top: 0px;
    font-family: 'Trebuchet MS';
    width: 100%;
    z-index: 1 ;
}
#hermit {
    position: absolute;
    top: -66px;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}
#hermit img {
    width: 100%;
    position: absolute;
    top: 215px;
}
#fader {
    position: absolute;
    top: 256px;
    background: linear-gradient(rgba(255, 255, 255, 0) 2%, white);
    height: 200%;
    width: 100%;
}
#cmc {
    position: relative;
    background: black;
    text-align: center;
    color: white;
    width: 80%;
    margin-left: 10%;
    padding: 10px;
    font-size: 48px;
    border-radius: 34px;
    top: 20px;
}
#slogan {
    font-style: italic;
    text-align: center;
    position: relative;
    top: 20px;
    margin-left: 15%;
    padding: 10px 0 5px 0;
    font-size: 22px;
    color: var(--brown);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 11px 11px 0px 0px;
    width: 70%;
    border-bottom: 2px solid var(--brown);
}
#hamburger {
    position: relative;
    top: 25px;
    margin: auto;
    background: white;
    height: 46px;
    width: 42px;
    color: var(--blue);
    font-size: 48px;
    margin-left: 43%;
    padding: 5px;
    padding-top: 2px;
    border: 1px solid var(--blue);
    border-radius: 5px;
    z-index: 1;
}
#links {
    display: none;
    margin-top: 30px;
    width: 90%;
    margin-left: 28%;
    position: relative;
    text-align: center;
    z-index: 2;
    height: 240px;
}
.link {
    background: black;
    text-align: center;
    color: white;
    width: 150px;
    height: 35px;
    line-height: 35px;
    padding: 5px;
    font-size: 22px;
    border-radius: 16px;
    margin-bottom: 5px;
}
#main {
    clear: left;
    position: relative;
    margin-left: 20px;
    width: 9%;
    padding-right: 50px ;
    top: -18px;
}
.mobile_fudge {
    top: -8px !important;
    left: -10px;
}
.main_item {
    position: relative;
    top: 20px;
    margin-top: 30px;
    width: 100vh;
    z-index: 2;
}
.image_cen, .image_left, .image_right {
    margin-left: -2%;
    width: 90vw;
    z-index: 2;
}
.image_left img, .image_right img, .image_cen img {
    z-index: 2;
    width: 100%;
    height: auto;
}
.about {
    margin-left: -3%;
    width: 85footvw;
}
.about img {
    border-radius: 50px;
    border: 2px solid var(--blue);
}

.cathy {
    border: 4px solid var(--blue);
}
.paper {
    background: white;
    border-radius: 50px;
    z-index: 2;
    border: 1px solid var(--blue);
    left: 9vw;
    width: 65vw;
    position: relative;
    top: 21px;
    height: 205px;
}
.novel_title {
    position: absolute;
    top: 31px;
    left: 24%;
    color: black;
    background: white;
    font-family: 'Trebuchet MS';
    text-align: center;
    font-size: 18px;
    margin: auto;
    width: 20vh;
}    
.novel_amazon_link {
    position: relative;
    left: -20px;
    display: block;
    text-align: center;
}
.novel_quote {
    padding: 20px;
    background: white;
    text-align: justify;
    margin-left: -8%;
    margin-right: 5%;
    margin-top: 25px;
    border-radius: 50px;
    width: 80vw;
    position: relative;
    top: 15px;
    border: 1px solid var(--blue);
    margin-bottom: 20px;
}

#cs_cover {
    height: 900px;
    width: 700px;
}


.footer {
    margin-top: 20px;

}
.footer_about_mobile {
    position: relative;
    margin-left: 10px;
    width: 75vw;
}
#contact_table_screen {display: none;}
#contact_table_mobile {
    display: block;
}

.email {
    padding-left: 20px;
    width: 300px;
}
.social {
    width: 1%;
}
.tw {
    margin-left: -40px;
}
.social img {
    border-radius: 10px;
}

.bubble {
    display: none !important;
}


#blackout,
#close_blackout,
#close_blackout i {
    display: none !important;
}
.image_row {
    width: 90%;
    margin-left: 5%;
    text-align: center;
}
.image_thumb {
    margin-top: 20px;
    border: 2px solid var(--blue);
    border-radius: 15px;
    display: inline-block;
    margin-left: 20px;
    width: 70vw;
    margin-left: 9vw;
    vertical-align: middle;
}

.image_thumb img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}


}

/*  STYLES FOR LARGE SCREENS (tablets, laptops, desktops etc) */
@media only screen and (min-width: 768px) {
#hamburger {
    display: none;
}
#contact_table_mobile {display: none;}
#contact_table_screen {display: block;}
a { color: black; }
#hermit {
    position: absolute;
    top: -66px;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}
#hermit img {
    width: 100%;
    position: absolute;
    top: 215px;
}
#header {
    position: relative;
    font-family: 'Trebuchet MS';
    width: 100%;
    z-index: 2 ;
}
#header img {
    width: 100%;
    position: relative;
    top: -20px;
}
#fader {
    position: absolute;
    top: 256px;
    background: linear-gradient(rgba(255, 255, 255, 0) 2%, white);
    height: 300%;
    width: 100%;
}
#cmc {
    position: absolute;
    background: black;
    text-align: center;
    color: white;
    width: 70%;
    margin-left: 15%;
    padding: 10px;
    font-size: 48px;
    border-radius: 34px;
    top: 20px;
}
#slogan {
    font-style: italic;
    text-align: center;
    position: absolute;
    top: 95px;
    margin-left: 15%;
    padding: 10px 0 5px 0;
    font-size: 22px;
    color: var(--brown);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 11px;
    width: 70%;
}
#ul {
    border-bottom: 2px solid var(--brown);
    width: 70%;
    position: absolute;
    top: 132px;
    width: 60%;
    margin-left: 20%;
    
}
#body {
    font-family: 'Trebuchet MS';
    position: absolute;
    top: 150px;
}
#links {
    margin-top: 20px;
    width: 100%;
    margin-left: auto;
    position: relative;
    text-align: center;
    z-index: 2;
}
.link {
    background: black;
    text-align: center;
    color: white;
    width: 150px;
    margin-left: 20px;
    height: 35px;
    line-height: 35px;
    padding: 5px;
    font-size: 22px;
    border-radius: 16px;
    margin-bottom: 5px;
    display: inline-block;
}
.link:hover {
    color: var(--light_brown);
    box-shadow: 5px 5px 20px var(--blue);   
    cursor: pointer;
}
.active_link {
    color: var(--light_brown);
    box-shadow: 5px 5px 20px var(--blue);   
}
#main {
    clear: left;
    margin-left: 20px;
    padding-right: 50px ;
}
.main_item {
    position: relative;
    top: 20px;
    margin-top: 30px;
    z-index: 2;
}
.image_left {
    margin-left: 5%;
    z-index: 2;
}
.image_right {
    margin-left: calc(95% - 382px);
    z-index: 2;
}
.image_cen {
    margin-top: 35px;
    margin-left: 14%;
    z-index: 2;
}
.about {
    margin-left: 30%;
}
.about img {
    border-radius: 50px;
    border: 2px solid var(--blue);
}
.image_left img, .image_right img, .image_cen img {
    z-index: 2;
}
.cathy {
    border: 4px solid var(--blue);
}
.image_left img:hover, 
.image_right img:hover, 
.image_cen img:hover,
.paper_right:hover, 
.paper_left:hover,
.paper_cen:hover,
.novel_quote:hover,
.social img:hover{
    box-shadow: 5px 5px 20px var(--blue);   
    cursor: pointer;
}
.paper {
    position: absolute;
    top: 60px;
    background: white;
    height: 300px;
    right: 5%;
    border-radius: 50px;
    width: 40%;
    z-index: 2;
    border: 1px solid var(--blue);
}
.paper_left {
    left: 5%;
    top: 60px;
}
.paper_right {
    right: 5%;
    top: 60px;
}
.paper_cen {
    position: relative;
    top: 20px;
    margin-left: 37%;    
    
}

.novel_title {
    width: 60%;
    position: absolute;
    top: 68px;
    left: 20%;
    color: black;
    background: white;
    font-family: 'Trebuchet MS';
    text-align: center;
    font-size: 18px;
    padding: 20px;
    margin: auto;
}    
.novel_amazon_link {
    display: block;
    text-align: center;
}
.novel_quote {
    padding: 20px;
    background: white;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 25px;
    border-radius: 50px;
    width: 90%;
    border: 1px solid var(--blue);
}

#cs_cover {
    height: 900px;
    width: 700px;
}

/* FOOTER */

.footer {
    margin-top: 50px;
}
#contact_table {
    width: 100%;
}

.email {
    padding-left: 20px;
    width: 50%;
}
.social {
    width: 1%;
}
.social img {
    border-radius: 10px;
}

/* Bubbles */

@keyframes bubble_rise_right{
  0%    {top:;
         opacity: 0;
         height:;
         width:;
         transform: translateX(0);}
  50%   {top:;
         opacity: 1;
         height: 25px;
         width: 25px;
         transform: translateX(50px)}
  100%  {top: -100px;
         opacity: 0;
         height: 50px;
         width: 50px;
         transform: translateX(0px);}
}
@keyframes bubble_rise_left{
  0%    {top:;
         opacity: 0;
         height: 0;
         width: 0;
         transform: translateX(0);}
  50%   {top:;
         opacity: 1;
         height: 5px;
         width: 5px;
         transform: translateX(-50px)}
  100%  {top: 0px;
         opacity: 0;
         height: 15px;
         width: 15spx;
         transform: translateX(0px);}
}

.bubble {
    height: 00px;
    width: 000px;
    border-radius: 50%;
    position: fixed;
    background-image: radial-gradient(at 40%, white, var(--blue));
    animation-fill-mode: forwards;
    animation-timing-function: ease-in;
    transition: opacity 1s;
    z-index: 0;
}
.right {
    animation-name: bubble_rise_right;
}
.left {
    animation-name: bubble_rise_left;

}
.bubble_gone {
    opacity: 0;
}


/* IMAGES PAGE */
#blackout {
    height: 100vh;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    background: var(--blue);
    opacity: 0.7;
    z-index: 2;
    display: none;
}
#close_blackout {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--blue);
    z-index: 4;
    height: 50px;
    width: 50px;
    opacity: 1;
}
#close_blackout i {
    font-size: 48px;
    color: white;
    opacity: 0.5;
}
#close_blackout i:hover {
    opacity: 1;
    cursor: pointer;
}
.image_row {
    width: 90%;
    margin-left: 5%;
    text-align: center;
}
.image_thumb {
    margin-top: 20px;
    border: 2px solid var(--blue);
    border-radius: 15px;
    display: inline-block;
    margin-left: 20px;
    width: 30%;
    vertical-align: middle;
}
.image_thumb:hover {
    box-shadow: 5px 5px 20px var(--blue);  
}
.image_thumb img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}
.big_portrait {
    height: 95vh;
    width: 40vw;
    position: fixed;
    top: -2%;
    left: 26%;
    z-index: 3;
    box-shadow: 5px 5px 20px var(--blue); 
}
.big_portrait img {
    height: 100%;
    width: 100%;
}

.big_landscape img {
    height: 100%;
}
.big_landscape {
    height: 85vh;
    width: 70vw;
    position: fixed;
    top: 1%;
    left: 11%; 
    z-index: 3;
    box-shadow: 5px 5px 20px var(--blue);  
}
}
