body{
    font-family: 'Kiwi Maru', serif;
    color: rgb(235, 195, 52);
    width: 100%;
    height: 100%;
    
}
.navbar-toggler{
    background-color: rgb(235, 195, 52);
    margin-top: 3%;
    margin-left: 3.5%;
    height: 40px;
    width: 60px;  
}

.navbar {
    margin-left: 10%;
    height: 100%;
    width: 100%;
}
.bookslistdiv {
    margin-top: 9%;
    padding-bottom: 5%;
    padding-top: 4vh;;
    min-height: 100%;
    min-width: 100%;
}
.mainbookdiv {
    width: 100vw;
    height: 100vh;
}
.charname {
    padding-top:5%;
}
.bookbody {
    background-color: black;
    height: 100%;
    width: 100%;
}
.maindiv {
    background-image: url("img/Updates/ILYWYS\ home\ page\ Banner.jpg");
    width: 100%;
    height: 90vh; 
    background-repeat:no-repeat;
    background-size: 100% 100%;
    padding-bottom:2px;
}
.booksmaindiv > .imagediv {
    padding-bottom: 2%;

}
.longtitle {
    padding-bottom: 6%;
}
.imgdiv {
   /* background-image: url("img/Updates/books\ page\ banner.jpg");*/
    width: 100%;
    height: 95vh; 
    padding-bottom: 1.5%;
    

}
.imgtest {
    width: 100%;
    max-height: 40vh;
    padding-bottom: 2%;
}
.charmaindiv {
height: 70vh;
width: 100vw;
margin-top: 5%;
}
.charimgdiv {
    background-image: url("img/Kissy\ Pg3_noText_flipped.jpg");
    width: 120vw;
    height: 80vh; 
    background-repeat: no-repeat;
    background-size: 100% 50%;
}

.charcard {
    width: 100%;
    height: 50%;
}
.charcard{
    width: 100%
    }
    
    @media(max-width: 768px){
    .charcard{
    width: 100%;
    }
    }
.rounded-circle, .charimg {
    width: 275px;
    height: 275px;
    border-radius: 50%;
}

.actimgdiv {
    background-image: url("img/Updates/activities\ page\ banner.jpg");
    width: 100vw;
    height: 60vh; 
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    

}

.actimg {
 margin-top: 5%;
}
.acttest {
    padding-top: 10vh;
}
.activitymaindiv {
    background-color: rgb(200, 237, 64);
    width: 100%
   
}
.actcarddiv {
    margin-top: 8vh;
    padding-bottom: 5%;
  
}
.actcarddiv > .card-deck {
    padding-top: 2vh;
}
.actimga {
    width: 100%;
    height: 100%;
    margin-top: -12%;
    outline: none;
}
.actimga:hover {
    color: rgb(58, 159, 214)
    text-decoration: none;
}
a:hover {
        outline: none;
        text-decoration: none;
    }

.acth5 {
padding-top: 30%;
}
.imgdiv > h1 {
padding-top: 45vh;
}
.charimgdiv > h1 {
    padding-top: 45vh;
    color: white;
}
.actimgdiv > h1 {
    padding-top: 60vh;
    color: rgb(58, 159, 214);
    
    }
.charname, .maincharname {
        color:white;
        margin-top: -1vh;
    }
.charnamelast {
        color:white;
        margin-top: -2vh;
    }
.charnamemiddle {
        color:white;
        margin-top: -7.5vh;
    }
.booksimg {
    max-width:100%;
    max-height:100%;
}

.booksmaindiv {
    background-color: black;
    width: 100%;
    height: 100%;
    text-align: center;
    

}
.navbar-nav {
    
    margin-left: 300px;
    font-size: 20px;
    width: 100%;
   

}
.nav {
    background-color: rgb(58, 159, 214);
    width: 100%
}
.nav ul {
    
    width: 100%;
}
.nav ul li {
   
}
.name, .navbar-text {
    color: rgb(235, 195, 52);
}
.footer-text {
    padding-top: 1%;
    margin-right: 1%;
    color: rgb(235, 195, 52);
}

a {
    color: rgb(235, 195, 52);  
    
}
.nav ul li a {
    margin-left: 1px;
    margin-right: 1px;
}

.carousel {
    width: 500px;
    height: 500px;
    margin-top: -525px;
    padding-bottom:5px;
   
}
.carousel-caption {
    position: relative;
    left: 0;
    top: 0;
    height: 80px;
}
.carousel-caption > h4 {
    color: rgb(235, 195, 52);
    margin-bottom: -700px;
}
.carousel-caption > h4 > a {
    color: rgb(235, 195, 52);
    font-size: 15px;
}
.carousel-caption > h4 > a:hover {
    color: rgb(58, 159, 214);
    font-size: 20px;
}
.cardbox {
    padding-top: 0px;
    margin-top: -64vh;
    height: 20%;
    width: 90%;
    overflow-x: scroll;
    overflow-y:auto;
    white-space: nowrap;
    background-color: black;
}
.bookscardbox{
    min-height: 20%;
    min-width: 90%;
}
.carousel-indicators {
    margin-bottom: -75px;
 }


.card {
    white-space: pre-wrap;
    height: 50vh;
    width: auto;
    background-color: black; 
    color: rgb(235, 195, 52);

}
.act-card-deck{
padding-bottom: 5%;

}
.actcard {
    white-space: pre-wrap;
    height: 100vh;
}

.card-body {
    height: 1vh;
    margin-top:-20%;
}
.card img {
    height: 80%;
    padding-bottom: 0%;
}
.topnav img {
height: 100%;
width: 10%;
}
.topnav, .navbar, header
{
    width: 100%;
    margin-left: 0px;
       
}
.topnav a, .nan-link, .nav-item {
    padding-top: 2%;
    padding-bottom: 2%;
}

footer {
    background-color: rgb(58, 159, 214);
    color: rgb(235, 195, 52);
    position: fixed;
    bottom: 0;
    height: 30px;
    width: 100%;   
}
.nav > .fa {
    padding-top:1px;
    margin-left: 25px;
    padding-left: 2px;
    padding-right: 3px;
    font-size: 27px;
    width: 10px;
    height: 10px;
   
  }

  .nav > .hfoot {
    padding-top:1px;
    font-size: 27px;

   
  }

  .nav > .fa-amazon {
    margin-left: 20px;
    color: #3B5998;

  }

  .nav > .fa-wordpress{
    margin-left: 35px;
    color: #3B5998;

  }
.nav > .fa-amazon:hover, 
.nav > .fa-wordpress:hover,
.nav > .fa-facebook:hover {
    color: rgb(235, 195, 52);
}
  /* Add a hover effect if you want */
.fa:hover {
    opacity: 0.7;
  }
  
  /* Set a specific color for each brand */
  
  /* Facebook */
  .fa-facebook {
    background: rgb(58, 159, 214);
    color: #3B5998;
  }
.navimg {
    width: 1%;
}
.charcarddiv {
    width: 100%;
}
.popup_div:hover:after{
    opacity: 1;
    right: 0;
    
    background-color:blue;
    width:50px;
    height:50px;
    background:url("http://i.imgur.com/zFWft.png") no-repeat scroll center 0 transparent;
    
}

.chartest{
    width: 15rem;
    width: 100%;
    height: 18rem;
    }
    
    @media(max-width: 768px){
    .chartest{
    width: 10rem;
    width: 100%;
    height: 18rem;
    }
    }

.double {
    padding-top:60px;
    padding-bottom:20px;

}
.buybooks {
    margin-bottom: -10%;
    color: rgb(173, 57, 150);
}
.charsecdiv {
    margin-top:-8%;
}

/* About Page divs */

.megtextcontainer {

    height: 50vh;
    width: 40vw;
    margin-top: 5vh;
   
}
.megdiv{
    background-image: url("img/Updates/meg\ deboe_bio\ banner.jpg");
    border: black solid 2px;
    width: 100vw;
    min-height: 70vh;
    background-size: 100% 100%;
    background-repeat: no-repeat; 
  
}
.megimg {
    margin-left: 10%;
    margin-top: 6vh;
    width: 30vw;
    height: 50vh;
}
.megtext {
    margin-right: 5%;
    margin-top: 4vh;
    width: 60vw;
    color: black;
    font-style: normal;
    font-weight: bold;
    background-color: rgb(58, 159, 214, .7);
    opacity: 1; !important
    padding-bottom: 10px;
    padding-top: 10px;
   
}
.megtextbody {
    background-color: rgb(58, 159, 214, .7);

}

.katediv{
    background-image: url("img/Updates/kate\ neel_bio\ banner.jpg");
    border: black solid 2px;
    width: 100vw;
    min-height: 70vh; 
    background-size: 100% 100%;
    background-repeat: no-repeat; 

}
.katetextcontainer {
    background-color: rgb(58, 159, 214, .7);
    height: 40vh;
    width: 40vw;
    margin-top: 5vh;
   
}

.kateimg {
    margin-left: 10%;
    margin-top: 6vh;
    width: 30vw;
    height: 50vh;
}
.katetext {
    margin-right: 10%;
    margin-top: 4vh;
    width: 50vw;
    color: black;
    font-style: normal;
    font-weight: bold;
    background-color: rgb(58, 159, 214, .7);
    opacity: 1; !important
   
}
.kevindiv{
    background-image: url("img/Updates/kevin\ alvir_bio\ banner.jpg");
    border: black solid 2px;
    width: 100vw;
    min-height: 70vh; 
    background-size: 100% 100%;
    background-repeat: no-repeat; 

}
.kevintextcontainer {
    background-color: rgb(58, 159, 214, .7);
    height: 50vh;
    width: 40vw;
    height: 40vh;
    margin-top: 7vh;
   
}


.kevinimg {
    margin-left: 10%;
    margin-top: 6vh;
    width: 30vw;
    height: 50vh;
}
.kevintext {
    margin-right: 10%;
    margin-top: 4vh;
    width: 50vw;
    color: black;
    font-style: normal;
    font-weight: bold;
    background-color: rgb(58, 159, 214, .7);
    opacity: 1; !important

}

.patdiv{
    background-image: url("img/Updates/patrick\ etienne_bio\ banner.jpg");
    border: black solid 2px;
    width: 100vw;
    min-height: 70vh;
    background-size: 100% 100%;
    background-repeat: no-repeat; 
    

}
.pattextcontainer {
    background-color: rgb(58, 159, 214, .5);
    height: 55vh;
    width: 40vw;
    margin-top: 5vh;
   
}
.secscroll {
    padding-bottom: 1%;
}
.bookimg {
    max-width: 300px;
    max-height: 300px;
}

.patimg {
    margin-left: 10%;
    margin-top: 4vh;
    width: 30vw;
    height: 50vh;
}
.pattext {
    margin-right: 10%;
    margin-top: 4vh;
    width: 50vw;
    color: black;
    font-style: normal;
    font-weight: bold;
    background-color: rgb(58, 159, 214, .7);
    opacity: 1; !important
    padding-bottom: 2%;
}
.megandiv{
    background-image: url("img/Updates/megan\ nolton_bio\ banner.jpg");
    border: black solid 2px;
    width: 100vw;
    min-height: 70vh; 
    background-size: 100% 100%;
    background-repeat: no-repeat;  

}
.megantextcontainer {
    background-color: rgb(58, 159, 214, .5);
    height: 50vh;
    width: 40vw;
    height: 40vh;
    margin-top: 5vh;
   
}

.meganimg {
    margin-left: 10%;
    margin-top: 7vh;
    width: 30vw;
    height: 50vh;
}
.megantext {
    margin-right: 10%;
    margin-top: 4vh;
    width: 50vw;
    color: black;
    font-style: normal;
    font-weight: bold;
    background-color: rgb(58, 159, 214, .7);
    opacity: 1; !important

}

    
/*scrollbars*/



/* Range Slider Start*/
header {
position: relative;
z-index: 10000;
height: 10vh;
}



/* The Modal (background) */
{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100% /* Full width */
    height: 100% /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .modal-content{
    background-color: rgb(250, 248, 200);
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80vw; /* Could be more or less, depending on screen size */
    height: 50%;
  }
  
  /* The Close Button */
  {
    color: black;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  .modalname {
     color: black;
      width: 100%;
  }
  .charname:hover {
    cursor: pointer;
    text-decoration: underline;
    color: yellow;
 }
.abutton {
    width: 100%;
    height: 100%;
    margin-top: -24%;
}
  .lucyimg {
    width: 40%;
    height: 50%;
  }
  .closetest:hover,
  .closetest:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  .topnav, nav {
    background-color: rgb(58, 159, 214);
    height: 12vh;    
}
.nametest { 
 font-size: 4.5vh;
 margin-left: 15%;
}
body {
    width: 100%;
}
@media (min-width: 34em) {
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 85vh;
        padding-top:5%;
       
    
     }
  
 
}

@media (min-width: 48em) {
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 85vh;
        padding-top:5%;
       
    
     }
  
    

}

@media (min-width: 62em) {
    .carousel-indicators {

       
    }

}

@media (min-width: 75em) {

 
}

  
/*Range SLider End*/
  /* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other (and change the direction - make the "cart" column go on top) */
  @media (max-width: 800px) {

  }

@media (max-width: 1200px) {

}
@media (min-width: 768px) {
  

  }
/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */

/* Small devices (tablets, 768px and up) */
@media (min-width: @screen-sm-min) { 

 }

/* Medium devices (desktops, 992px and up) */
@media (min-width: @screen-md-min) { 
      .charname, .maincharname {
        margin-top: 35px;
        
    }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: @screen-lg-min) { ... }

@media only screen and (max-width: 576px) {
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .nametest { 
        font-size: 4vh;
        margin-left: 3%;
        }
           .carousel {
        margin-top: -350px;
    
    }
    .booksmaindiv {
        margin-top: 5px;
        
    }
    .navbar-nav {
        background-color: rgb(58, 159, 214);
    }
     
 
}
@media screen and (orientation:landscape)
and (min-device-width: 319px) 
and (max-device-width: 480px) {

}
@media only screen and (max-width: 576px) {
 .megdiv {
    width: 100vw;
    height: 85vh;
    padding-top:5%;
   

 }
 .patdiv {
    width: 100vw;
    height: 100vh;
 }
 .nametest { 
    font-size: 4vh;
    margin-left: 3%;
    }

  .charname, .maincharname {
    margin-top: 35px;
    
}
.booksmaindiv {
    margin-top: 5px;
    
}
.carousel {
    margin-top: -350px;

}
.navbar-nav {
    background-color: rgb(58, 159, 214);
}
  
}
@media only screen and (max-width: 576px) {
    .carousel-caption {
        h5 {
            font-size: 1rem;
        }
    }
    
}

.char-card-deck {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: .5rem;
}

@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 
    body {
        width: 100%;
    }
    body > * {
        width: 100%;
    }
    .carousel {
        margin-top: 100px;
        padding-bottom: 5px;
}
.megdiv {
    width: 100vw;
    height: 85vh;
    padding-top:5%;
 }
 .patdiv {
    width: 100vw;
    height: 100vh;
 }
  }
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4) 
  and (orientation: landscape) {
    body {
        width: 100%;
    }
    body > * {
        width: 100%;
    }
    .carousel {
        margin-top: 100px;
        padding-bottom: 5px;
    }
}
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait) { 
    .nametest { 
        font-size: 4vh;
        margin-left: 3%;
        }
        .carousel {
            margin-top: -700px;
        
        }
        .navbar-nav {
            background-color: rgb(58, 159, 214);
        }
        .patdiv {
            width: 100vw;
            height: 100vh;
         }
         .megdiv {
            width: 100vw;
            height: 85vh;
            padding-top:5%;
           
        
         }
}
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4) {
    .nametest { 
        font-size: 4vh;
        margin-left: 3%;
        }
        .carousel {
            width: 300px;
            height: 300px;
            margin-top: -700px;
            padding-bottom: 5px;
        }
        .navbar-nav {
            background-color: rgb(58, 159, 214);
        }
        .patdiv {
            width: 100vw;
            height: 100vh;
         }
         .megdiv {
            width: 100vw;
            height: 85vh;
            padding-top:5%;
           
        
         }
     
}
@media (min-width:320px)  {     
    .patdiv {
    width: 100vw;
    height: 100vh;
 }
 .megdiv {
    width: 100vw;
    height: 95vh;
    padding-top:5%;
   

 }
}
@media (min-width:480px)  { 
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
       
    
     }
}
@media (min-width:320px)  { 
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
       
    
     }
}
@media (min-width:481px)  { 
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
       
    
     }
 }
 /* Portrait and Landscape */
@media screen 
and (device-width: 360px) 
and (device-height: 640px) 
and (-webkit-device-pixel-ratio: 2) {
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
       
    
     }

}

/* Portrait */
@media screen 
and (device-width: 320px) 
and (device-height: 640px) 
and (-webkit-device-pixel-ratio: 2) 
and (orientation: portrait) {
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
       
    
     }

}

/* Landscape */
@media screen 
and (device-width: 320px) 
and (device-height: 640px) 
and (-webkit-device-pixel-ratio: 2) 
and (orientation: landscape) {
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
       
    
     }

}

/* ----------- Galaxy S4, S5 and Note 3 ----------- */

/* Portrait and Landscape */
@media screen 
and (device-width: 320px) 
and (device-height: 640px) 
and (-webkit-device-pixel-ratio: 3) {
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
       
    
     }

}

/* Portrait */
@media screen 
and (device-width: 320px) 
and (device-height: 640px) 
and (-webkit-device-pixel-ratio: 3) 
and (orientation: portrait) {
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
       
    
     }

}

/* Landscape */
@media screen 
and (device-width: 320px) 
and (device-height: 640px) 
and (-webkit-device-pixel-ratio: 3) 
and (orientation: landscape) {
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
       
    
     }

}

/* ----------- Galaxy S6 ----------- */

/* Portrait and Landscape */
@media screen 
and (device-width: 360px) 
and (device-height: 640px) 
and (-webkit-device-pixel-ratio: 4) {
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
       
    
     }

}

/* Portrait */
@media screen 
and (device-width: 360px) 
and (device-height: 640px) 
and (-webkit-device-pixel-ratio: 4) 
and (orientation: portrait) {
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
       
    
     }

}

/* Landscape */
@media screen 
and (device-width: 360px) 
and (device-height: 640px) 
and (-webkit-device-pixel-ratio: 4) 
and (orientation: landscape) {
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
       
    
     }

}

/* ----------- Windows Phone ----------- */

/* Portrait and Landscape */
@media screen 
  and (device-width: 480px) 
  and (device-height: 800px) {
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
       
    
     }

}

/* Portrait */
@media screen 
  and (device-width: 480px) 
  and (device-height: 800px)  
  and (orientation: portrait) {
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
       
    
     }

}

/* Landscape */
@media screen 
  and (device-width: 480px) 
  and (device-height: 800px) 
  and (orientation: landscape) {
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
     }

}
@media only screen and (min-width: 360px) and (max-width: 767px) { 
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
     }
 }

@media only screen and (min-width: 360px) {
        .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
     }
 }

@media only screen and (min-height: 640px) { 
        .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
     }
}

@media only screen and (min-width: 640px) and (orientation: landscape) {
        .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
     }
 }

@media only screen and (min-width: 360px) and (orientation: portrait) {
        .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
     }
 }

@media only screen and (min-device-width: 360px) and (orientation: portrait) { 
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
     }
}
@media only screen and (min-device-width: 640px) and (orientation: landscape) { 
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
     }
 }

@media
  only screen and (-webkit-min-device-pixel-ratio: 4.0),
  only screen and (   min--moz-device-pixel-ratio: 4.0),
  only screen and (     -o-min-device-pixel-ratio: 4.0/1),
  only screen and (        min-device-pixel-ratio: 4.0),
  only screen and (                min-resolution: 577dpi),
  only screen and (                min-resolution: 4.0dppx) { 
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
     }
}


@media
  only screen and (-webkit-min-device-pixel-ratio: 2),
  only screen and (   min--moz-device-pixel-ratio: 2),
  only screen and (     -o-min-device-pixel-ratio: 2/1),
  only screen and (        min-device-pixel-ratio: 2),
  only screen and (                min-resolution: 192dpi),
  only screen and (                min-resolution: 2dppx) { 
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
     }
}

@media
  only screen and (-webkit-min-device-pixel-ratio: 3),
  only screen and (   min--moz-device-pixel-ratio: 3),
  only screen and (     -o-min-device-pixel-ratio: 3/1),
  only screen and (        min-device-pixel-ratio: 3),
  only screen and (                min-resolution: 384dpi),
  only screen and (                min-resolution: 3dppx) { 
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
     }
}

/*Galaxy S7 and S8 */
@media only screen and (min-device-width : 360px) and (max-device-width : 640px){
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
     }

}
/* samsung s7 portrait */
@media 
    (-webkit-min-device-pixel-ratio: 3)
    and (min-resolution: 192dpi)and (max-device-width : 640px){
        .patdiv {
            width: 100vw;
            height: 100vh;
         }
         .megdiv {
            width: 100vw;
            height: 95vh;
            padding-top:5%;
         }

}

/* samsung s7 landscape*/
@media 
    (-webkit-min-device-pixel-ratio: 3) 
    and (min-resolution: 192dpi){
        .patdiv {
            width: 100vw;
            height: 100vh;
         }
         .megdiv {
            width: 100vw;
            height: 95vh;
            padding-top:5%;
         }

}
@media only screen 
   and (max-width : 1440px) 
   and (max-height : 2560px) {
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
     }
}
@media only screen 
   and (max-width : 1440px) 
   and (max-height : 2560px) {
    .patdiv {
        width: 100vw;
        height: 100vh;
     }
     .megdiv {
        width: 100vw;
        height: 95vh;
        padding-top:5%;
     }
}
