/* 
   Mark Hanna's Website 
   Filename: styles.css
   Author: Mark Hanna 
   Date: 03/02/2025    
*/

/* Reset styles */
html {
  font-size: 16px;
}

/* Head */
header {
  align-items: center;
  background-image: url('https://cissltd.com/wp-content/uploads/2022/02/trianglify-blue.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2.5rem 1.25rem;
  color: white;
  text-align: center;
  position: relative;
}

h1 {
  text-align: center;
  font-weight: bold;
  font-style: italic;
  color: #0a0a0a;
}

/* Main container for layout */
.container {
  display: flex;
  align-items: flex-start;
}

/* Sidebar */
.sidebar {
  float: left;
  width: 300px;
  height: auto;
  border-radius: 0.1em;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  font-size: large;
  text-align: center;
  padding: 5px;
  margin: 5px;
  position: relative;
  background: #fffcfc;
  background-image: url('https://cdn.wallpapersafari.com/40/50/HQczd9.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2.5rem 1.25rem;
  color: white;
  text-align: center;
}

/* Sidebar List */
.sidebar ul {
  list-style: none;
  padding: 0;
}
.sidebar ul li {
  padding: 1.4em;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.sidebar ul li a {
  text-decoration: none;
  font-weight: bold;
  font-size: larger;
}
.sidebar ul li a:hover {
  color: rgb(255, 6, 6);
}

/* Social Media Icons */
.fa {
  padding: 20px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
}
.fa:hover {
  opacity: 0.7;
}
.fa-linkedin {
  background: #007bb5;
  color: white;
}
.fa-facebook {
  background: #3B5998;
  color: white;
}
.fa-twitter {
  background: #55ACEE;
  color: white;
}
.fa-instagram {
  background: #125688;
  color: white;
}
.fa-youtube {
  background: #bb0000;
  color: white;
}

/* Main Content */
.content {
  flex: 1;
  padding: 20px;
  background-color: white;
  margin-left: 80px;
}

/* Image size inside H1 */
h1 img {
  display: block;
  margin: 0 auto;
  width: 300px;
  height: 300px;
}

/* Site navigation styles */
nav.sitenavigation {
  background-color: rgb(221, 151, 151);
  text-align: center;
  color: azure;
  background-image: url('https://img.itch.zone/aW1hZ2UvNjEzNDMwLzMyNjQ2MjcucG5n/original/hbyjPE.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2.5rem 1.25rem;
  position: relative;
}
nav.sitenavigation p {
  display: inline-block;
  margin: 0.4em 0.6em;
  font-size: 1.1em;
}
nav.sitenavigation a {
  color: #e2d3f5;
  font-weight: bold;
  font-style: inherit;
}
nav.sitenavigation a:hover {
  color: #FF0000;
}

/* Skip Navigation */
.skipnavigation {
  text-align: center;
  font-size: x-large;
}
.skipnavigation a {
  color: rgb(141, 36, 109);
  font-weight: bold;
}
.skipnavigation a:hover {
  color: #FF0000;
}

/* Body and page container */
body {
  background-color: lightcyan;
}

/* Paragraph styles */
p {
  text-align: left;
  background-color: rgba(255, 255, 255, 0);
  width: auto;
  height: auto;
  border-radius: 0.2em;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  font-size: large;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  line-height: 1.5;
  padding: 0.625rem;
  margin: 0.625rem;
  color: #000000;
}

/* Order List style */
ol {
  text-align: left;
  background-color: rgba(255, 255, 255, 0);
  width: auto;
  height: auto;
  border-radius: 0.3em;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  font-size: large;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  line-height: 1.5;
  padding: 10px;
  margin: 10px;
  color: #000000;
  list-style-position: inside;
}

/* Table style */
.salary-table {
  border-collapse: collapse;
  width: 100%;
}
.salary-table, .salary-table th, .salary-table td {
  border: 1px solid black;
}
.salary-table th, .salary-table td {
  padding: 8px;
  text-align: left;
}

/* Headings */
h2, h3, h4, h5, h6 {
  text-align: left;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: larger;
}

/* Footer section */
footer {
  text-align: center;
  justify-content: center;
  padding: 20px;
  background-image: url('https://cdn.wallpapersafari.com/61/75/Ymx59h.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  position: relative;
}
footer p {
  text-align: center;
  color: #000000;
  font-weight: bolder;
}

/* Feature we have not covered in class */
/* Contact form container */
#contact {
  display: inline-block;
  vertical-align: top;
  padding: 2.5rem 1.25rem;
  max-width: 600px;
  background-color: #c2abf7;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: 10px;
}

/* Contact form elements */
#contact h2 {
  text-align: center;
  margin-bottom: 20px;
}
form {
  display: flex;
  flex-direction: column;
}
form label {
  margin-top: 15px;
  font-weight: bold;
}
form input, form textarea {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #0a0a0a;
  border-radius: 8px;
  margin-top: 5px;
}
form button {
  margin-top: 20px;
  padding: 12px;
  font-size: 1rem;
  background-color: #2085eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
form button:hover {
  background-color: #004c99;
}
/* Mobile Responsive Adjustments */
@media screen and (max-width: 768px) {
    header {
        padding: 1.5rem 1rem;
    }
    h1 {
        font-size: 1.5rem;
    }
    h1 img {
        width: 200px;
        height: auto;
    }
    nav.sitenavigation {
        padding: 1.5rem 1rem;
    }
    nav.sitenavigation p {
        display: block;
        margin: 0.5em 0;
    }
    .container {
        flex-direction: column;
        align-items: center;
    }
    .sidebar {
        width: 90%;
        margin: 10px 0;
        padding: 1.5rem 1rem;
    }
    .content {
        margin-left: 0;
        padding: 1.5rem 1rem;
        width: 90%;
    }
    footer {
        padding: 1.5rem 1rem;
    }
    #contact {
        width: 90%;
        padding: 1.5rem 1rem;
    }
    p, ol {
        font-size: medium;
        padding: 0.5rem;
        margin: 0.5rem;
    }
    .salary-table th, .salary-table td {
        font-size: smaller;
        padding: 6px;
    }
    form input, form textarea, form button {
        font-size: 1rem;
        width: 100%;
    }