 /* CSS Variables */
:root {
  --primary: #ddd;
  --dark: #333;
  --light: #fff;
  --shadow: 0 1px 5px rgba(104, 104, 104, 0.8);
}

body {
  background: #ccc;
  margin: 30px 50px;
  line-height: 1.4;
}

/* Button Styling */
.btn {
  padding: 0.6rem 1.3rem;
  text-decoration: none;
  text-align: center;
}

.btn-apple {
  background-color: #9AE78E;
  color: white;
  max-width: 70%;
  margin: auto auto 20px;
}

.btn-apple:hover {
  background-color: white; 
  color: #9AE78E; 
  border: 1px solid #9AE78E;
}

.btn-apple-round {
  border-radius: 0px 0px 25px 25px;
}

.btn-green {
  background-color: #4CAF50;
  color: white;
}

.btn-green:hover {
  background-color: white; 
  color: #4CAF50; 
  border: 1px solid #4CAF50;
}

.btn-red {
  background-color: #f44336;
  color: white;
  width: 70%;
  margin: auto;
}

.btn-red:hover {
  background-color: white; 
  color: black; 
  border: 1px solid #f44336;
}

.btn-new {
  background-color: #f44336;
  color: white;
  max-width: 40%;
  margin: auto;
}

.btn-showcase {
  background-color: #f44336;
  color: white;
  margin: auto;
}

.btn-bookTee {
  margin: 50px auto 20px;
}

.btn-white {
  background-color: white; 
  color: #4CAF50; 
}

.btn-white:hover {
  background-color: #4CAF50;
  color: white;
  border: 1px solid white;
}

.btn-red-round {
  border-radius: 0px 0px 25px 25px;
}

/* Line*/
.line {
  width: 230px;
  border-top: 2px solid white;
  padding-bottom: 20px;
  margin: auto;
}

img {
  max-width: 100%;
}


/* Hero Carousel */
/* ------------- */

* {box-sizing: border-box}
body {font-family: Verdana, sans-serif; margin:0}
.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}

/* CSS Grid Layout */
.wrapper {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

/* Header */
header {
  grid-column: span 12;
  display: grid;
/*  grid-template-rows: 1fr 2fr;
*/}

/* Navigation*/
nav {
  grid-column: span 12;
  display: grid;
  grid-template-rows: 40px 70px;
}

/* Top Navigation */
.top-nav {
  background: #0E3608;
  grid-column: span 12;
  grid-row: 1/2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

/* Top Navigation Menu */
.top-nav-menu {
  grid-column: 11/13;
  padding: 0.5em;
}

.top-nav-menu li {
  list-style: none;
}

.top-nav-menu a {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 5px 0px;
  color: white;
  font-family: Raleway;
  font-size: 0.6rem;
  font-weight: bold;
}

.top-nav-menu ul {
  display: grid;
/*  grid-gap: 5px;
*/  padding: 0;
  list-style: none;
  grid-template-columns: repeat(2, 1fr);
  margin: 0px;
}

/* Main Navigation */
.main-nav {
  grid-column: span 12;
  display: grid;
  grid-template-columns: auto 1fr;
/*  grid-gap: 30px;
*/  background: #206615;
}

.main-nav img {
  position: relative;
  display: block;
  z-index: 1000;
}

/* Main Navigation Menu */
.nav-menu {
  grid-column: 3;
  display: grid;
  grid-template-columns: repeat(6, auto);
  list-style: none;
}

.nav-menu a {
  display: block;
  text-decoration: none;
  padding: 0.8rem;
  text-align: center;
  color: white;
  font-family: Raleway;
  font-weight: normal;
}

.nav-menu a:hover {
  background: #0E3608;
  font-weight: bold;
font-size: 1.1rem;
}

.nav-menu a.active {
  background: #206615;
  font-size: 1.1rem;
  border: 1px solid #0E3608;
}

.menu > li {
  border:#333 1px solid;
}

.logo {
  align-self: center;
  vertical-align: middle;
  grid-column: 1;
  grid-row: 1/-1;
  margin: -30px 10px;
}

/* Hero Section */
.hero {
  grid-column: span 12;
}

/* Showcase */
.showcase {
  grid-area: showcase;
  min-height: 400px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  box-shadow: var(--shadow);
}

.showcase h1 {
  font-size: 4rem;
  margin-bottom: 0;
  color: var(--light);
}

.showcase p {
  font-size: 1.3rem;
  margin-top: 0;
  color: var(--light);
}

/* Caption text */
.showcase, .text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: left;
}

/* Section 1 */
.section1 {
  grid-column: span 12;
  display: grid;
  grid-gap: 80px;
  grid-template-columns: repeat(3, 2fr);
  padding: 3rem;
  background-image: url("../img/fraser-course2_1920x1280x30.jpg");
  background-repeat: no-repeat;
  background-position: left top;
  background-attachment: scroll;
}

.bookTee {
  grid-column: 1/2;
  background-color: rgba( 14, 54,  8, 0.1);
  color: white;
  text-align: center;
}

.bookTee .btn-red {
  margin-bottom: 15px;
}

.news {
  grid-column: 2/3;
  background-color: rgba( 14, 54,  8, 0.1);
  color: white;
  text-align: center;
}

.news .btn-red {
  margin-bottom: 25px;
}

.tournaments {
  grid-column: 3/4;
  background-color: rgba( 14, 54,  8, 0.1);
  color: white;
  text-align: center;
}

.tournaments p {
  text-align: left;
  padding-left: 5px;
}

.tournament-dates {
  padding: 10px;
}

/* Section 2 */
.section2 {
  grid-column: span 12;
  display: grid;
  grid-gap: 30px;
  grid-template-columns: repeat(2, 1fr);
  padding: 3rem;
}

/* Section 3 */
.section3 {
  grid-column: span 12;
  display: grid;
  grid-gap: 30px;
  grid-template-columns: repeat(2, 1fr);
  padding: 3rem;
}

header.showcase {
  grid-column: span 12;
/*  border: green 4px dashed;
*/}

/* Footer */
.footer {
  grid-column: span 12;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 200px;
  background: #206615;
  color: white;
  font-size: 16px;
  font-family: Raleway;
}

.footer ul {
  list-style: none;
  text-decoration: none;
}

.footer a {
  text-align: center;
  text-decoration: none;
  padding: 0.8rem;
  color: white;
  font-family: Raleway;
  font-size: 10px;
}

.footer-nav {
  grid-column: 1;
}

.newsletter {
  grid-column: 2;
  padding: 0.8rem;
  color: white;
  font-family: Raleway;
  font-size: 16px;
  font-weight: bold;
}

.footer-contact {
  grid-column: 3;
  padding: 0.8rem;
  color: white;
  font-family: Raleway;
  font-size: 14px;
}

.footer-social {
  grid-column: 3;
  margin: 0px;
}

.footer-social li {
  display: inline-block;
}

input[type=text] {
  border: 2px solid white;
  width: 50%;
  padding: 13px 10px;
}

.newsletter .submit {
  background-color: white;
  color: #2699FB;
  border: none;
  -moz-border-radius: 0px 4px 4px 0px;
  -webkit-border-radius: 0px 4px 4px 0px;
  border-radius: 0px 4px 4px 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  font-family: Raleway;
  padding: 13px 10px 14px;
  cursor: pointer;
}
