html {}

body{
  font-family: ubuntu;
  background: url("images/background-image.jpg") no-repeat center top fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 100%;
}

.wrapper{   
    max-width: 1050px; 
    margin: 0px auto;
}

/* HEADER */

header{
    background: url("images/text-top-transparent.png") no-repeat center;
    height: 150px;
    display: block;
    position: relative;
}

@media only all and (max-width: 1050px){
    header{
        background-image: none;
    }
    
    #logo{
        display:block;
        margin: 0px auto;
        padding-left: 0px!important;
    }

}
@media only all and (max-width: 768px){
    header{
        height: 100px;
    }
    .tile {
        width: 244px;
        height: 150px;
    }
}

.header{
    margin:0;
    position: absolute;
    top: 50%;
    width: 100%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}


#logo img{
    max-width: 23%;
    height: auto;
    padding-left: 20px;
}

/* 5 columns */

.container{
    margin-top: 50px;
}

.col-sm{
  display: flex;
  justify-content: center;
  align-items: center; 
}

.tile {
    width: 173px;
    height: 110px;
    position: relative;
    margin-bottom: 20px;
}

@media only all and (max-width: 600px){
    .tile {
        width: 244px;
        height: 150px;
    }
}

.image {
  width: 100%;
  height: 100%;
}

.overlay {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center; 
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .7s ease-in-out;
    background-color: #00468e;
}

.purple{
        background-color: purple;
}

.red{
    background-color: red;
}



.tile:hover .overlay{
  opacity: 1;
}

.text {
  padding: 15px 5px 0px;
  border-radius: 5%;
  font-size: 13px;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;  
}

.purple{
    background-color: #762b8a;
    color: white;
}

.red{
    background-color: #db0014;
    color: white;
}

.black{
    background-color: black;
    color: white;
}

.grey{
    background-color: grey;
    color: white;
}