* { box-sizing: border-box; }

body { font-family: sans-serif; }

.carousel {
  background: #FAFAFA;
}

.carousel-cell {
  width: 66%;
  height: 200px;
  margin-right: 10px;
  background: #8C8;
  border-radius: 5px;
  counter-increment: carousel-cell;
}


/* cell number */
.carousel-cell:before {
  display: block;
  text-align: center;
  content: counter(carousel-cell);
  line-height: 200px;
  font-size: 80px;
  color: white;
}

.carousel-cell--height2 { height: 300px; }
.carousel-cell--height3 { height: 400px; }


#Intro h1 {
    font-family: Righteous, sans-serif;
    text-align: center;
}

.IntroDiv {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
}

.IntroDiv p {
    padding: .5em .5em .5em 1.5em;
}

.IntroImg {
    text-align: center;
}

article h2 {
    font-family: Righteous, sans-serif;
    text-align: center;
}

article p {
    font-family: Dosis, sans-serif;
    text-align: center;
    padding: .5em .5em .5em .5em;
}


.VertDivGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    grid-gap: 1em;
    padding: .5em .5em .5em .5em;
}

#VertGrid {
    padding: 2.5em .5em .5em 2.5em;
    height: 60vh;
    /* margin-bottom: 41em; */
}

#VertGrid a:hover img {
    filter: none;
    transition: all 0.3s ease 0s; 
    box-shadow: 0px 0px 50px #D75F40;
}

.AboutRat {
    padding-bottom: 2em;
}
.SolutionRat {
    padding-bottom: 8em;
}

@media screen and (max-width: 768px) {

    .IntroImg {
        text-align: center;
    }
    
    .IntroDiv {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: center;
    }

    .AboutRat {
        padding-bottom: 2em;
    }

    #VertGrid {
        padding: .5em .5em .5em .5em;
        height: 60vh;
        /* margin-bottom: 41em; */
    }

    .VertDivGrid {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: center;
        grid-gap: 1em;
        padding: .5em .5em .5em .5em;
    }

    .Image a img {
        max-width: 450px !important;
    }
}