/*
Name: Mollee Jain
Course: CSCI 571 - Web Tech
Due date: 5/25/22
Homework Assignment #1
Direct link: https://mjain2.github.io/csci571/HW3/homepage.html 

- Got colors using an uploaded image of expected screenshot with this: https://imagecolorpicker.com/en 
- got dimensions of components using this: https://www.rapidtables.com/web/tools/pixel-ruler.html 
*/

body {
    background-color: white;
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    /* font-size: 22px;; */
    height: 1628px; /* 1298px; * 1.25392 for scaling to correct dims*/
    width: 1600px; /*  1276px; * 1.25392*/
}

p {
    font-size: 15px;
}

h1 {
    font-size: 40px;
}


.mainpage {
    padding: 25px; /* 20px */
  }

/* Navigation */
.nav {
    overflow: hidden;
    background-color: white;
    position: fixed;
    width: 100%;
    height: 4%; /* 39px;  /* 106 - 25 * 2 padding - 25 margin bottom*/
    z-index:1;
    margin-bottom: 3%; /* 31px; use scale relatives*/
}

.navtitle {
    margin-left: 88px;
    color: black;
    font-size: 16px;
    font-weight:500;
}

.nav a {
    float: left;
    display: block;
    text-transform: uppercase;
    padding: 2%; /* middle of 4% height */
    text-decoration: none;
    text-align: center;
    font-size: 15px;
}

.nav-right {
    margin-right: 150px; /* 70 + 50px for the padding and margin left */
}

.nav-right a {
    color: grey;
    float: right;
    text-transform: none;
    display: block;
    padding: 2% 1%; /* middle of 4% height */
    /* text-align: right; */
    font-size: 12.5px;
}

.nav-right a:hover {
    color: black;
    font-weight: bold;
}

/* Header */
.header {
    z-index: 0;
    position: relative;
}

.header-image {
     /* 70 + 12 + 14 =~ 100 */
    height: 853px; /* 670px; */
    width: 100%; /* should fit whole width, 1600px = image width = body width */
    z-index: 1;
    margin-top: 8% /* 4% height + 2% *2 padding */
}

.header-info-box {
    z-index: 2;
    background-color: #0c3c5d;
    height: 408px; /* 406 - 40 * 2 for padding * scale*/
    width: 340px; /* 340px; /* 351 - 40 * 2 for padding */
    position: absolute;
    top: 0px;
    left: 0px;
    margin-top: 261px; /* 134 + 75 margin top from nav*/
    margin-left: 173px; 
    padding: 50px;
  }

.header-info-box h1{
    text-transform: uppercase;
    color: white;
    font-weight: 500;
    margin: 0;
}

.header-info-box h4 {
    font-size: 15px;
    text-transform: uppercase;
    color: white;
    font-weight: 200;
    margin: 0;
}

.header-info-box p{
    color: #fadd15;
    font-weight: 600;
    font-style: italic;
    font-size: 12px;
}

.header-info-box input{
    margin: 19px 0;
    width: 298px;
    padding: 20px 15px;
    border: 1px outset white;
    font-size: 15px;
    font-weight: 600;
}

.header-info-box input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: black;
    opacity: 1; /* Firefox */
  }
  

.header-info-box button {
    background-color: #fadd15;
    padding: 15px 19px;
    border: 1px outset #fadd15;
    text-transform: uppercase;
    font-size: 12px;
    margin-top: 12px;
    font-weight: lighter;
    letter-spacing: 1px;
  }


/* Content below header */
.content {
    color: black;
    display: flex;
    position: relative;
    margin: 100px 125px 150px 125px;
    height: 160px; 
    width: 1300px; /* 1600 - 250 -50 */
}

.content-item {
    float: left;
    position: relative;
}

.add-pad-right {
    padding-right: 75px;
}

.content-item h3{
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 400;
    color: black;
}

.content-item p{
    font-size: 14px;
    color: #8a8a8a;
    font-weight: bold;
    line-height: 1.5;
}

.end {
    background-color: #f4f4f4;
    height: 166px;
    width: 100%;
}