@charset "utf-8";

/*
	CIS 1406 - 55 HTML & CSS Midterm
   
   Author:   Ariel Kainu
   Date:     October 21st, 2026
   
   This file contains the layout styles for my midterm homepage

*/

/* ===========
   Base Styles
   ===========
*/


/* HTML and Body Styles */

html {
   background: url(pine.jpg) center center / cover no-repeat fixed;
   height: 100%;
   font-size: 12px;
   color: beige;
}

body {
   box-sizing: border-box;
   background: rgba(8,30,1,0.5);   
   box-shadow: black 5px 0px 20px,
               black -5px 0px 20px;
   margin: 0 auto;
   min-height: 100%;
   min-width: 320px;
   max-width: 1024px;
   width: 100%;
   padding: 20px;
}

h1, h2, li {
	margin-left: 15px;
}

p {
	margin-left: 20px;
}


/* Body Header Styles */

body header {
   background: rgba(32,48,27,0.2);   
}

body header img {
   display: block;
   width: 100%;
}

body header img {
   filter: grayscale(100%);
   transition: filter 0.3s ease;
}
body header img:hover {
   filter: grayscale(0%);
}

/* Horizonal Navigation Styles */

ul.mainmenu > li a:hover {
   transform: scale(1.05);
}

figure.projects-list {
   transform: rotate(-0.5deg);
}

nav.horizontal li {
   color: rgba(23,16,1,0.2);
   display: block;
   line-height: 2em;
   text-transform: uppercase;
}

nav.horizontal a {
   display: block;
   font-size: 1em;
}

nav.horizontal a:visited, nav.horizontal a:link {
   color: white;
}

nav.horizontal a:hover, nav.horizontal a:active {
   background-color: rgba(30,20,0,0.8);
   color: beige;
}

/* Main Menu Styles */

ul.mainmenu > li {
   text-align: center;
}

ul.mainmenu > li a {
   color: white;
   background-color: #201400;
}

/*List Styles*/

ol.acquired-list {
   list-style-type: square;
   list-style-position: inside;
}

ul.skills-list {
   list-style-type: upper-roman;
   list-style-position: outside;
}

.text-highlight {
   color: #ffcc00;
   font-weight: bold;
   opacity: 0.8; 
}

figure.projects-list {
   border: 1px solid rgba(245, 245, 220, 0.3); 
   padding: 15px;
   margin: 20px;
   background-color: rgba(0, 0, 0, 0.2);
}

figure.projects-list img {
   filter: sepia(40%);
   transition: filter 0.3s ease;
}

figure.projects-list img:hover {
   filter: sepia(0%);
}

/* Font styles*/

@font-face {
      font-family: 'Playfair Display';
      src: url('Playfair_Display/static/PlayfairDisplay-Regular.ttf') 
	  format('truetype');
	  font-weight: 400;
      font-style: normal;
    }

body {
      font: 12px/1.5 'Playfair Display', Georgia, serif;
    }
    
h1 {
      font-size: 2.5rem;
    }

/* Section Styles */

section {
   background-color: rgba(30,20,0,0.8);
   clear: both;
}

section::after {
   content: "";
   display: table;
   clear: both;
}

section img {
   display: block;
   width: 100%;
}

section p {
   line-height: 1.4em;
   padding: 10px;
   font-size: 1.3em;
}

section li {
   line-height: 1em;
   padding: 10px;
   font-size: 1.3em;
}

/* Aside Styles */

aside {
   display: block;
   background-color: rgba(23,16,1,0.8);
}

/* Footer Styles */

body > footer {
   background-color: rgba(0,32,2,0.6);
   font-size: 0.9em;
   text-align: center;
   padding: 10px 0px;
}

@font-face {
  font-family: 'Playfair Display'; 
  src: url('Playfair_Display/static/PlayfairDisplay-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}



/*	==============================
	Mobile Styles: 0px to 480px
	==============================
*/
@media only screen and (max-width: 480px) {
	
nav.horizontal a {
	font-size: 1.5em;
	line-height: 2.2em;
	}
	
aside {
	display: none;
	}
	
}

/*	================================
	Tablet Styles: 481px and greater
	================================
*/
@media only screen and (min-width: 481px) {
	
ul.mainmenu > li {
	float: left;
	position: relative;
	width: 20%;
	}
	
ul.submenu {
	box-shadow: rgb(51,51,51) 5px 5px 15px;
	width: 200%;
	}
	
}

/*	==================================
	Desktop Styles: 769px and greater
	==================================
*/
@media only screen and (min-width: 769px) {
	
ul.submenu {
		background: transparent;
		box-shadow: none;
		display: block;
		position: relative;
		width: 100%;
	}	
	
nav.horizontal::after {
		clear: both;
		content: "";
		display: table;
	}
	
nav.horizontal a.submenuTitle {
		display: none;
	}
	
article {
		float: left;
		margin-right: 5px;
		width: 55%;
	}

aside {
		float: left;
		width: 40%;
	}
	
}

/* ==================================
			Print Style Sheets
   ==================================
*/
@media print {

nav, 
   ul.mainmenu, 
   aside, 
   body header img {
      display: none !important;
   }

html, body {
      background: none !important;
      color: #000000 !important;
      box-shadow: none !important;
      padding: 0 !important;
      margin: 0 !important;
      width: 100% !important;
      max-width: 100% !important;
   }

article {
      float: none !important;
      width: 100% !important;
      margin: 0 !important;
   }

section, p, li {
      background-color: transparent !important;
      color: #000000 !important;
   }
}