/*
Your name: Reid Aumann
File Name: styles.css
Date:12/10/2023 
*/

/* CSS reset */

body, header, nav, main, footer, img, h1, h3 {
    margin: 0;
    padding: 0;
    border: 0;
           }
		   
/*Style rules for mobile viewport*/
@media screen and (max-width: 600px) {
	header{
		   background-color: #9BC1C2;
		   background-image: url("images/skyheader.jpg");
		   width: 100%;
		   background-repeat: no-repeat;
		   height: auto;
	}
	header h1{
		font-family: 'Sarabun', sans-serif;
		color: white;
		text-align: center;
	}
	
	header nav a{
	   width: 100%;
	   font-family: 'Sarabun', sans-serif;
	   text-decoration: none;
	   text-align: center;
	   color: white;
	   margin-top: 0;
	   margin-bottom: 0;
	   margin-left: auto;
	   margin-right: auto;

	}

	.flex-container{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		background-color: #B73A66;
	}
	
	h1{
		font-weight: 400;
		text-align: center;
		margin-top: 0;
	    margin-bottom: 0;
	    margin-left: auto;
	    margin-right: auto;
        font-family: 'Sarabun', sans-serif;
		color: #368CC3;
	}
	
	#intro img{
		display: none;
	}
	
	p{
		position: relative;
		width: 70%;
		margin-left: 10%;
		margin-right: 10%;
		text-align: left;
		height: auto;
		font-weight: 400;
		font-family: 'Sarabun', sans-serif;
		color: #38220D;
	}
	
	#officiants img{
		display: block;
		margin-left: auto;
		margin-right: auto;
		height: auto;
		width: 25%;
		border-radius: 50px;
	}
	
	#intro h3,#officiants h3,#gallery h3, #services h3, #blog h2{
		text-align: center;
		font-family: 'Sarabun', sans-serif;
		color: #368CC3;
	}
	
	#gallery h1{
		text-align: center;
		font-family: 'Sarabun', sans-serif;
		color: #368CC3;
	}

	div.gallery:hover {
	  border: 1px solid #777;
	}

	div.gallery img {
	  width: 100%;
	  height: auto;
	}

	div.desc {
	  text-align: center;
	  font-family: 'Sarabun', sans-serif;
	  color: #38220D;
	}
	
	#services figcaption{
		display: none;
	}
	#services figure{
		display: none;
		
	}
	
	#services table, th, td{
		border: none;
		border-color: #B73A66;
		width: 50%;
		margin-top: 10px;
		margin-left: auto;
		margin-right: auto;
		padding: 5px;
		font-family: 'Sarabun', sans-serif;
		color: #38220D;
	}
	
	#faqs h4, #blog h4{
		padding-left: 5px;
		margin-left: auto;
		margin-right: auto;
		font-family: 'Sarabun', sans-serif;
		color: #368CC3;
	}
	
	#contact form{
		display: block;
		margin-left: auto;
		margin-right: auto;
		width: 35%;
		color: #38220D;
	}

	 input[type=text], input[type=email], input[type=datetime-local] select, textarea {
			  width: 100%;
			  padding: 12px;
			  border: 1px solid #ccc;
			  border-radius: 4px;
			  box-sizing: border-box;
			  margin-top: 6px;
			  margin-bottom: 16px;
			  resize: vertical;
	}
		
	input[type=submit] {
			  background-color: #368CC3;
			  color: white;
			  padding: 12px 20px;
			  margin-left: auto;
			  margin-right: auto;
			  border: none;
			  border-radius: 4px;
			  cursor: pointer;
	}
	
	#contact p{
		 font-family: 'Sarabun', sans-serif;
		 text-align: center;
		 margin-left: auto;
		 margin-right: auto;
		 width: 60%;
		 color: #38220D;
	}
	
	#contact h4{
		font-family: 'Sarabun', sans-serif;
		color: #368CC3;
	}

	#contact iframe{
		display: none;
	}
	
	.footer {
	  position: relative;
	  width: 100%;
	  background: #B73A66;
	  min-height: 100px;
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  flex-direction: column;
	}

	.social-icon,
	.menu {
	  position: relative;
	  display: flex;
	  flex-direction: column;
	  justify-content: center;
	  align-items: center;
	  margin: 10px 0;
	  flex-wrap: wrap;
	}

	.social-icon__item,
	.menu__item {
	  list-style: none;
	}

	.social-icon__link {
	  font-size: 2rem;
	  color: #fff;
	  margin: 0 10px;
	  display: inline-block;
	  transition: 0.5s;
	}
	.social-icon__link:hover {
	  transform: translateY(-10px);
	}

	.menu__link {
	  font-size: 1.2rem;
	  color: #fff;
	  margin: 0 10px;
	  display: inline-block;
	  transition: 0.5s;
	  text-decoration: none;
	  opacity: 0.75;
	  font-weight: 300;
	}

	.menu__link:hover {
	  opacity: 1;
	}

	.footer p {
	  text-align: center;
	  color: #fff;
	  font-size: 1rem;
	  font-weight: 300;
	}

}




/*Style rules to hide mobile and show desktop/laptop rules*/		
@media screen and (min-width: 600px) {   
	header{
		   background-color: #9BC1C2;
		   background-image: url("images/skyheader.jpg");
		   width: 100%;
		   background-repeat: no-repeat;
		   height: 150px;
		}
		
	header h1{
		font-family: 'Sarabun', sans-serif;
		color: white;
		font-size: 50px;
		text-align: center;
		padding: 40px;
	}
	
	body{
		width: 100%;
	}


		/* Navigation list styles */

	header nav a{
	   width: 100%;
	   font-size: 20px;
	   font-family: 'Sarabun', sans-serif;
	   padding: 5px;
	   margin: 15px;
	   text-decoration: none;
	   text-align: center;
	   color: white;
	}

	.flex-container{
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		gap: 50px;
		background-color: #B73A66;
	}	
	/*Body styles*/
	body{
		width: 100%;
	}

	#officiants h1, #gallery h1, #services h1, #contact h1, #faqs h1, #blog h1{
		padding-top:110px;
		font-weight: 400;
		font-size: 40px;
		padding-left:40px;
		padding-bottom: 15px;
		text-align: left;
		font-family: 'Sarabun', sans-serif;
		color: #368CC3;
	}

	#contact form{
		display: inline-block;
		padding-left: 20px;
		width: 35%;
		color: #38220D;
	}

	 input[type=text], input[type=email], input[type=datetime-local] select, textarea {
			  width: 100%;
			  padding: 12px;
			  border: 1px solid #ccc;
			  border-radius: 4px;
			  box-sizing: border-box;
			  margin-top: 6px;
			  margin-bottom: 16px;
			  resize: vertical;
	 }
		
	input[type=submit] {
			  background-color: #4CAF50;
			  color: white;
			  padding: 12px 20px;
			  border: none;
			  border-radius: 4px;
			  cursor: pointer;
	 }
	 #contact p{
		 float: right;
		 font-family: 'Sarabun', sans-serif;
		 text-align: left;
		 width: 60%;
		 color: #38220D;
	 }
			
	#intro h3,#officiants h3,#gallery h3, #services h3, #blog h2{
		padding-top:20px;
		padding-left:40px;
		text-align: left;
		font-family: 'Sarabun', sans-serif;
		color: #368CC3;
	}
	#contact h4{
		font-family: 'Sarabun', sans-serif;
		color: #368CC3;
		font-size: 24px;
	}

	#contact iframe{
		float: center;
	}

	#faqs h4, #blog h4{
		display: block;
		font-family: 'Sarabun', sans-serif;
		color: #368CC3;
		padding-left: 40px;
	}
	#services figcaption{
		text-align: center;
		font-size: 12px;
	}
	#services figure{
		display: block;
		float: right;
		
	}
	#services figure img{
		vertical-align: top;
		height: 350px;
		width: 600px;
		border-radius: 50px;
		padding: 20px 30px;
	}
	#services table, th, td{
		border: none;
		border-color: #B73A66;
		width: 40%;
		margin-top: 10px;
		margin-left: 40px;
		padding: 10px;
		font-family: 'Sarabun', sans-serif;
		color: #38220D;
	}
	#intro img{
		display: block;
		float: right;
		height: 350px;
		width: 580px;
		border-radius: 50px;
		padding: 20px 30px;
	}

	#intro p, #officiants p, #services p, #faqs p, #blog p{
		width: 70%;
		text-align: left;
		padding-left: 40px;
		padding-right: 40px;
		font-weight: 400;
		font-family: 'Sarabun', sans-serif;
		color: #38220D;
	}
	#officiants img{
		display: block;
		float: left;
		height: 420px;
		width: 25%;
		border-radius: 50px;
		padding: 20px 30px;
	}

	div.gallery {
	  margin: 60px;
	  padding-top: 10px;
	  padding-left: 20px;
	  padding-right: 20px;
	  border: 1px solid #ccc;
	  float: left;
	  width: 320px;
	}

	hr{
		display: block;
		margin-top: 30px;
	}
	#gallery h1{
		padding-top:110px;
		padding-left:40px;
		padding-bottom: 15px;
		text-align: left;
		font-family: 'Sarabun', sans-serif;
		color: #368CC3;
	}

	div.gallery:hover {
	  border: 1px solid #777;
	}

	div.gallery img {
	  width: 100%;
	  height: 400px;
	}

	div.desc {
	  padding: 15px;
	  text-align: center;
	  font-family: 'Sarabun', sans-serif;
	  color: #38220D;
	}

	#blog audio{
		display: block;
		float: right;
		height: 8%;
		padding-bottom: 5px;
	}

	#intro h1{
		padding-top:110px;
		margin-bottom: 20px;
		padding-left:40px;
		font-size: 40px;
		text-align: left;
		font-family: 'Sarabun', sans-serif;
		font-weight: 400;
		color: #368CC3;
	}

	input[type="submit"] {
		background-color: #368CC3;
		color: white;
		padding: 10px 20px;
		border: none;
		border-radius: 5px;
		font-size: 16px;
		cursor: pointer;
	}

	input[type="submit"]:hover {
		background-color: #3e8e41;
	}

	.footer {
	  position: relative;
	  width: 93%;
	  background: #B73A66;
	  min-height: 100px;
	  padding: 20px 50px;
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  flex-direction: column;
	}

	.social-icon,
	.menu {
	  position: relative;
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  margin: 10px 0;
	  flex-wrap: wrap;
	}

	.social-icon__item,
	.menu__item {
	  list-style: none;
	}

	.social-icon__link {
	  font-size: 2rem;
	  color: #fff;
	  margin: 0 10px;
	  display: inline-block;
	  transition: 0.5s;
	}
	.social-icon__link:hover {
	  transform: translateY(-10px);
	}

	.menu__link {
	  font-size: 1.2rem;
	  color: #fff;
	  margin: 0 10px;
	  display: inline-block;
	  transition: 0.5s;
	  text-decoration: none;
	  opacity: 0.75;
	  font-weight: 300;
	}

	.menu__link:hover {
	  opacity: 1;
	}

	.footer p {
	  color: #fff;
	  margin: 15px 0 10px 0;
	  font-size: 1rem;
	  font-weight: 300;
	}
}

