/*colors  light green- rgb(128,140,35)  dark green- rgb(81,87,39)*/


/*------------------------heading-----------------------*/
.header{
	display: grid;
	background: url('../img/coach.jpg');
	background-repeat: no-repeat;
	background-position:top;
	background-size:cover;
  box-shadow: inset 1920px 0 0 0 rgba(0,0,0,0.2);

}
@media screen and (min-width:1920px){
	.hero-container{
		background-size: 1920px;
	}	
}

.heading{
	display:grid;
	justify-content:center;
	color: rgb(255,255,255);
	text-align: center;
	margin: 20% 20% 20%;
}
h1{
	font-size:1.5em;
	border-bottom: solid 3px rgb(255,255,255);
	padding-bottom: 23px;
	margin-bottom: 0px;
}
h2{
	font-size:1.1em;
	font-weight: 300;
}

@media only screen and (min-width:850px){

	
	h1{
		font-size:2em;
	}
	h2{
		font-size:1.5em;
	}

}
/*-------------------------------------------------------gallery section---------------------------------------------------------*/
.warning{
	font-size: 12px;
	font-style: italic;
}
.edit-gallery{
	background:rgb(128,140,35);

}
.edit-gallery h4{
	padding: 20px 0;
	margin: 0;
	text-align:center;
	color: white;
}
.gallery-form{
	margin:0 22%;
	padding:20px 0 ;
	color: white;
}
.gallery-form label{
	font-style: italic;
}
.gallery-sub{
	text-align:center;
}
.sub-btn, .cancel-btn{
    margin: 5px;
    padding: 5px 10px;
    background: rgb(81,87,39);
    color: rgb(255,255,255);
    font-weight: bold;
    border-radius: 10px;
    border-style: none;
    border-width: 0;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
}
.sub-btn:hover{
	background: rgb(34,179,65);

}
.cancel-btn:hover{
	background: rgb(135,36,36);
}
.edit-btn{
	  margin: 5px;
    padding: 5px 10px;
    background: rgb(81,87,39);
    color: rgb(255,255,255);
    font-weight: bold;
    font-size: 13px;
    border-radius: 10px;
    border-style: none;
    border-width: 0;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
    text-decoration: none;
}
.edit-btn:hover{
	background: rgb(167,179,84);
}
.gal-colour{
	margin: 0 20%;
	text-align: center;
}

.gal-text-edit{
	width: 400px ;
	height:100px ;
	resize:none;
}
.gallery-title{
	text-align:center;
	font-weight: bold;
}
.gallery-grid{
	margin:5% 20%;
	display:grid;
	grid-template-columns: repeat(3, 200px);
	grid-gap: 8px;
	justify-content:center;
	justify-items: center;

	
}
.gallery-section{

	padding:15px 0;
}

.gallery-img{
  	object-fit:cover;
  	width:200px;
	height:150px;
	border-radius: 3px;
	margin:0 3px;
	transition: transform 300ms ease-in, box-shadow 350ms ease-in;;
	cursor: pointer;
}
.gallery-img:hover{

	transform: scale(125%);
	box-shadow: 0px 18px 7px 3px rgb(0 0 0 / 50%);
	opacity: 2;

	transition: transform 300ms ease-in, box-shadow 350ms ease-in;
}
.light-green {
	background: rgba(128,140,35,0.7);
}
.light-green h2, .dark-green h2, .light-green label, .dark-green label{
	color:white;
}
.light-green p, .dark-green p{
	color:white;
	margin:0 20%;
	padding: 5px;
	text-align: center;
}
.dark-green{
	background: rgba(114,120,66,1);
}
.white{
	background-image: linear-gradient(rgba(240,240,240,1), rgba(200,200,200,1));
}
.white p{
	margin:0 20%;
	padding: 5px;
	text-align: center;
}
/*---------------------delete-gallery page -----------------------------*/
.remove-image{
	display: grid;
	grid-template-rows: repeat(2, auto);
	justify-items: center;
}
.remove-image img{
	max-height:150px;
	border-radius: 3px;
	margin:0 3px;
}
.times-btn{
	width: 34px;
	height: 34px;
	 margin: 5px;
    padding: 5px 5px;
    background: rgb(81,87,39);
    color: rgb(255,255,255);
    font-size:18px;
    border-radius: 50%;
    border-style: none;
    border-width: 0;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
}
.times-btn:hover{
	background: rgb(135,36,36);
}
.tick-btn{
	width: 35px;
	 margin: 5px;
    padding: 5px 5px;
    background: rgb(81,87,39);
    color: rgb(255,255,255);
    font-size:18px;
    border-radius: 20px;
    border-style: none;
    border-width: 0;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
}
.tick-btn:hover{
	background: rgb(34,179,65);
}
/*--------------------------------gallery-edit------------------------------------*/

.gallery-form{
	display: grid;
	justify-content:center;
	grid-gap: 10px;
}
.gal-desc{
	display: flex;
	align-items:center;
}
.gal-desc textarea{
	resize: none;
	margin-left:27px ;
	height: 100px;
	width: 170px;
}























/*------------------------------------slide in fade in-----------------------------*/

.fade-in{
    opacity:0;
    transition: opacity 250ms ease-in;

}
.fade-in.appear{
    opacity:1;
}
.from-left{
    transform: translateX(-60%);
}
.from-right{
    transform: translateX(60%);
}
.from-top{
	transform:translateY(-60%);
}
.from-left, .from-right, .from-top{
    transition:opacity 400ms ease-in 300ms, transform 600ms ease-in;
    
    opacity:0;
}
.from-left.appear, .from-right.appear {
    transform: translateX(0);
    opacity:1;
}
.from-top.appear{
	transform: translateY(0);

	opacity:1 ;
} 





/*---------------------modal will need moving on its own -----------------------------*/

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 5; /* Sit on top */
  padding-top: 150px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 40px;
  right: 40px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}