/* global styles
=================*/
@import './fonts.css';
html{
    /* background-color: #f2f2f2; */
    background-color: #ECEFF1;
    box-sizing: border-box;
}
body{
    /* font-family: cursive, sans-serif; */
    font-family: 'Open Sans', sans-serif;
    padding-top: 50px;
    margin: 0px;
}
*, *:before, *:after{
    box-sizing: inherit;
}
.clear-fix{
    clear: both;
}
h1{
    text-align: center;
    font-size: 1.5rem;
}
.d-none{
    display: none;
}
.alert-primary{
    background-color: #d9edf7;
    border-color: #bcdff1;
    color: #31708f;
    padding: 10px;
    font-size: large;
}
/**
Spinner 
=============================================================**/
.spinner {
    /* margin: 100px auto; */
    width: 200px;
    height: 200px;
    text-align: center;
    font-size: 10px;
  }
  
  .spinner > div {
    background-color: #607D8B;
    height: 100%;
    width: 6px;
    display: inline-block;
    
    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
  }
  
  .spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
  }
  
  .spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
  }
  
  .spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
  }
  
  .spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
  }
  
  @-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% { -webkit-transform: scaleY(0.4) }  
    20% { -webkit-transform: scaleY(1.0) }
  }
  
  @keyframes sk-stretchdelay {
    0%, 40%, 100% { 
      transform: scaleY(0.4);
      -webkit-transform: scaleY(0.4);
    }  20% { 
      transform: scaleY(1.0);
      -webkit-transform: scaleY(1.0);
    }
  }

/* navbar
==============================================================================*/
.navbar{
    /* background-color: #46b248; */
    /* background-color: #ee6041; */
    /* background-color: #607D8B; */
    background-color: #607D8B;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}
.navbar .brand{
    text-decoration: none;
    padding: 10px;
    float: left;
    color: white;
    font-size: 25px;
    text-shadow:rgba(255, 255, 255,0.49) 1px 1px 6px,
    rgb(0, 0, 0) 2px 3px 30px;
}
.navbar .nav{
    padding: 0;
    margin: 0;
    text-align: center;
}
.navbar .nav-link{
    list-style: none;
    display: inline;
}
.navbar .nav a{
    text-decoration: none;
    padding: 20px 10px;
   display: inline-block;
    color: #ffffff;
    margin-left: -5px;
}
.navbar .nav a:hover{
    text-decoration: none;
    padding: 20px 10px;
    display: inline-block;
    /* color: #ee6041; */
    color: #607D8B;
    background-color: white;
    margin-left: -5px;
}
.navbar .nav .active{
    text-decoration: none;
    padding: 20px 10px;
    display: inline-block;
    /* color: #ee6041; */
    color: #607D8B;
    background-color: white;
    margin-left: -5px;
}
.navbar .nav-toggler{
    margin: 0;
    float: right;
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 5px;
    display: none;
}
/**
wrapper section
========================================================================== */
.wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 5px;

}
.wrapper .main{
    position: relative;
    z-index: 0;
    grid-column: 1/2;
    /* border: 3px solid rgb(50, 139, 50); */
}
.main form{
    width: 100%;
    /* border: 3px solid green; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.main .form-group{
    padding: 8px 10px;
    text-align: left;
    margin: auto;
}
.main .form-group label{
    display: block;
    font-size: larger;
    /* color: #ee6041; */
}
input{
    min-width: 400px;
}
.main .form-group input[type='file']{
    padding: 10px;
    font-size: larger;
    /* color: #ee6041; */
}
.main .form-group select{
    padding: 10px;
    font-size: larger;
    border: 0px;
    border-radius: 10px;
    min-width: 400px;
    
    
}
.main .form-group.convert-button{
    text-align: center;
    cursor: pointer;
}
.main .form-group.convert-button .btn{
    padding: 10px;
    font-size: 25px;
    border: 0px;
    color: #ffffff;
    /* background-color: #ee6041; */
    /* background-color: #bebebe; */
    background: #607D8B;
    cursor: pointer;
}
.main .form-group.convert-button .btn:hover{
    padding: 10px 20px;
    transition-duration: 0.5s;
}
.wrapper .output-area{
     text-align: center;
     /* border: 2px solid rgb(115, 227, 231); */
     grid-column: 2/3;
     padding: 2rem;
 }
.wrapper .output-area .output .message{
    padding: 10px;
    background-color: #dff0d8;
    border-color: #d0e9c6;
    color: #3c763d;
    font-size: large;
}
.wrapper .output-area .output .errors{
    padding: 10px;
    background-color: #f2dede;
    border-color: #ebcccc;
    color: #a94442;
    font-size: large;
}
.wrapper .output-area .output .download-link{
    padding: 10px;
    display: inline-block;
    text-decoration: none;
    background-color: #607D8B;
    color: white;
    font-size: larger;
    cursor: pointer;
}
.wrapper .output-area .output .download-link:hover{
    padding: 10px 20px;
    transition-duration: 0.5s;
}

/* footer
============================================================================ */
.footer{
    background-color: #607D8B;
    display: grid;
    grid-template-columns: 100%;
    grid-row-gap: 0px;
    margin: 0;
}
.footer .footer-info{
    display: grid;
    grid-template-columns: 30% 30% 30%;
    grid-gap: 5px;
    color: white;
    padding: 10px;
}
.footer .footer-info p{
    margin: 0;
    font-size: 16px;
}
.footer .footer-info h4{
    text-transform: uppercase;
    margin: 0px;
}
.footer .footer-info ul{
    margin: 0px;
    padding: 0px;
}
.footer .footer-info .share .social li{
    list-style: none;
    display: inline-block;
}
.footer .footer-info .share .social .social-link a{
    text-decoration: none;
    color: white;
}
.footer .footer-info .our-products .products{
    padding: 5px;
}
.footer .footer-info .our-products .products li{
    list-style: square inside;
}
.footer .footer-info .our-products .products a{
    text-decoration: none;
    color: white;
}
.footer .footer-label{
    background-color: #263238;
    text-align: center;
    color: white;
    font-size: 0.8rem;
}

/*About Page
==============*/
.about-wrapper, .blog-wrapper{
    display: grid;
    grid-template-columns: 70% 30%;
}
.about-wrapper .about-content, .blog-wrapper .blog-content{
    padding: 20px;
    min-height: 400px;
    font-size: large;
}

/*media queries
==========================================================*/
/*media queries
==========================================================*/
@media (max-width: 779px) {
    body{
        padding-top: 80px;
    }
    .navbar .nav{
        padding: 0;
        margin: 0;
        text-align: center;
        display: none;
    }
    .navbar .nav-toggler{
        display: inline-block;
    }
    .wrapper{
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 5px;
        min-height: 60vh;
    }
    .footer .footer-info{
        display: grid;
        grid-template-columns: 50% 50%;
        text-align: center;
        grid-gap: 10px;
    }

}
@media(max-width: 750px){
    .wrapper{
        display: grid;
        grid-template-columns: 100%;
        width: 100vw;
        grid-gap: 5px;
        min-height: 60vh;
        padding: 5px;
    }
    .main .form-group{
        padding: 10px;
        text-align: left;
        width: 100%;
        margin: auto;
    }
    .wrapper .output-area{ 
        grid-column: 1/2;
    }
    .wrapper .main{ 
        padding: 2rem;
        grid-column: 1/2;
    }
    .footer .footer-info{
        width: 100vw;
        display: grid;
        grid-template-columns: 100%;
        text-align: center;
        grid-gap: 10px;
        background-size: cover;
    }
    h1{
        margin: 0;
        padding: 5px;
        font-size: 1.5rem;
    }
}