@charset "UTF-8";
/* CSS Document */

html {
	margin: 0;
}

body {
	font-family: 'Open Sans', sans-serif;
	color: #202b59;
    font-size: 18px;
    line-height: 1.4;
	margin: 0px auto;
}

.logo {
  width: 15%;
}

.banner-image {
	width: 100%;
	height: auto;
	min-height: 65vh;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-blend-mode: multiply;
	display: flex;
	flex-direction: column;
	position: relative;
}

.banner-overlay-text {
  left: 0;
  right: 0;
	position: absolute; 
	top: 30%; 
	color: white; 
	text-align: center; 
	padding-top: 0;
}


/*--------------------- wrapper styles ---------------------*/
#wrapper
{

        margin-left:auto;
        margin-right:auto;
}


/* ----------------------------------------------------- Generic Content Styles ---------------------------------------------------------------- */

.content-padding {
	padding: 5%;
}
.content-padding-sm {
	padding: 2.5%;
}
.content-margin {
	margin: 5% 0;
}


/*--------------------- font and link styles ---------------------*/


hr {
	border-top: 1px solid #009ee2;
}
a:link, a:visited {
	color: #202b59;
	text-decoration: none;
}
a:hover {
	color: #009fe3;
}

h1 {
	font-size: 50px;
	margin-bottom: 20px;
	color: #202b59;
	font-weight: bold;
}
.header h2 {
	font-size: 35px;
	font-weight: 100;
	margin-bottom: 40px;
}

h2 {
	font-size: 35px;
	font-weight: 700;
	margin-bottom: 40px;
}

h3 {
	font-size: 25px;
	font-weight: 300;
	color: #009ee2;
	letter-spacing: 4px;
	
}
.contact h3 {
	font-size: 30px;
	font-weight: 600;
	
}

	.contact-header	{
		text-align: right;
	}

button {
	padding: 10px 20px;
	border: 0;
	color: #202b59;
	background-color: #fff;
	font-size: 18px;
	margin: 20px;
	width: auto;
	font-family: 'Open Sans', sans-serif;
	cursor: pointer;
	font-weight: 700;
}
a button:hover {
	background: url('https://nasevents.co.uk/images/NAS-bg-image.jpg') center/cover no-repeat;
	color: #fff;
}
button.btn-red {
	background-color: #c51a1b;
	color: #fff;
}
a button.btn-red:hover {
	background-color: #fff;
	color: #202b59;
}
button.btn-grey {
	background-color: #eee;
	color: #202b59;
	font-size: 14px;
}
a button.btn-grey:hover, button.btn-grey:hover {
	background-color: #202b59;
	color: #fff;
}

#head 
{
	width:100%;
	background-color:#f8f8f8;
	border-bottom: solid 3px #202b59;
	}
		
#head-content
{
		padding: 5%;
		padding-top:30px;
		padding-bottom:30px;
}

#head-content img {
	max-height: 150px;
}

.main-content
{
	width:100%;
	padding-bottom:20px;
	}
.blue-bg {
	background-color: #202b59;
	color: #fff;
}
.blue-bg h1 {
	color: #fff;
	padding-top: 20px;
}
.blue-bg a {
	color: #009fe3;
}
.blue-bg a:hover {
	color: #fff;
}

.glow {
	box-shadow: 0 0 20px #164193;
}
#content
{
	max-width:90%;
	margin-left:auto;
    margin-right:auto;
	}
#intro {
	text-align: center;
	width: 80%;
	margin-left:auto;
    margin-right:auto;
	margin-bottom: 70px;
}
#logo
{
	float:left;
	width:29%;
	text-align: center;
	margin-right: 2%;
	margin-left: 2%;
	
	position: relative;
	}
a:hover #logo img {
	opacity:0.7;
}
#logo img {
	max-width: 100%;
	height: auto;
}

#logodetails {
	margin-top: 20px;
	width: 85%;
	margin: auto;
	}
#logodetails p {
	font-size: 14px;
}

.footer p {
	font-size: 13px;
}

.footer a {
	color: white;
}
.footer img {
	width: 100%;
}


.logo {
  position: relative;
  display: inline-block;
  overflow: hidden;
  transition: all 0.4s ease;
}

/* Default image visible */
.logo img {
  transition: opacity 0.4s ease;
  z-index: 1;
  position: relative;
}

/* Hidden overlay (starts invisible) */
.hover-overlay {
  position: absolute;
  inset: 0;
  background-image: url('https://nasevents.co.uk/images/NAS-Master-hover.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 2; /* ensure it sits on top when visible */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
  pointer-events: none; /* prevents blocking link clicks until hover */
}

/* Hover effect */
.logo:hover img {
  opacity: 0.2; /* dim image */
}

.logo:hover .hover-overlay {
  opacity: 1;
  pointer-events: auto; /* button now clickable */
}

/* Individual hover background images */
.nas-logo .hover-overlay {
  background: url('https://nasevents.co.uk/images/NAS-Master-hover.jpg') center/cover no-repeat;
}

.nscl-logo .hover-overlay {
  background: url('https://nasevents.co.uk/images/NSCL-Fest-Logo_hover.jpg') center/cover no-repeat;
}

.gradfest-logo .hover-overlay {
  background: url('https://nasevents.co.uk/images/Grad-Fest-hover.jpg') center/cover no-repeat;
}

.skills-logo .hover-overlay {
  background: url('https://nasevents.co.uk/images/Skills-hover.jpg') center/cover no-repeat;
}

.sscl-logo .hover-overlay {
  background: url('https://nasevents.co.uk/images/SSCL-hover.jpg') center/cover no-repeat;
}

.lscl-logo .hover-overlay {
  background: url('https://nasevents.co.uk/images/LSCL-hover.jpg') center/cover no-repeat;
}



/* Responsive tweaks */
@media (max-width: 992px) {
  .banner-overlay {
    padding: 12% 5%;
  }
 
}

@media (max-width: 768px) {
  .banner-image {
    background-position: center bottom; /* ensures text sits over blue area */
  }
  .banner-overlay {
    padding: 18% 2% 10%;
  }
  
}

@media (max-width: 480px) {
  .banner-image {
    min-height: 75vh;
    background-position: center bottom;
  }
  .banner-overlay {
    padding-top: 25%;
  }
  .banner-overlay-text.contact {
    padding-bottom: 4rem; /* helps anchor it to the blue section */
  }
}



@media (min-width: 576px) {
	.modal-dialog {
		max-width: 800px;
		max-width: 90%;
	}
	.modal-body img {
		max-height: 90vh;
	}
	.footer img {
	width: 100%;
}
	
	.header h2 {
  font-size: 20px;
  font-weight: 100;
  margin-bottom: 40px;
}
}

/* Smaller than 1700px ----------- */
@media only screen and (max-width : 1700px) {

}

/* Smaller than 1700px ----------- */
@media only screen and (max-width : 1080px) {
	#logo {
		width: 45%;
		margin-bottom: 50px;
	}
}

/* Smaller than 800px ----------- */
@media only screen and (max-width : 800px) {

	h1 {
		font-size: 35px;
	}
	#head-content img {
	max-width: 60%;
	height: auto;
}
#intro {
	margin-bottom: 50px;
	margin-top: 30px;
}
#logo
{
	float:none;
	width:90%;
	margin-left:auto;
    margin-right:auto;
	margin-bottom: 50px;
}

#footer
{
	margin-top: 0px;
}
#footer-left {
	width: 90%;
	float: none;
	margin-left:auto;
    margin-right:auto;
	text-align:center;
}
#footer-right {
	width: 90%;
	float: none;
	margin-left:auto;
    margin-right:auto;
	text-align:center;
}
	.header h2 {
  font-size: 20px;
  font-weight: 100;
  margin-bottom: 40px;
}	
	
 h2 {
  font-size: 20px;
}	
.contact-header	{
	text-align: center;
	margin-bottom: 5%;
}
	
.logo-header	{
	text-align: center;
	margin-bottom: 20px;
}
.logo {
  width: 35%;
}	
.footer img {
  width: 40%;
	margin-bottom: 20px;
}	
	.banner-image {
		min-height: 95vh;
	}	
	
.banner-overlay-text {
  left: 0;
  right: 0;
	position: absolute; 
	top: 35%; 
	color: white; 
	text-align: center; 
	padding-top: 0;
}
}




/* Smaller than 700px ----------- */
@media only screen and (max-width : 700px) {
	#logo {
	}
}

/* Smaller than 600px ----------- */
@media only screen and (max-width : 600px) {
	#logo {
	}
}
/* Smaller than 500px ----------- */
@media only screen and (max-width : 500px) {
	#logo {
	}
}