/*---Font Rules---*/

@font-face {
	font-family: inter ;
	src: url('../fonts/Inter_18pt-Regular.ttf');
}

@font-face {
	font-family: fifthgradecursive-2;
	src: url('../fonts/5thgradecursive-2.ttf');
}


h1 {
	color: #F8B131;
	font-family: 'fifthgradecursive-2','Comic Sans Ms',cursive;
	text-align: center;
	font-weight: bold;
	font-size: 2rem;
}

p {color: #121214;
	font-family: 'inter','Ariel',sans-serif;
}

a {
	font-family: 'inter','Ariel',sans-serif;
	color: #bf2026;
	text-decoration: none;
}
a:hover{
	text-decoration: underline;
	color: #FF4139;
}


/*--Header Rules------------*/

.header h1{
	padding: 40px;
	margin: 50px;
	text-align: center;
}

div.header {
	margin-top: 72px;
	margin-bottom: -50px;
	background-image: linear-gradient(to bottom, #CDFBFF, #F0F0F0);
	width: 100%;
}

/*--About Rules--*/

img.about-image {
	float: right;
	margin: 20px;
	width: 40%;
}

.background{
	background-color: #4B7E97;
	padding: 20px;

}

.white-box {
	background-color: white;
	max-height: 800px;
	max-width: 800px;
	padding: 20px;
	margin: auto;
	display: flex;
	border-radius: 20px;
	border-color: #F8B131;
	border-width: 5px;
	border-style: double;
	box-shadow: 2px 2px 15px #000000;
}

.about-me{
	text-align: center;
}

.about-me h2{
	color: #bf2026;
	font-family: 'inter','Ariel',sans-serif;

}

/*--Gallery Rules---------------------------------------*/

.image-container{
		margin: 10px auto 10px auto;
}

.flex-items{
	display: flex;
	flex-wrap: wrap;
	margin: 10px auto 10px auto;
}

.gallery-link{
	width: 50%

}

.gallery-link:hover{
	cursor: pointer;
	border-width: 10px;
	border-color: #F8B131;
	border-radius: 20px;
}

.image-gallery{
	object-fit: cover;
	height: 600px;
	width: 100%;

}

.gallery-link:hover{
	cursor: pointer;
	border-width: 10px;
	border-color: #F8B131;
}	

/*--image pages rules---------------------------------*/

.portolio-images {margin: 0px auto 0px auto}


.single-image{
	width: 90%;
	display: block;
	margin: 10px auto 10px auto;
}

.duel-image{
	display: block;
	width: 90%;
	margin: 10px auto 10px auto
}

.triple-image{
	display: block;
	width: 90%;
	margin: 10px auto 10px auto
}

.portfolio-background{
	display: block;
	max-width: 80%;
	max-width: 1440px;
	background-color: white;
	border-color: #F8B131;
	border-radius: 20px;
	border-color: #F8B131;
	border-width: 5px;
	border-style: double;
	margin: 0px auto 20px auto;
	box-shadow: 2px 2px 15px #000000;
}


.portfolio-info P {
	text-align: center;
	margin: 10px;
}


/*--Footer Rules------*/
.footer img{
	width: 100px;
	display: flex;
	align-items: center;
	display: block;
	margin: 10px auto 20px auto;
}

.footer p {
	color: #156082;
	text-align: center;
}

.footer{
	background-color: #00003A;
	width: 100%;
	height: 175px;
	padding: 20px;
}

/*---Contact Info----------------------------------*/

.email{
	color: #bf2026;
	list-style-image: url('../graphics/email-icon.png');
	padding: 20px 10px 20px 0px;
	margin: 10px auto 10 px auto;
	font-size: 30px;
}

.instagram {
	list-style-image: url('../graphics/instagram-icon.png');
	color: #bf2026;
	padding: 20px 10px 20px 0px;
	margin: 10px auto 10 px auto;
	font-size: 30px;
}


/*--------Navbar Rules---------------------------------------------*/

.navbar {
	background-color: #00003A;
	position: fixed;
	top: 0px;
	left: 0px;
	display: flex;
	width: 100%;
	align-items: center;
	z-index: 10;
}
.navbar-content{
	display: flex;
	width: 1200px;
	margin: auto;
	justify-content: space-between;
	padding: 10px;
	align-items: center;

.logo a img{
	height: 48px;
	width: auto;
}

.nav-links {

	display: flex;
	margin: 0px;
	font-family: 'inter','Ariel',sans-serif;
	list-style-type: none;
}
.navbar-content li {
	list-style-type: none;
}
.nav-links li a{
	margin: 30px;
	text-decoration: none;
	font-size: 18px;
	color: #bf2026;

}

.nav-links li a:hover {
	text-decoration: underline;
	color: #FF4139;

}


/* ================================================================================================*/
/* ================================== HAMBURGER RULES ============================================*/
/* ================================================================================================*/


/* HAMBURGER MENU RULES -----------------------------------------------------*/

/* Stylizes the hamburger menu but hides it */ 
.hamburger {
    display: none;
    height: 40px;
    width: auto;
    cursor: pointer;
}

/* Stylizes the exit icon but hides it */ 
.exit-icon {
    display: none;
    height: 40px;
    width: auto;
    cursor: pointer;
}





/* ================================================================================================*/
/* =========================== MEDIA QUERIES FOR HAMBURGER MENU ===================================*/
/* ================================================================================================*/


/* ========= MOBILE ====================================================================== */

@media (max-width: 600px) {

    /* Mobile Rules for the Navigation ------------------------------------ */ 

    /* Displays the Hamburger Menu */
    .hamburger {
        display: flex;
    }

    /* Hides and Stylizes the Navigation links */
    ul.nav-links {
        position: absolute;
        top: 0;
        right: -100%; /* Position off-screen */
        width: 100%;
        height: 100vh;
        background-color: #00003A;
        display: flex;
        flex-direction: column;
        padding: 90px 0;
        text-align: right;
        transition: transform 0.3s ease-in-out; /* Apply sliding transition */
    }

    /* Hides and Stylizes the Exit Icon */ 
    .exit-icon {
        position: fixed;
        top: 30px;
        padding-right: 15px;
        right: -100%;
        width: 100%;
        display: flex;
        justify-content: right;
        z-index: 11;
        transition: transform 0.3s ease-in-out; /* Apply sliding transition */
    }

    /* When Menu is Open, show the Exit Icon*/ 
    .nav-links.active + .exit-icon {
        transform: translateX(-100%); /* Slide in from the right */
    }

    /* When the menu is open, show the navigation links */
    .nav-links.active {
        transform: translateX(-100%); /* Slide in from the right */
    }

    /* Stylize the links alittle further */ 
    ul.nav-links li {
        margin: 10px;
    }

    .gallery-link{
	width: 100%; 
}


}

/* ========= TABLET ====================================================================== */

@media (min-width: 601px) and (max-width: 900px) {
    
    /* Tablet Navigation --------------------------------------------------*/

    /* Displays the Hamburger Menu */
    .hamburger {
        display: flex;
    }

    /* Hides and Stylizes the Navigation links */
    ul.nav-links {
        position: absolute;
        top: 0;
        right: -100%; /* Position off-screen */
        width: 100%;
        height: 100vh;
        background-color: #00003A;
        display: flex;
        flex-direction: column;
        padding: 90px 0;
        text-align: right;
        transition: transform 0.3s ease-in-out; /* Apply sliding transition */
    }

    /* Hides and Stylizes the Exit Icon */ 
    .exit-icon {
        position: absolute;
        top: 30px;
        padding-right: 10px;
        right: -100%;
        width: 100%;
        display: flex;
        justify-content: right;
        z-index: 1000;
        transition: transform 0.3s ease-in-out; /* Apply sliding transition */
    }

    /* When Menu is Open, show the Exit Icon*/ 
    .nav-links.active + .exit-icon {
        transform: translateX(-100%); /* Slide in from the right */
    }

    /* When the menu is open, show the navigation links */
    .nav-links.active {
        transform: translateX(-100%); /* Slide in from the right */
    }

    /* Stylize the links alittle further */ 
    ul.nav-links li {
        margin: 10px;
    }

}