
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;500;700&display=swap');
/* overrides default browser css */

:root {
  --ticket-height: 60px;
  --color-dblue: #001a4d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
}

a{
  color: #293F69;
}

a.hover{
  color: #536587;
}

p {
  font-size: .95rem;
  color: #333;
  text-align: justify;
	margin-bottom: 15px;
}


/* Header styling and positioning */
.header {
  overflow: hidden;
  padding: 20px 10px;
  margin-bottom: 3%;
  color: #001a4d;
  box-shadow: 0 10px 35px -10px rgba(0, 0, 0, .3);
}

.header a {
  float: left;
  color: black;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px;
  line-height: 25px;
}

.header a.logo {
  font-size: 25px;
  font-weight: bold;
}

.header a:hover {
  background-color: #ffffff;
  border: 1px solid #001a4d;
  color: #001a4d;
}

.header a.active {
  background-color: #001a4d;
  color: white;
  border: 1px solid #001a4d;
}

.header-right {
  float: right;
}

.brand {
  background-image: url(header_logo.png);
  height:60px;
  width:95px;
  padding-left: 20px;
  float: left;
  background-repeat: no-repeat;
}

/* "Hero" container - sets placement precedent */
.counter-hero{
  padding: 1.5rem 1rem;
}

/* Hero container */
.counter-hero-box-cluster {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* All Titles on the main page */
.section_title{
	color: #333;
  font-size: 1.2rem;
  text-transform: uppercase;
	font-weight: normal;
	margin-bottom: 10px;
}

/* Float 3 columns side by side. If you want more, smaller boxes, change width to accommodate for the crowding. Or they will wrap due to the flexbox attribute in the counter-hero-box-cluster parent class */
.counter-column {
  float: left;
  width: 33%;
  padding: 0 10px;
}

/* Remove extra left and right margins, due to padding */
.counter-row {
  margin-left: auto;
  margin-right: auto;
  width="80%";

}

/* Clear floats after the columns */
.counter-row:after {
  content: "";
  display: table;
  clear: both;
}

.counter-image{
  width: 80%;
  height: auto;
}

/* Style the counter cards */
.counter-card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  padding: 16px;
  text-align: center;
  background-color: #f1f1f1;
}

/* This manages font, placement, and styling */
.section-header {
  background-color: #FFF;
  margin-bottom: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
  color: #555;
  font-weight: 400;
  box-shadow: 0 10px 35px -10px rgba(0, 0, 0, .3);
}

.section-prices {
  padding: 1.5rem 1rem;
}


/* Holds the animated list boxes */
.list-boxs {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Each individual card */
.list-boxs .card {
  width: 32%;
  text-align: center;
  position: relative;
  max-width: 1000px;
}

.list-boxs .card .head,
.list-boxs .card .body {
  background-color: #FFF;
  padding: 1.5rem 1rem;
}

.list-boxs .card .head {
  color: #333;
  font-size: 1.2rem;
  text-transform: uppercase;
  transform: translateY(30px);
  transition: transform .3s linear;
  border-bottom: 1px solid #F2F2F2;
}

/* Hover magic! */
.list-boxs .card:hover .head {
  transform: translateY(0);
  box-shadow: 0 -5px 10px rgba(0, 0, 0, .1);
}

.list-boxs .card .ticket {
  color: #FFF;
  width: 80%;
  margin: 0 auto;
  padding: 1rem;
  font-size: 1.4rem;
  font-weight: bold;
  height: var(--ticket-height);
  box-shadow: inset 0px 6px 6px -5px rgba(0, 0, 0, .25),
              inset 0px -6px 6px -5px rgba(0, 0, 0, .25);
}

/* Colours! (Variables declared in :root. I had originally had more than one colour here, which is why I didn't combine these. Just lazily all changed them to have the same value. Might be worth cleaning up. Also keeping in case customer wants different tiers in future.) */
.list-boxs .starter .ticket {
  background-color: var(--color-dblue);
}
.list-boxs .standard .ticket {
  background-color: var(--color-dblue);
}
.list-boxs .premium .ticket {
  background-color: var(--color-dblue);
}

/* Box animation */
.list-boxs .card .body {
  transform: translateY(-30px);
  transition: transform .3s linear;
}
.list-boxs .card:hover .body {
  transform: translateY(0);
  box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
}

.list-boxs .card .btn {
  margin-top: 2rem;
  padding: .6rem 1rem;
  outline: none;
  font-size: .85rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  min-width: 160px;
  border: 1px solid #555;
  background-color: #555;
  color: #ffffff;
  cursor: pointer;
  transition: all .2s linear;
}

.list-boxs .card .btn:hover {
  box-shadow: 0 5px 10px 1px rgba(0, 0, 0, .15);
}

/* Again, vintage code back when I had three different colour famlies */
.list-boxs .starter .btn {
  background: var(--color-dblue);
  border-color: var(--color-dblue);
}
.list-boxs .standard .btn {
  background: var(--color-dblue);
  border-color: var(--color-dblue);
}
.list-boxs .premium .btn {
  background: var(--color-dblue);
  border-color: var(--color-dblue);
}


/*OPTIMIZATION FOR MOBILE AND OTHER SMALL SCREENS*/
@media screen and (max-width: 550px) {
  .header a {
    float: none;
    display: block;
    text-align: left;
  }

  .header-right {
    float: none;
  }
  .list-boxs .card {
    width: 95%;
  }

  .counter-column {
    width: 100%;
    display: block;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 750px) {
  .list-boxs {
    justify-content: space-around;
  }
  .counter-hero-box-cluster{
    justify-content: space-around;
  }
  .list-boxs .card {
    width: 45%;
  }
}
