@font-face {
    font-family: 'SourceSans';
    src: url('../fonts/SourceSans3-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: light;
}

@font-face {
    font-family: 'SourceSans';
    src: url('../fonts/SourceSans3-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: medium;
}


@font-face {
    font-family: 'SourceSans';
    src: url('../fonts/SourceSans3-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SourceSans';
    src: url('../fonts/SourceSans3-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: bold;
}


*, *::before, *::after {
  padding: 0;
  border: none;
  box-sizing: border-box;
}

:root {
  --padding: 1.5rem;
  --navy:   #002f5c;
  --petrol: #008a8b;
  --sun:    #c09236;
  --color-text: #2f2e2e
}

html {
  font: normal 400 1.2rem 'SourceSans', sans-serif;
  color: var(--color-text);
  background: var(--color-background);
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
}

img {
  width: 100%;
}

main a {
    border-bottom: 1px solid;
}

.text {
max-width: 1200px;
}

.text p + h2 {
padding-top: .5rem;
}

li {
  list-style: none;
}

a {
  color: var(--navy);
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
  text-align: left;
}

strong, b {
  font-weight: 600;
}

.header {
  padding: var(--padding);
  max-width: 80vw;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto ;
}

.logo {
  padding:  0;
  display: flex;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
  height: 4.5rem;

}

.logo img {
  height: 100%;
  width: auto;
}

.menu {
  display: flex;
  align-items: flex-end;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .03rem;
  color: var(--navy);
}

.menu a[aria-current] {
  border-bottom: 1 solid; 
}

.menu li {
  padding:  0;
}

.menu-item {
position: relative;
margin: 0 3rem 0 0;
}

.menu-item:last-child {
margin: 1rem 0 0 0
}

li.menu-item.is-active, .submenu-item.is-active a {
    border-bottom: 1px solid;
}

.submenu {
    position: absolute;
	display: block;
    text-transform: none;
	z-index: 10;
	padding-top: 1.2rem;
	left: -10px;
    opacity: 0;
}

li.submenu-item {
	padding: .3rem 10px .5rem;
	background-color: rgba(255, 255, 255, 0.95);
    cursor: pointer;
}

.submenu a {
  white-space: nowrap;
  margin-bottom: 0;
}

.menu > li:hover .submenu, .menu > li:active .submenu {
    display: block;
    visibility: visible;
    opacity: 1;
    animation: fade .2s;
}

#mobilemenu, #menuToggle {
display: none
}

#menuToggle {
  position: fixed;
  top: 50px;
  right: 0;  
  z-index: 3;  
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a {
  text-decoration: none;
  transition: color 0.3s ease;
}

#menuToggle a:hover {
  color: 
}

#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: 0;
  right: 0; 
  margin: 0;
  cursor: pointer;  
  opacity: 0; /* hide this */
  z-index: 4; /* and place it over the hamburger */ 
  -webkit-touch-callout: none;
}

#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: var(--navy);
  border-radius: 3px;
  z-index: 3;  
  transform-origin: 4px 0px;  
  transition: transform 0.2s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.2s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}
#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: var(--navy);
}
#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}
#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}

#mobilemenu {
  position: absolute;
  right: 0;
  width: 100vw;
  margin: -70px -1rem 0 -50px;
  padding: 50px 0 40px 1rem;
  background: rgba(255, 255, 255, 0.95);
  list-style-type: none;
  transform-origin: 0% 0%; 
  transform: translate(100%, 0);  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menuToggle input:checked ~ ul {
  transform: scale(1.0, 1.0);  
opacity: 1;
}

#mobilemenu li.menu-item {
margin: 1rem 1rem 0 0;
}

#mobilemenu li.menu-item.is-active {
border-bottom: 0px solid;
}


.grid {
	margin: 0 -3% 4rem;
	display: flex;
	flex-flow: row wrap;
	justify-content: left ;
}

.grid-item-5 {   
	width: 20%;
	padding: 1.5%;
}

.grid-item-4 {   
	width: 25%;
	padding: 1% 3% 3%;
}

.grid-item-3 {   
	width: 27.33%;
	margin: 1% 3% 3%;
}

.grid-item-2 {   
	width: 50%;
	padding: 1% 3% 3%;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

h1 {
  font-size: 1.6rem;
  line-height: 1.25em;
  color: var(--navy);
}

h2 {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  color: var(--petrol);
}


h3 {
  margin-bottom: 1rem;
  margin-top: 1.25rem;
  color: var(--petrol);
text-transform: uppercase
}


main {
padding: var(--padding);
max-width: 80vw;
margin: 0 auto;
position: relative;
}

.homeimage {
width: 70%;
display: inline-block;
}

.hometxt {
padding-left: 1rem;
display: inline-block;
font-size: 1.1rem;
}

.hometxt p {
margin: 0; 
}

.hometxt a {
border-bottom: 0px solid;
}

.home {
width: 70%;
padding-right: 3rem;
}

.home h1 {
  color: var(--petrol);
padding-top: 1rem;
}

.illu {
position: absolute;
z-index: 1;
}

.illu img {
position: fixed;
bottom: 0;
right: 0;
}

.illu.coach img {
width: 300px

}

.profile {
width: 60%;
padding: 3%;
z-index: 2;
}

.profile h1 {
margin-top: .3rem
}

.profileimage {
width: 40%;
position: relative;
padding: 3%;
}

.profiletxt {
margin-bottom: 3.2rem;
padding-right: 12%;
}

.profiletxt ul {
margin-left: 0.7rem;
}

.profiletxt ul li  {
margin-bottom: 1rem;
}

.profiletxt ul li:before {
content: "• ";
font-size: 1.5rem;
line-height: 1.2rem;
color: var(--petrol);
}

.profiletxt ul li {
text-indent: -0.7rem;
}

.profilelink a {
    border-bottom: 0px solid;
}

.team h2 {
margin-bottom: 0;
}

dt, dd {
display: inline-block;
}

dd {
margin-left: 0;
}

dd a {
    border-bottom: 0px solid;
    color: var(--petrol);
}



.footer {
  padding: var(--padding);
  max-width: 80vw;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto ;
}

.menu-item.foot {
font-size: .8rem;

}

.footer h2 {
  font-weight: 600;
  margin-bottom: .75rem;
}
.footer ul,
.footer p {
  color: var(--color-text-grey);
}
.footer p {
  max-width: 15rem;
}
.footer a:hover {
  color: var(--color-text);
}




