html {
    height: 100%;
    background: rgba(233,233,233,1);
  }
body {
    background: rgb(110,183,76);
    background: linear-gradient(0deg, rgba(110,183,76,1) 25%, rgba(233,233,233,1) 81%);    
    background-size: contain;
    background-repeat: no-repeat;
    min-height: 100%;
}

.main-container{
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 30px;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
    .main-container{
        width: 90%;

    }

    section{
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Smartphones (landscape) ----------- */
@media only screen 
and (min-width : 321px) {
    .main-container{
        width: 80%;

    }

    section{
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 320px) {
    .main-container{
        width: 90%;

    }

    section{
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
    .main-container{
        width: 80%;

    }

    section{
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

/* iPads (landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
    .main-container{
        width: 60%;

    }

    section{
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }
}

/* iPads (portrait) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
    .main-container{
        width: 80%;

    }

    section{
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Desktops and laptops ----------- */
@media only screen 
and (min-width : 1224px) {
    .main-container{
        width: 60%;

    }

    section{
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }
}

/* Large screens ----------- */
@media only screen 
and (min-width : 1824px) {
    .main-container{
        width: 60%;
    }

    section{
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }
}

header{
    background-color:white;
    padding: 10px 0px 10px 0px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.logo{
    width: 230px;
}

.navbar-toggler{
    margin: 0 auto;
}

.navbar-nav{
    margin: 0 auto;
}

.navbar-container {
    border-top: 2px solid #dadada;
    border-bottom: 2px solid #dadada;
    padding: 20px 0px 20px 0px;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
}

section{
    background-color: white;
    padding-right: 3rem;
    padding-left: 3rem;
}

footer{
    border-top: 2px solid #dadada;
    background-color:white;
    padding: 20px 3rem 20px 3rem;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.home-img{
    width:100%;
}


.pull-box{
    background-color: #E7DFD0;
    width: 70%;
    text-align: center;
    color: #225799;
    margin: 15px auto;
    height: 60px;
    display: block;
    transform: skew(15deg);
     -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: rgba(0,0,0,0.8) 0px 0 15px;
    -moz-box-shadow: rgba(0,0,0,0.8) 0 0 15px;
    box-shadow: rgba(0,0,0,0.8) 0 0 15px;
    display:flex;justify-content:center;align-items:center;
}

.unpull-box{
    transform: skew(-15deg);
}

.pull-header{
    font-size: 0.7em;
    font-weight: 400;
}

.pull-number{
    font-size: 1.5em;
    font-weight: 400;
    font-style: italic;
}

.section-padding{
    padding-top:3em;
}

.footer-padding{
    padding-bottom:3em;
}

.news-item {
    padding:20px 20px 20px 20px; 
    background:#FEFFD5; 
    border:1px solid #FFEB70;
}

.news-item h5{
    color: #225799;
}

.btn-label {position: relative;left: -12px;display: inline-block;padding: 6px 12px;background: rgba(0,0,0,0.15);border-radius: 3px 0 0 3px;}
.btn-labeled {padding-top: 0;padding-bottom: 0; font-weight:300;}
.btn { margin-bottom:10px; }

.gallery{
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    grid-auto-rows: 150px;
    grid-auto-flow: dense;
}

.gallery a{
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.gallery a img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.2s ease-in-out;

}

.gallery a img:hover{
    transform: scale(1.2);
}

.gallery-b{
    position:relative;
    display: inline-block;
    cursor: pointer;
}

.gallery-b:before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    content: "\f04b";
    font-family: "Font Awesome 5 Free";
    font-size: 50px;
    color: #fff;
    opacity: 0.8;
    text-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease-in-out;
    z-index:2010;
  }
  
  .gallery-b:hover:before {
    color: #eee;
  }

  h2{
      margin-bottom: 1em;
  }