/*

Thin HTML5 Coming Soon Template by MediaLoot
URL: http://medialoot.com/item/thin-html5-coming-soon-template

Designer: Tony Thomas

*/

/*Styles*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	margin: 0; padding: 0;
	height: 100%;
	font-size: 14px;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

body {
    background-image: url(../images/itahvi_lion_purplebg.png);
	height: 100%;
	margin: 0;
	padding: 0;
}

::selection {
	background: rgba(0,0,0,0.25);
}

header {
	padding: 2em;
}

.button-container {
  text-align: center; /* Centers the button */
  margin: 50px auto;
}

a.donate-button {
  display: inline-block; /* Ensures it looks like a button */
  padding: 10px 20px; /* Creates button padding */
  font-size: 16px; /* Sets font size */
  font-weight: bold; /* Ensures bold text */
  color: #ffffff; /* White text */
  background-color: #deba60; /* Gold background */
  border: none; /* Removes border */
  border-radius: 99px; /* Fully rounded */
  text-decoration: none; /* Removes underline */
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a.donate-button:hover {
  background-color: #ffffff; /* White background on hover */
  color: #deba60; /* Gold text on hover */
}

a.shop-button {
  display: inline-block; /* Ensures it looks like a button */
  padding: 10px 20px; /* Creates button padding */
  font-size: 16px; /* Sets font size */
  font-weight: bold; /* Ensures bold text */
  color: #ffffff; /* White text */
  background-color: #deba60; /* Gold background */
  border: none; /* Removes border */
  border-radius: 99px; /* Fully rounded */
  text-decoration: none; /* Removes underline */
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}


a.shop-button:hover {
  background-color: #ffffff; /* White background on hover */
  color: #deba60; /* Gold text on hover */
}

.wrapper {
	max-width: 768px;
	width: 100%;
	margin: auto;
}

.video-container {
  display: flex; /* Use Flexbox for proper centering */
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically if required */
  width: 100%; /* Makes the container responsive */
  max-width: 768px; /* Restricts the width */
  margin: 20px auto; /* Centers the container itself */
  text-align: center;
}

.video-container video {
  display: block; /* Ensures the video behaves like a block-level element */
  max-width: 100%; /* Ensures responsiveness */
  height: auto; /* Maintains aspect ratio */
}

ul, ol, li {
	margin: 0;
	padding: 0;
	display: inline-block;
	list-style: none;
}

h1 {
	margin-top: 35px;
	margin-left:auto;
	margin-right:auto;
	text-align: center;
	color: #ffffff;
	font-weight: 10;
	font-size: 22px;
}

h2 {
	font-size: 40px;
	width: 90%;
	color: #f206f4;
	text-align: center;
	margin-top:25px;
	margin-bottom:25px;
	margin-left:auto;
	margin-right:auto;
	font-weight: 10;
}

p {
	text-align: center;
	width: 90%;
	margin: 20px auto;
	line-height: 1.6;
	font-weight: 200;
	font-size: 18px;
	color: rgba(255, 255, 255, .75);
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 35%;
}

ul.countdown {
	margin: 60px auto;
	display: block;
	text-align: center;	
}


ul.countdown li span {
 	display: block;
 	font-size: 46px;
 	color: rgba(255, 255, 255, 1);
 	font-weight: 100;
 }

.connect {
    text-align: center;
    margin: 30px auto; /* Centers horizontally and vertically (with margin) */
    width: 100%;
    max-width: 500px; /* Limits form width for readability */
}

.connect form {
    margin: 20px auto;
    max-width: 400px; /* Keeps the form compact */
	text-align: center;
}

.connect form input[type="text"],
.connect form input[type="email"] {
    width: calc(100% - 20px); /* Makes inputs responsive */
	padding: 10px;
	margin: 10px auto; /* Space between inputs */
    height: 48px;
    border: 1px solid #fff;
    border-radius: 99px; /* Fully rounded */
    background: none;
    font-size: 16px;
    color: #fff;
    font-weight: 200;
    opacity: 0.65;
    transition: opacity 0.3s, border 0.3s;
}

.connect form input[type="text"]:focus,
.connect form input[type="email"]:focus {
    opacity: 1;
    border: 1px solid #deba60; /* Accent color on focus */
    outline: none;
}

.connect form input[type="email"]:hover {
    opacity: 0.8;
}

.connect form input[type="submit"] {
    width: 45%; /* Full width matching inputs */
	padding: 10px;
	font-size: 18px;
    height: 48px;
    border: none;
    cursor: pointer;
    border-radius: 99px; /* Fully rounded */
    background-color: #fff;
    margin: 20px auto;
    font-weight: bold;
    color: #9e3bfc;
    opacity: 0.85;
    transition: opacity 0.3s, background-color 0.3s;
}

.connect form input[type="submit"]:hover {
    opacity: 1;
    background-color: #deba60;
    color: #fff;
}

.connect form .success-message {
    color: #28a745;
    font-size: 14px;
    margin-top: 15px;
}

.connect form .error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 15px;
}

.connect ul {
	width: 440px;
	text-align: center;
	display: block;
	margin: 60px auto 20px auto;
}

.connect ul li a {
	width: 48px;
	height: 48px;
	display: block;
	text-indent: -499px;
	overflow: hidden;
	opacity: 0.65;
	border-radius: 499px;
	border: 1px solid #fff;
	margin: 0 5px;
}

.connect ul li a:hover {
	opacity: 1;
}

.connect ul li a:active {
	opacity: 0.8;
}

@media only screen and (max-width : 960px) {
	.wrapper {
		width: auto;
	}
	
    .video-container {
        max-width: 80%;
    }

    .button-container {
        margin: 10px auto;
    }
		
	.connect {
		display: block;
		float: none;
		width: 348px;
		margin: 50px auto;
	}
	.connect form {
		max-width: 300px;
	}
	.connect form input[type=text]
	input[type=email] {
		width: 206px;
	}
	.connect ul {
		width: 340px;
	}
}

@media only screen and (max-width : 480px) {
	h1, ul.countdown {
		margin: 20px auto;
	}
	h2 {
		margin: 40px auto;
	}
	 h1, h2 {
        font-size: 18px;
    }

    .video-container {
        max-width: 90%;
    }

    .connect form input[type="text"],
    .connect form input[type="email"],
    .connect form input[type="submit"] {
        font-size: 14px;
    }	
	
	/* Portrait orientation */
@media (orientation: portrait) {
  body {
    padding: 20px;
  }

  .video-container {
    width: 100%; /* Fill the screen width */
    max-width: 400px; /* Limit width for portrait */
  }
}

/* Landscape orientation */
@media (orientation: landscape) {
  body {
    padding: 10px;
  }

  .video-container {
    width: 100%; /* Fill the screen width */
    max-width: 768px; /* Allow larger width in landscape */
  }
}
	
	@media screen and (min-device-pixel-ratio: 2) {
  /* High DPI styles here */
  .video-container {
    max-width: 100%;
  }
}

}

/*Fade In Animation*/

h1, ul.countdown, h2, p, form, .connect {
            animation: fadein 3s;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }

}
footer {
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #9e3bfc;
    color: #ffffff;
    text-align: center;
   
    font-size: 14px;
    border-top: 3px solid #deba60;
}
body {
	margin: 0;
            height: 100%; /* Ensure root elements take full height */
            display: flex;
            flex-direction: column;
}
