@import url(https://fonts.googleapis.com/css?family=Open+Sans);
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Satisfy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bangers&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bungee+Shade&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Baloo+Thambi+2:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');

body {
    /*font-family: 'Archivo Black', sans-serif;*/
    /*font-family: "Impact", "Charcoal", "sans-serif";*/
    font-family: 'Fredoka One', cursive;
    /*background-color: #fff !important;*/
    background-color: #fff !important;
}

h1{
    font-family: 'Fredoka One', cursive !important;
    font-size: 38px;
    text-transform: uppercase;
    text-align: center;
    color: #030166;
}

h1::after{
  content: '';
  background: #010025;
  display: block;
  height: 3px;
  width: 170px;
  margin: 20px auto;
}

h3{
    font-family: 'Fredoka One', cursive !important;
    font-size: 30px;
    text-transform: uppercase;
    text-align: center;
}

button{
    font-family: 'Archivo Black', sans-serif;
}
#marquee{
    font-size: 24px;
    color: #fff;
    font-weight: bolder;
    font-family: 'Archivo Black', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
}

#marquee a{
    font-size: 24px;
    color: #fff;
    font-weight: bolder;
    font-family: 'Archivo Black', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
}
.marquee_on{
    background-color: rgb(170, 2, 2);
    padding: 20px 0px;
    margin-top: -20px;
    display: inline-block;
}

.marquee_off{
    background-color: rgb(170, 2, 2);
    padding: 20px 0px;
    margin-top: -20px;
    display: none;
}
/*---------Loading Screen------*/

.spinner-wrapper{
    width: 100%;
    height: 100%;
    background-color: #151515;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    position: relative;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
}

.spinner::before,
.spinner:after{
    content: "";
    position: absolute;
    border-radius: 50%;
}

.spinner:before {
    width: 100%;
    height: 100%;
    background-image:linear-gradient(90deg, #ff00cc 0%,#333399 100% );
    animation: spin .5s infinite linear;
}
.spinner:after {
    width: 90%;
    height: 90%;
    background-color: #151515;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }

}

/*---------Social Media Icons------*/

.socialmediaicons{
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    position: fixed;
    z-index: 100;
}

.socialmediaicons ul{
    padding: initial;
}

.socialmediaicons ul li{
    height: 40px;
    width: 40px;
    font-size: 20px;
    list-style-type: none;
    padding-left: 12px;
    padding-top: 6px;
    margin-top: 5px;
    color: #fff;
    background: #000;
}

.socialmediaicons .facebook{
    background: #3b5998;
}

.socialmediaicons .youtube{
    background: #ff0000;
}

.socialmediaicons .twitter{
    background: #55acee;
}

.socialmediaicons .instagram{
    background: #ff4800;
}

.socialmediaicons ul li:hover{
    padding-left: 30px;
    width: 80px;
    transition: 1s;

}

/*---------nav bar--------*/

.recnavbar {
    position: absolute;
    cursor: pointer; 
    font-size: 24px;
    display: none;
    color: #D1D7E0;
    background: none;
    border: none;
    margin: 20px;
}

.navigation{
    width: 100%;
    position: relative;
    background-color: #000;
    margin-top: -20px;
    
}

.logo{
    
    left: 50%;
    top: 0;
    content: "";
    text-align: center;
}

.logo img{
    width: 150px;
    height: 150px;
    background-color: #000;
    border-radius: 50%;
}

.mainNav{
    margin: 0 auto;
    list-style: none;
    display: block;
    font-family: "Impact", "Charcoal", "sans-serif";
}

.mainNav ul{
    margin: -150px 200px;
    padding: 20px 0;
    text-align: right;
}

.mainNav ul li{
    float: none;
    display: inline-block;
}

.mainNav ul li:nth-child(1){
    float: left;
}
.mainNav ul li:nth-child(2){
    float: left;
}
.mainNav ul li:nth-child(3){
    float: left;
}

.mainNav ul li:nth-child(4){
    float: left;
}
.mainNav ul li:nth-child(5){
    float: left;
}

.mainNav ul li a{
    color: #D1D7E0;
    font-size: 20px;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    padding: 10px 20px;
}

.mainNav ul li a:hover{
    color: #030166;
}

.banner #bannerdesktop {
    max-width: 100%;
    margin-top: -40px;
    z-index: -1;
    position:relative;
}

.banner #bannermobile {
max-width: 100%;
z-index: -1;
position:relative;
display: none;
}

.common-btn{
    margin-top: 10px;
    padding: 14px 30px;
    background: -webkit-linear-gradient(top, #010041 0%,#030166 50%,#010041 100%);
    outline: none;
    border: 2px solid #2D283E;
    color: #D1D7E0;
    border-radius: 10px;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.common-btn:hover{
    background: -webkit-linear-gradient(top, #13101c 0%,#000000 50%,#13101c 100%);
    border: 2px solid #2D283E;
    color: #D1D7E0;
}

/*---------Heading------*/

#heading h1{
    font-size: 38px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    background: none;
    margin: auto;
    color: #D1D7E0;
    padding-bottom: 20px;
}

#heading h1::after{
    content: '';
    background: #010025;
    display: block;
    height: 3px;
    width: 170px;
    margin: 20px auto;
}

/*--------------Family----------------*/

#family{
    background: #000;
    color: #D1D7E0;
    padding: 20px;
}

.families{
    background: #010027;
    padding: 50px;
    align-items: center;
    margin: auto;
    text-align: center;
}

.families .family_container{
    transition: 1s;
    background: #fff;
    border: 2px solid rgb(29, 75, 211);
    border-radius: 10px;
    box-shadow: 0 1.4rem 8rem rgba(0, 40, 170, 0.74);
    padding-bottom: 10px;
}

.familybox{
    padding: 50px 0px;
}

.families .family_container:hover{
    transform: scale(1.1);
}
.families h1{
    color: #030166;
}

.families h3{
    color: #030166;
}

.families p{
    font-size: 20px;
    color: #030166;
    font-family: "Impact", "Charcoal", "sans-serif";
}

.families img{
    max-width: 100%;
}

/* ---------------Footer----------------- */

#footer {
    background: #000;
    padding: 0 0 30px 0;
    color: #eee;
    font-size: 14px;
  }
  
  #footer .footer-top {
    background: #111;
    padding: 60px 0 30px 0;
  }
  
  #footer .footer-top .footer-info {
    margin-bottom: 30px;
  }
  
  #footer .footer-top .footer-info h3 {
    font-size: 34px;
    margin: 0 0 20px 0;
    padding: 2px 0 2px 10px;
    line-height: 1;
    
    font-weight: 700;
    letter-spacing: 3px;
    border-left: 4px solid #030166;
  }
  
  #footer .footer-top .footer-info p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    color: #eee;
    font-family: 'Varela Round', sans-serif;
  }
  
  #footer .footer-top .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #333;
    color: #eee;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
  }
  
  #footer .footer-top .social-links a:hover {
    background: -webkit-linear-gradient(top, #010041 0%,#030166 50%,#010041 100%);
    color: #fff;
  }
  
  #footer .footer-top h4 {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
  }
  
  #footer .footer-top h4::before,
  #footer .footer-top h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
  }
  
  #footer .footer-top h4::before {
    right: 0;
    background: #555;
  }
  
  #footer .footer-top h4::after {
    background: #030166;
    width: 60px;
  }
  
  #footer .footer-top .footer-links {
    margin-bottom: 30px;
  }
  
  #footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  #footer .footer-top .footer-links ul i {
    padding-right: 8px;
    color: #ddd;
  }
  
  #footer .footer-top .footer-links ul li {
    border-bottom: 1px solid #333;
    padding: 10px 0;
  }
  
  #footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
  }
  
  #footer .footer-top .footer-links ul a {
    color: #eee;
  }
  
  #footer .footer-top .footer-links ul a:hover {
    color: #030166;
  }
  
  #footer .footer-top .footer-contact {
    margin-bottom: 30px;
  }
  
  #footer .footer-top .footer-contact p {
    line-height: 26px;
  }
  
  #footer .footer-top .footer-newsletter {
    margin-bottom: 30px;
  }
  
  #footer .footer-top .footer-newsletter input[type="email"] {
    border: 0;
    padding: 6px 8px;
    width: 65%;
  }
  
  #footer .footer-top .footer-newsletter input[type="submit"] {
    margin-top: 10px;
    padding: 6px 16px;
    background: -webkit-linear-gradient(top, #010041 0%,#030166 50%,#010041 100%);
    outline: none;
    border: 2px solid #030166;
    color: #D1D7E0;
    border-radius: 10px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
  }
  
  #footer .footer-top .footer-newsletter input[type="submit"]:hover {
    background: -webkit-linear-gradient(top, #13101c 0%,#000000 50%,#13101c 100%);
    border: 2px solid #030166;
    color: #D1D7E0;
  }
  
  #footer .copyright {
    text-align: center;
    padding-top: 30px;
  }
  
  #footer .credits {
    text-align: center;
    font-size: 13px;
    color: #ddd;
  }

/* ---------------Scroll Button----------------- */

#scroll_up_button{
    position: fixed;
    bottom: 40px;
    right: 40px;
    font-size: 22px;
    width: 50px;
    height: 50px;
    background: -webkit-linear-gradient(top, #010041 0%,#030166 50%,#010041 100%);
    color: #D1D7E0;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    z-index: 11;
}

#scroll_up_button:hover{
    background: -webkit-linear-gradient(top, #13101c 0%,#000000 50%,#13101c 100%);
    color: #D1D7E0;
    border: 1px solid #4C495D;
}

/*Device CSS*/

@media (max-width:600px){
    .banner #bannermobile {
        display: block;
        }
    .banner #bannerdesktop {
        display: none;
        }

}

@media (max-width:1349px){
    .logo img{
        width: 100px;
        height: 100px;
        background-color: #000;
        border-radius: 50%;
    }

    .mainNav ul{
        margin: -100px 250px;
        padding: 20px 0;
        text-align: right;
    }

    .mainNav ul li a{
        font-size: 16px;
        padding: 10px 5px;
    }

}

@media (min-width:1350px){

    .mainNav ul{
        margin: -156px 45px;
    }

}

@media (max-width:1349px){

    .mainNav ul{
        margin: -100px 100px;
    }

}

@media (max-width:1024px){

    .logo img{
        width: 80px;
        height: 80px;
        background-color: #000;
        border-radius: 50%;
    }
    
    .recnavbar {
        display: block;
    }

    .mainNav{
        margin: 0 auto;
        list-style: none;
        display: none;
    }

    .mainNav ul{
        margin: 0px 40px;
        padding: 20px 0;
        text-align: center;
    }

    .mainNav ul li{
        float: none;
        display: block;
    }

    .mainNav ul li:nth-child(1){
        float: none;
    }
    .mainNav ul li:nth-child(2){
        float: none;
    }
    .mainNav ul li:nth-child(3){
        float: none;
    }
    .mainNav ul li:nth-child(4){
        float: none;
    }
    .mainNav ul li:nth-child(5){
        float: none;
    }
}

@media (max-width:1068px){
    .blog-post{
        max-width: 80rem;
    }

    .blog-post_img{
        min-width: 30rem;
        max-width: 30rem;
    }
}

@media (max-width:868px){
    .blog-post{
       max-width: 70rem;
    }

    
}

@media (max-width:768px){
    #news {
        height: 70vh;
        
    }
    
    .blog-post{
       padding: 2.5rem;
       flex-direction: column;
    }

    .blog-post_img{
        
        max-width: 100%;
        transform: translate(0,-8rem);
    }

    .blog-post_info{
        margin-top: 100px;
    }
}


@media (max-width:650px){
    .blog-post_info{
        margin-top: 40px;
    }
    
}

/*iphone and oneplus*/
@media (max-width:435px){
    .blog-post{
        padding: 1.5rem;
        flex-direction: column;
    }
 
    .blog-post_img{
        min-width: 100%;
        max-width: 100%;
        transform: translate(0,-8rem);
    }

    .blog-post_info{
        margin-top: -50px;
    }

}

/*Iphone X specific*/
@media (max-width:376px){
    
    

}

@media (max-width:770px){
    h1{
        font-size: 28px !important;
    }

    .socialmediaicons ul {
        padding: initial;
    }

    .socialmediaicons ul li{
        height: 20px;
        width: 20px;
        font-size: 14px;
        list-style-type: none;
        padding-left: 4px;
        padding-top: 0;
        margin-top: 5px;
        color: #fff;
        background: #000;
    }

    
}
