*,
*::after,
*::before {
  box-sizing: border-box;
}

* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  line-height: 1.4;
}

:root {
  --ff-primary: Arial, Helvetica, sans-serif;
  --ff-accent: Georgia, 'Times New Roman', Times, serif;

  --clr-primary: #971717;
  --clr-secondary: #e0bb02;
  --clr-navbar: #f5f5f5;
  --clr-white: #fff;
  --clr-text: #333;
  --clr-background: #eee;

  --fs-100: 0.9375rem;
  --fs-200: 1rem;
  --fs-300: 1.0625rem; 
  --fs-400: 1.5rem;
  --fs-500: 2rem;
  --fs-600: 2.5rem;
  --fs-700: 3rem;
  --fs-800: 3.5rem;
  --fs-900: 4rem;
  --fs-xl: clamp(3rem, 1rem + 5vw, 5.75rem);
    
  --hamburger-width: 1.5rem;
  --hamburger-height: .25rem;
  --hamburger-gap: .375rem;
  --animation-timing: 200ms ease-in-out;
  --ham-height: calc(var(--hamburger-height) * 3 + var(--hamburger-gap) * 2);
}

p {
  margin-bottom: 1rem;
  line-height: 1.4;
}

hr {
  color: #999;
}


/** EVENTS **/

.hero__events {
  width: 100%;
  height: 50vh;
  color: var(--clr-white);
  background-color: #0e1c1c;
  background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.75)), url(../img/oldboys__weekend.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.events__headline {
  text-align: center;
  top: 20%;
}

.img__header {
  border-radius: .625rem;
  width: 100%;
}

.main__title {
  display: flex;
  justify-content: center;
  align-items: center;

  margin-top: .5rem;
  border-radius: 10px;
  border: 1px solid var(--clr-background);
  box-shadow: 0 4px 40px -8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.event__img {
  width: 70px;
  margin-right: .4rem;
  border-right: 2px solid yellow;
}

.event__title h2 {
  font-size: 1.4rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.event__title p {
  font-size: var(--fs-300);
  
}

.event__content {
  padding: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 40px -8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.event__content p {
  font-size: var(--fs-300);
  line-height: 1.4;
}

.container {
  position: relative;
}

.slide-1 {
  background: url('../img/golfday1.jpg');
}
.slide-2 {
  background: url('../img/golfday2.jpg');
}
.slide-3 {
  background: url('../img/golfday3.jpg');
}
.slide-4 {
  background: url('../img/golfday4.jpg');
}
.slide-5 {
  background: url('../img/golfday5.jpg');
}
.slide-6 {
  background: url('../img/golfday6.jpg');
}
.slide-7 {
  background: url('../img/golfday7.jpg');
}
.slide-8 {
  background: url('../img/golfday8.jpg');
}


.slide {
  width: 100%;
  height: 60vh;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow-x: hidden;
  border-radius: .5rem;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 100;
  background: rgba(0, 0, 0, .1);
  border-radius: 50%;
  transform: background 500ms;
}
.arrow img {
  width: 50px;
}
.arrow:hover {
  background: rgba(0, 0, 0, .4);
}
.left {
  left: 0;
}
.right {
  right: 0;
}

.weekend__img {
  width: 140px;
  margin-right: .4rem;
  border-right: 2px solid var(--clr-secondary);
}

#wrapper{
  height:100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

.container{
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding:20px;    
}

.container h3{
  margin: 20px 0;
  text-align: center;
  font-size: 3rem;
  margin-bottom: 20px;
}
.gallery{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.para{
  width:32%;
  position: relative;
  margin-bottom: 20px;
  border-radius: 10%;
  overflow: hidden;
}

.para img{
  width:100%;
  height: 100%;
  /* filter: grayscale(100%); */
  box-shadow: 0 0 20px #333;
  object-fit: cover;
}
.para:hover{
  transform: scale(1.03);
  transition: 0.3s;
  filter: drop-shadow(0 0 10px #333);
}

.para:hover img{
  filter: grayscale(0%);
}

.para figcaption{
  position: absolute;
  bottom: 0;
  left: 0;
  padding:25px;
  width:100%;
  height: 20%;
  font-size: 16px;
  font-weight: 500;
  color: white;
  opacity: 0;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(255,255,255,0));
  transition: 0.3s;
}


.slide-11 {
  background: url('../img/golfday1.jpg');
}
.slide-12 {
  background: url('../img/oldboysweekend2.jpg');
}
.slide-13 {
  background: url('../img/oldboysweekend3.jpg');
}
.slide-14 {
  background: url('../img/oldboysweekend4.jpg');
}
.slide-15 {
  background: url('../img/oldboysweekend5.jpg');
}
.slide-16 {
  background: url('../img/oldboysweekend6.jpg');
}
.slide-17 {
  background: url('../img/oldboysweekend7.jpg');
}
.slide-18 {
  background: url('../img/oldboysweekend8.jpg');
} 
.slide-19 {
  background: url('../img/oldboysweeken9.jpg');
} 
.slide-20 {
  background: url('../img/oldboysweekend10.jpg');
} 
.slide-21 {
  background: url('../img/oldboysweekend11.jpg');
} 
.slide-22 {
  background: url('../img/oldboysweekend12.jpg');
} 
.slide-23 {
  background: url('../img/oldboysweekend13.jpg');
} 
.slide-24 {
  background: url('../img/oldboysweekend14.jpg');
} 
.slide-25 {
  background: url('../img/oldboysweekend15.jpg');
} 

@media (min-width: 62em){
  .wrapper__main {
    width: 80%;
    margin: 0 auto;
  }

  .slide {
    height: 80vh;
  }

  .hero__events,
  .hero__projects {
    height: 90vh;
  }
  
}

/******** PROJECTS *********/
.hero__projects {
  width: 100%;
  height: 50vh;
  color: var(--clr-white);
  background-color: #0e1c1c;
  background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.75)), url(../img/bmcsportspavilion__1.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.projects__page {
  width: 100%;
  border: 10px solid #e0bb02;
}

.introduction__statement {
  display: flex;
  align-items: center;
  position: absolute;
  top: 60%;
  margin-left: 2rem;
}

.introduction__statement h2 {
  font-size: 1.8rem;
  font-style: italic;
  color: #971717;
}

.intro__img {
  width: 100px;
  margin-right: 15px;
}

.sports__pavilion {
  position: relative;
  margin-bottom: 120px;
}

.wrapper__maroon--border {
  position: absolute;
  width: 100%;
  height: 5px;
  margin-top: -13px;
  background: #971717;
}

.wrapper__yellow--border {
  position: absolute;
  width: 100%;
  height: 12px;
  margin-top: -8px;
  background: #e0bb02;
}

.new__pavilion {
  position: absolute;
  top: 100%;
  width: 150px;
  height: 150px;
  /* font-size: 1.125rem; */
  font-weight: 600;
  background-color: #971717;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: #fff;
  border: 7px solid #e0bb02;
  border-radius: 50%;
  margin-bottom: 1rem;
  margin-left: 33%;
  padding: 10px 20px;
  text-align: center;
}

.center__content {
  text-align: center;
}

.support__para {
  font-style: italic;
  font-weight: 600;
}

.thanks__para {
  width: 60%;
  font-size: 0.875rem;
  font-weight: 600;
  font-style: italic;
  background: #e0bb02;
  color: #971717;
  padding-top: 8px;
  /* padding-bottom: 4px; */
  margin-bottom: -3rem;
  margin-left: 6rem;
  border-top-right-radius: 50px;
  border-top-left-radius: 50px;
}

.table__wrapper {
  display: flex;
  flex-direction: column;
  width: 90%;
  /* margin: 0 auto; */
}

.table__content {
  margin: 24px;
  padding: 8px ;
  border-collapse: collapse;
  border-radius: 6px;
  overflow: hidden;
  width: 90%;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
}

.table__content th,
.table__content td {
  padding: 12px 18px;
  border-left: 1px solid #971717;
  border-right: 1px solid #971717;
  font-size: 0.8125rem;
}

.table__content thead tr {
  background: #971717;
  color: #fff;
}

.table__content th {
  text-align: left;
  font-weight: bold;
}

.table__content tbody tr:nth-of-type(even) {
  background: #f1f1f1;
}

.table__content tbody tr:nth-last-of-type(1) {
  border-bottom: 3px solid #971717;
}

@media (min-width: 48em){
  .new__pavilion {
    top: 130%;
  }

  .table__content {
	width: 100%;
  }
}

@media (min-width: 62em){
  .thanks__para {

    margin-left: 9rem;
  }

  .new__pavilion {
    top: 145%;
  }

  .sports__pavilion img {
    width: 100%;
  }

  .introduction__statement {
    top: 70%;
  }
  
}

@media (min-width: 75em){
 
  .new__pavilion {
    top: 140%;
  }

  .table__wrapper {
    display: flex;
  }
}

.about__contact {
  display: flex;

  width: 80%;
  margin:2rem auto 0;
  padding: 0;

  background-color: var(--clr-secondary);

  border-radius: .625rem;
}

.form__contract {
  display: flex;
  flex-direction: column;
}

.form__img {
  max-width: 100%;
}

.head__details {
  padding: 1rem 0 1rem 1rem;
}

@media (min-width: 48em) {
  .about__contact {
    width: 90%;
    height: 18.6875rem;
  }

  .form__contact {
    display: flex;
    flex-direction: row;
  }

  .form__img {
    width: 50%;
    height: 100%;
  }

  .head__details {
    padding-top: 4rem;
  }
}

@media (min-width: 62em) {
  .about__contact {
    margin-bottom: 4rem;
    height: 350px;
  }

  .form__img {
    height: 100%;
  }

  @media (min-width: 62em) {
    .about__contact {
      margin-bottom: 4rem;
      height: 378px;
    }
  
    .form__img {
      height: 100%;
    }
}

/******** NEWS *********/

.service__time {
  position: absolute;
  top: 90%;
  width: 110px;
  height: 110px;
  background-color: #971717;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: #fff;
  border-radius: 50%;
  margin-bottom: 1rem;
  margin-left: 36%;
  padding: 10px 20px;
  z-index: 0;
}

.years__service {
  padding-left: 36%;
  font-size: 1.2rem;
  font-weight: 600;
}

.news__wrapper {
  width: 80%;
  margin: 0 auto;
}

.news__wrapper h1 {
  padding-top: 1rem;
  font-size: var(--fs-500);
  border-bottom: 1px solid #eee;
}

.news__hero {
	width: 100%;
	height: 90vh;
	color: var(--clr-white);
	background-color: #0e1c1c;
	background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.75)), url(../img/mrwarinda4.jpg);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	z-index: -1;
  }

.after__img {
  margin-top: 1rem;
}

.news__signature {
  font-weight: 600;
  font-style: italic;
  margin-bottom: 1rem;
}

.image__gallery {
  margin: 0 auto;
  min-width: 400px;
  max-width: 1400px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

/* ************* */
/* Gallery Items */
/* ************* */

/* gallery item container */
figure {
  display: grid;
  height: 250px;
  width: 368px;
}

/* 2 row spanning image */
.fig-portrait {
  grid-row: span 2;
  height: 100%;
}

/* full width image */
.fig-landscape {
  grid-column: 1 / -1;
}
/* gallery item image */
figure img {
  max-width: 100%;
  /* height: 100%; */
  object-fit: cover;
  border-radius: .5rem;
  grid-row: 1;
  grid-column: 1;
}

/* gallery item text layout */
figcaption {
  grid-row: 1;
  grid-column: 1;

  justify-self: end;
  align-self: end;

  text-align: end;

  color: rgb(169, 219, 235);
  margin: 0 8px 4px 0;
}


@media (min-width: 48em){
	.news__wrapper {
		width: 60%;
	  }
	
	.news__wrapper h1 {
		font-size: var(--fs-600);
	}
}

@media (min-width: 48em){
	.news__wrapper h1 {
		font-size: var(--fs-800);
	}
}

/******** CONTACT *********/

.contact__page {
	position: relative;
	min-height: 220vh;
	justify-content: center;
	align-items: center;
	background: #fbf8e5;
	padding: 3em 2em 2em;
}

.contact__page .contactt {
	position: absolute;
	top: 0;
	right: 0;
	width: 50%;
	height: 100%;
	background:  #f4e7e7;
}

@media screen and (max-width: 48em) {

	.contact__container {
		position: relative;
		display: flex;
		flex-direction: column;
		width: 100%;
	}

	.contact__page .contact__container {
		position: relative;
		width: 100%;
		min-height: 34.38em;
		display: flex;
		z-index: 1;
		margin-top: 5.5em;
	}

	.contact__page .contact__container .contact__form {
		position: absolute;
		display: flex;
		flex-direction: column;
		width: 26em;
		height: auto;
		top: 50%;
		background: #fff;
		border-radius: 5px;
		box-shadow: 0 50px 50px rgba(0, 0, 0, .5);
	}

	.contact__page .contact__container .contact__form .form__box {
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		width: 100%;
		padding-top: 1.88em;
	}

	.contact__page .contact__container .contact__form .form__box .inputBox.w50 {
		width: 80%;
	}
	
	.contact__page .contact__container .contact__form .form__box .inputBox.w100 {
		width: 90%;
	}
	
	.contact__page .contact__container .contact__form .form__box .inputBox input,
	.contact__page .contact__container .contact__form .form__box .inputBox textarea {
		width: 100%!important;
		margin: 5px 0 5px 15px;
		font-size: 1rem;
		font-weight: 400;
		color: #333;
		border: none;
		border-bottom: 1px solid #777;
		outline: none;
		resize: none;
	}

	.contact__page .contact__container .contact__form .form__box .inputBox textarea {
		min-height: 7.5em;
	}
	
	.contact__page .contact__container .contact__form .form__box .inputBox span {
		position: absolute;
		left: 0;
		top: -1px;
		padding-left: 15px;
		font-weight: 400;
		color: #333;
		transition: .5s;
		pointer-events: none;
	}

	.contact__page .contact__container .contact__form h2 {
		color: #444;
		font-size: 1.4rem;
		font-weight: 600;
		padding: 140px 5px 10px 15px;
	}
	
	.contact__page .contact__container .contact__form .form__box .inputBox {
		position: relative;
		margin: 0 0 2.19em 0;
	}

	.contact__page .contact__container .contact__form .form__box .inputBox input:focus ~ span,
	.contact__page .contact__container .contact__form .form__box .inputBox textarea:focus ~ span,
	.contact__page .contact__container .contact__form .form__box .inputBox input:valid ~ span,
	.contact__page .contact__container .contact__form .form__box .inputBox textarea:valid ~ span {
		transform: translateY(-24px);
		font-size: 1rem;
		font-weight: 400;
		letter-spacing: 1px;
		color: #971717;
	}

	.contact__page .contact__container .contact__form .form__box .inputBox input[type="submit"] {
		position: relative;
		cursor: pointer;
		background: linear-gradient(-270deg, #971717 8.6%, #971717 99.58%, #971717 100%);
		color: #fafafa;
		border: none;
		max-width: 15em;
		padding: .75em;
		font-weight: 600;
		border-radius: 10px;
	}

	.contact__page .contact__container .contact__form .form__box .inputBox input[type="submit"]:hover {
		opacity: .9;
	}
}

.contact__page .contact__container .contact__info {
	position: absolute;
	width: 22em;
	height: calc(100% - 180px);
	background: #971717;
	z-index: 1;
	padding: 1em;
	margin-left: 2em;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-shadow: 0 20px 20px rgba(0, 0, 0, .2);
	border-radius: 5px;
}

.contact__page .contact__container .contact__info  h2{
	color:  #fff;
	font-size: 1.2rem;
	font-weight: 600;
	text-align: center;
}

.contact__page .contact__container .contact__info  .contact__details{
	position: relative;
	margin: 1.25em 0;
}

.contact__page .contact__container .contact__info  .contact__details li{
	position: relative;
	margin: 1.25em 0;
	display: flex;
	align-items: flex-start;
}

.contact__page .contact__container .contact__info  .contact__details li span:nth-child(1) {
	width: 1.88em;
	min-width: 1.88em;
	color: #fff;
}

.contact__page .contact__container .contact__info  .contact__details li span:nth-child(2) {
	color: #fff;
	margin-left: .625em;
	/* opacity: .7; */
}

.contact__page .contact__container .contact__info  .contact__details li:hover span:nth-child(2) {
	opacity: 1;
}

.contact__page .contact__container .contact__info .contact__sociaal {
	position: relative;
	display: flex;
	justify-content: center;
}

.contact__page .contact__container .contact__info .contact__sociaal li {
	margin-right: .938em;
	padding-top: 1.2em;
}

.cp__link {
	background: #fafafa;
	width: 2.4em;
	height: 2.4em;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.cp__facebook {
	font-size: 1.5rem;
	color: #4267b2;
}

.cp__twitter {
	font-size: 1.5rem;
	color: #000;
}

.cp__instagram {
	font-size: 1.5rem;
	color: #000;
}

@media screen and (min-width: 48.06em) {	
	.contact__page {
		min-height: 100vh;
		width: 100vw;
	}

	.contact__page .contact__container .contact__form {
		position: absolute;
		padding: 4.38em 3em;
		background: #fff;
		margin-left: 12em;
		padding-left: 12.5em;
		width: calc(100% - 220px);
		height: 88%;
		border-radius: 5px;
		box-shadow: 0 50px 50px rgba(0, 0, 0, .5);
	}

	.contact__page .contact__container {
		position: relative;
		min-width: 68.75em;
		min-height: 34.38em;
		display: flex;
		z-index: 0;
		margin-top: 5.5em;
	}

	.contact__page .contact__container .contact__info {
		padding: 1.25em;
		justify-content: space-between;
		margin-left: .625em;
		margin-top: 1.5em;
	}

	.contact__page .contact__container .contact__info {
		top: 2.5em;
	}

	.contact__page .contact__container .contact__form .form__box {
		position: relative;
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		padding-top: 1.88em;
	}

	.contact__page .contact__container .contact__form .form__box .inputBox.w50 {
		width: 45%;
	}
	
	.contact__page .contact__container .contact__form .form__box .inputBox.w100 {
		width: 100%;
	}
	
	.contact__page .contact__container .contact__form .form__box .inputBox input,
	.contact__page .contact__container .contact__form .form__box .inputBox textarea {
		width: 100%!important;
		padding: 5px 0;
		font-size: 1rem;
		font-weight: 400;
		color: #333;
		border: none;
		border-bottom: 1px solid #777;
		outline: none;
		resize: none;
	}

	.contact__page .contact__container .contact__form .form__box .inputBox textarea {
		min-height: 6.5em;
	}
	
	.contact__page .contact__container .contact__form .form__box .inputBox span {
		position: absolute;
		left: 0;
		padding: 5px 0;
		font-weight: 400;
		color: #333;
		transition: .5s;
		pointer-events: none;
	}

	.contact__page .contact__container .contact__form h2 {
		color: #333;
		font-size: 1.4rem;
		font-weight: 600;
	}
	
	.contact__page .contact__container .contact__form .form__box .inputBox {
		position: relative;
		margin: 0 0 2.19em 0;
	}
	

	.contact__page .contact__container .contact__form .form__box .inputBox input:focus ~ span,
	.contact__page .contact__container .contact__form .form__box .inputBox textarea:focus ~ span,
	.contact__page .contact__container .contact__form .form__box .inputBox input:valid ~ span,
	.contact__page .contact__container .contact__form .form__box .inputBox textarea:valid ~ span {
		transform: translateY(-30px);
		font-size: 1rem;
		font-weight: 400;
		letter-spacing: 1px;
		color: #971717;
	}

	.contact__page .contact__container .contact__form .form__box .inputBox input[type="submit"] {
		position: relative;
		cursor: pointer;
		background: linear-gradient(-270deg, #971717 8.6%, #971717 99.58%, #971717 100%);
		color: var(--clr-white);
		border: none;
		max-width: 15em;
		padding: .75em;
    	margin-top: -500px;
		font-weight: 600;
		border-radius: 10px;
	}

	.contact__page .contact__container .contact__form .form__box .inputBox input[type="submit"]:hover {
		opacity: .9;
	}
}