


/*  Desktop  */
.content {
  background-color: var( --bg-colour );
  background-image: var( --bg-image );
  background-repeat: repeat; 
  background-size: cover;
  padding: 1rem 1rem 1rem 2rem;
  min-height: calc( 100vh - 140px );
}

.logo-line {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.flex-logo {
  flex: 0 0 400px; 
  width: 400px;
  a {
      img {
        width:220px;
      }
  }
}

.flex-title {
  font-family: segoe-semibold; 
  font-size: 2.5rem; 
  flex: 2; 
  justify-content: flex-start;
  text-align: left;
}

.flex-line {
  width: 100%;
  background-color: #faf4ef;
  padding: 1.5rem 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.flex-left {
  flex: 0 0 400px; 
  width: 400px;
}

.flex-right {
  font-family: segoe-semibold; 
  font-size: 2.5rem; 
  flex: 1; 
  align-self: auto;
}

.flex-line-2 {
  width: 100%;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.flex-left-2 {
  flex: 0 0 1; 
  width: 400px;
}

.flex-right-2 {
  font-family: segoe-semibold; 
  font-size: 2.5rem; 
  flex: 1; 
}

.sub-title{
  font-family: segoe-semibold; 
  font-size: 1.2rem; 
}

ul {
  list-style: none;
  font-family: segoe-semibold; 
  font-size: 1.2rem;
  line-height: 2rem; 
  margin: 0;
  padding: 0;
  li {
    a {
      text-decoration: none;
      color: inherit;
    }
    a:hover {
      border-bottom: 3px solid #333;
    }
  }
}

/*  Grid  */
.flex-container {
  display: flex;
  flex-wrap: wrap;
}

.carousel-cell {
  width: 210px; 
  height: 350px;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  flex-flow: column;  
  margin-right: 20px;
  margin-bottom: 20px;
  border: 1px solid #cacaca;
  background-color: #fff;
  border-radius: 6px;
  padding: 1rem;  
  justify-content: center;
}

.carousel-image {
  height: 225px;
  text-align: center;
  align-content: center;
}

.card-content {
  margin-bottom: 1rem;
  font-family: segoe-regular; 
  font-size: 1rem; 
  line-height: 1.2rem;
}

.card-colour {
  font-family: segoe-light; 
  font-size: 1rem; 
  justify-self: left;
}


/*  Tablet  */
@media only screen and (max-width: 1024px) {
  html {
    font-size: 12px;
  }
  .content {
    background-color: #edeefc;
  }
  .flex-left-2 {
    flex: 1; 
  }
  .flex-right-2 {
    font-family: segoe-semibold; 
    font-size: 2.5rem; 
    flex: 2; 
  }
  .carousel-cell {
    width: 168px; 
    height: 270px;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    flex-flow: column;  
    margin-right: 10px;
    margin-bottom: 10px;
    border: 1px solid #cacaca;
    background-color: #fff;
    border-radius: 6px;
    padding: 1rem;  
    justify-content: center;
  }
  .carousel-image {
    height: 200px;
    text-align: center;
    align-content: center;
  }
}

/*  Phone  */
@media only screen and (max-width: 480px) {
  html {
    font-size: 10px;
  }
  .content {
    background-color: var( --bg-colour );
    background-image: none;
    width: 100%;
    padding: 1rem 1rem 1rem 2rem;
  }
  .logo-line {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: left;
  }
  .flex-logo {
    flex: 1; 
    width: 120px;
    height: 80px;
    a {
        img {
          width:120px;
        }
    }
  }
  .flex-title {
    font-family: segoe-semibold; 
    font-size: 2rem; 
    flex: 1; 
    justify-content: flex-start;
    text-align: left;
    margin: 0;
  }
  .flex-line-2 {
    width: 98%;
    background-color: #faf4ef;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .flex-left-2 {
    flex: 1;    
  }
  .flex-right-2 {
    font-family: segoe-semibold; 
    font-size: 2.5rem; 
    flex: 1; 
  }
  .carousel-cell {
    width: 168px; 
    height: 270px;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    flex-flow: column;  
    margin-right: 10px;
    margin-bottom: 10px;
    border: 1px solid #cacaca;
    background-color: #fff;
    border-radius: 6px;
    padding: 1rem;  
    justify-content: center;
  }
  .carousel-image {
    height: 200px;
    text-align: center;
    align-content: center;
  }
}
