/* Core styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    height: auto;
    margin: 0;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.1em;
    line-height: 1.5;
    text-align: center;
    background: #2690d4; 
    /*overflow: hidden; */

}

/* core styles for the images */
img {
    display: block;
    /* width 100% of container  */
    width: 100%;
    height: auto;
}

h1, h2, h3 {
    margin: 0;
    /* padding 1em top and bottom and 0 left and right*/
    padding: 1em 0;
}

.page {
    height: 100%;
    background-color: #2690d4;
}

.content {
    height: 100%;
    transform-origin: top left;
    transition: transform 0.7s cubic-bezier(1, 0.005, 0.24, 1);
    background-color: #FFFFFF;
}

.content_inner {
    height: 100%;
    overflow-y: auto;
    padding: 50px 20%;
}


.logo {
  padding-top: 10px;
  padding-bottom: 20px;  
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.comic {
    font-family: 'Cormorant Upright', serif;
    font-size: 5vw;
    padding-bottom: 10px;
    padding-top: 20px;
    margin-top: 20px;
    text-align: center;
}

.comic2 {
    font-family: 'Cormorant Upright', serif;
    padding-bottom: 10px;
    padding-top: 20px;
    margin-top: 20px;
    text-align: center;
}

/* basically all styling from now on */
.menu_toggle {
    z-index: 900;
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    cursor: pointer;
    width: 100px;
    height: 80px;
    background-color: #66C4F8;
    border-bottom-right-radius: 100%;
}

.menu_toggle:active i {
    opacity: 0.8;
}

.menu_toggle i {
    color: #fff;
}

.menu_toggle .menu_open,
.menu_toggle .menu_close {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -15px;
    margin-left: -12px;
    transition: transform 0.7s cubic-bezier(1, 0.005, 0.24, 1);
}

.menu_toggle .menu_open {
    transform-origin: -100px -100px;
}

.menu_toggle .menu_close {
    transform: rotate(20deg);
    transform-origin: -100px -160px;
}

.menu_items {
    position: fixed;
    bottom: 0;
    left: 1em;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu_items li {
    height: 60px;
    margin-bottom: 30px;
    transform: translateX(-300px);
    transition: transform 0.7s 0s cubic-bezier(1, 0.005, 0.24, 1);
}

.menu_items li:nth-child(2) {
    margin-left: 4em;
}

.menu_items li:nth-child(3) {
    margin-left: 8em;
}

.menu_items li:nth-child(4) {
    margin-left: 9em;
}

.menu_items a {
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    transition: color 0.2s;
    z-index: 900;
}

.menu_items a .icon {
    position: relative;
    display: inline-block;
    margin-right: 25px;
    color: #f0f0f0;
}

.menu_items a .icon:after {
    position: absolute;
    top: 50%;
    left: 50%;
    content: '';
    display: block;
    width: 60px;
    height: 60px;
    margin-left: -33px;
    margin-top: -32px;
    border-radius: 100%;
    border: 2px solid #333;;
    transition: border-color 0.2s;
}

.menu_items a:hover {
    color: #fff;
}

.menu_items a .icon:after {
    border-color:  #fff;
}

.menu_items a:hover .icon:after {
    border-color:  #66C4F8;
}

.menu_items a:active .icon {
    color:  #66C4F8;
}

/* Let's open up the menu */
.shazam {
    /*.content_inner {
    height: 100%;
}*/
}

.shazam .content {
    transform: rotate(-30deg);
}

.shazam .menu_open {
    transform: rotate(-20deg);
}

.shazam .menu_close {
    transform: rotate(0);
}

.shazam .menu_items li {
    transform: translateX(0);
    transition: transform 0.35s 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.shazam .menu_items li:nth-child(2) {
    transition-delay: 0.47s;
}

.shazam .menu_items li:nth-child(3) {
    transition-delay: 0.48s;
}

.shazam .menu_items li:nth-child(4) {
    transition-delay: 0.5s;
}

h1 {
    padding-bottom: 15px;
}

body {
    color: #584e4a;
}

.social i {
    font-size: 20px;
    background-color:  #66C4F8;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: white;
    border-radius: 50px;
}

#lim {
    position: fixed;
    bottom:0;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  background-color: white; /* For browsers that do not support gradients */
  background-image: linear-gradient(white, #66C4F8); /* Standard syntax (must be last) */
}

/* Section A */
#section-a {
    background: #eaeaea;
    color: #333;
    padding-bottom: 2em;
}

#section-a .content-wrap {
    padding: 0 1.5em;
    columns: 1;
}

#showcase .bg-image {
    position: absolute;
    background: #333  url('../img/rainbird1.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 400px;
    z-index: -1;
    /*opacity: 0.8; */
}

/* Section D  Boxes */
.box {
    padding: 2em;
}

/* Section b */
#section-b {
    padding: 2em 1em 1em;
}

#section-b ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#section-b li {
    margin-bottom: 1em;
    background: #fff;
    color: #333;
}

.card-content {
    padding: 1em;
    font-size: 1em;
    line-height: 1.2;
}

.array {
    height: 5em;
    /* background: #eaeaea; */
    padding-bottom: 2em;
    padding-top: 1em;    
}

/* For contacts page */

#iframe-container {
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
}

#iframe-container iframe {
   border: 0;
   height: 100%;
   left: 0;
   position: absolute;
   top: 0;
   width: 100%;
}

/* 4x3 Aspect Ratio */
#piframe-container-4x3 {
  padding-top: 75%;
}


#piframe-container {
  overflow: hidden;
}

#piframe-container iframe {
   border: 0;
   height: 100%;
   left: 0;
   position: absolute;
   top: 0;
   width: 100%;
}

/* 4x3 Aspect Ratio */
#piframe-container-4x3 {
  padding-top: 75%;
}

/* Media query  */
@media(min-width: 745px) { 

    .grid {
        display: grid;
        grid-template-columns: 1fr repeat(2, minmax(auto, 25em)) 1fr;
    }

    #section-a .content-text {
        columns: 2;
        column-gap: 2em;
    }

    /* fix the leveling */
    #section-a .content-text p {
        padding-top:0em;
        margin-top: 0em;
    }   

    .content-wrap, #section-b ul {
        grid-column: 2/4;
    }

    .box, #main-footer div {
        grid-column: span 2;
    }

    #section-b ul {
        display: flex;
        justify-content: space-around;
    }

    #section-b li {
        width: 31%;
    }

}

@media screen and (max-width: 745px) {
 
    .page {
        background-color: #2525a1;
    }

    .menu_items {
        position: fixed;
        top: 20em;
        list-style-type: none;
        margin-left: 5px;
    }
    .menu_items li {
        height: 50px;
        margin-bottom: 30px;
        transform: translateX(-300px);
        transition: transform 0.7s 0s cubic-bezier(1, 0.005, 0.24, 1);
    }
    .menu_items li:nth-child(2) {
        margin-left: 30px;
    }
    .menu_items li:nth-child(3) {
        margin-left: 50px;
    }
    .menu_items li:nth-child(4) {
        margin-left: 20px;
    }
    
}