



/**


 * Theme Name: Saraswatham - mediamax.co.in
 * Version: 1.0
 * Description: Saraswatham Dance School.
 * Author: mediamax
  */
 





@font-face {
    font-family: 'playfair';
    src: url("fonts/p1.otf") format("opentype");
    font-weight:400;
}
@font-face {
    font-family: 'playfair';
    src: url("fonts/p2.otf") format("opentype");
    font-weight: 500;
}
@font-face {
    font-family: 'playfair';
    src: url("fonts/p3.otf") format("opentype");
    font-weight: 600;
}

@font-face {
    font-family: 'sf-pro';
    src: url("fonts/sf1.otf") format("opentype");
    font-weight: 100;
}

@font-face {
    font-family: 'sf-pro';
    src: url("fonts/sf2.otf") format("opentype");
    font-weight: 200;
}

@font-face {
    font-family: 'sf-pro';
    src: url("fonts/sf3.otf") format("opentype");
    font-weight: 300;
}

@font-face {
    font-family: 'sf-pro';
    src: url("fonts/sf4.otf") format("opentype");
    font-weight: 400;
}

@font-face {
    font-family: 'sf-pro';
    src: url("fonts/sf5.otf") format("opentype");
    font-weight: 500;
}

@font-face {
    font-family: 'sf-pro';
    src: url("fonts/sf6.otf") format("opentype");
    font-weight: 600;
}

@font-face {
    font-family: 'sf-pro';
    src: url("fonts/sf7.otf") format("opentype");
    font-weight: 700;
}

body, html {
    height: 100%;
    margin: 0;
    background: #3C5DAA;
}

.bgimg {
    background-image: url('images/banner.png');
    height: 100%;
    background-position: center 80%;
    background-size: cover;
    position: relative;
    color: white;
    font-family: "sf-pro", Courier, monospace;
    font-size: 25px;
}

.topleft {
    position: absolute;
top: 230px;
    font-size: 30px;
    left: 46%;
}

.bottomleft {
    position: absolute;
    bottom: 0;
    left: 16px;
}

.middle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
      text-align: center;
    font-family: "sf-pro";
    font-size: 1.7em;
    letter-spacing: 3px;
    line-height: 0;
    color: #fff;
}

.middle h1 {
       font-family: "sf-pro";
       font-weight: 300;
       -webkit-font-smoothing: antialiased;
       text-rendering: optimizeLegibility;
       color: #d40000;
       padding: 10px 0;
       font-size: 1.3em;
    line-height: initial;
}

hr {
    margin: auto;
    width: 40%;
}
.socials ul li{
    display: inline;
    width: max-content;
}
.socials ul{
        margin: 0;
    padding: 0;
}
.socials ul li img{
       height: 17px;
    margin: 0 0px;
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    /* height: 50px; */
    padding: 10px 10px;
    /* width: 50px; */
    /* display: flex; */
    /* flex-direction: row; */
    align-items: center;
    justify-content: center;
    transition: border-color 1s cubic-bezier(0.215, 0.61, 0.355, 1) 0s,
     background 1s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
     margin-top: 20px;
}

    @media screen and (min-width:320px) and (max-width: 425px){

    .middle h1{
           font-size: 1.2em;
    
    }
     .middle{
            width: 100%;
                top: 63%;
     }
     p {
         line-height: 38px;
         text-transform: uppercase;
             font-size: 15px !important;
    font-weight: 200;
    padding: 30px 0px;

     }
}

.logo img {
        width: 100%;
    /* margin: auto 0; */
    height: 300px;
    padding: 50px 0px;
}



.socials ul li img:hover {
       border: 2px solid #f77014;
    background: #f77014;
}

@media (max-width: 1440px){
    .content_block2{
        padding-top: 0 !important;
    }
    .logo img{
        height: 250px;
    }
}
@media (max-width: 420px){
    .logo img{
        height: 200px; 
    }
}
@media (max-width: 320px){
    .logo img{
        height: 140px;
    }
    p{
        line-height: 26px !important;
        padding: 10px 10px;
    }
    .col-md3 p{
        margin: 0 !important;
    }
    a{
        font-size: 14px !important;
    }
}
@media screen and (max-width: 900px) and (orientation: landscape){
    .logo img {
        height: 150px;
        padding: 10px 0px;  
    }
    .col-md12{
        padding-top: 0px !important;
        padding-bottom: 10px;
    }
    .col-md12 p{
        margin: 0 !important;
    }
    .col-md3 p{
        font-size: 20px !important;
    }
    .last_block{
        padding-bottom: 100px;
    }
    .middle{
        font-size: 1.2em;
        top: 70% !important;
    }
    a{
        font-size: 15px !important;
    }
}
@media screen and (max-width: 667px) and (orientation: landscape){
    .col-md12{
        padding-top: 20px !important;
    }
    .col-md3.content_block2{
        padding-bottom: 10px !important;
    }
    .col-md3 p {
        font-size: 16px !important;
    }
}
@media screen and (max-width: 568px) and (orientation: landscape){
    .logo img{
        height: 120px;
        padding: 0px !important;
    }
    .col-md12 p{
        line-height: 28px;
    }
    .middle{
        top: 67% !important;
    }
}














