:root {
    --primary: #ececec
    --secondary: #385170;
    --alt: #142d4c;
    --shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: var(--primary);
    background-color: var(--secondary);
}

/* Header guts*/

header {
    background-color: var(--primary);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 10px 0px 10px 10px;
}

header img {
    max-height: 300px;
    width: auto;
    box-shadow: var(--shadow);
}

header h1 {
    color: var(--alt);
    font-size: 100px;
    font-weight: bold;
    padding:50px;
    text-shadow: var(--shadow);
}

header nav {
    margin:20px;
}

header-image {
    padding-top: 10px;
    padding: 10px;
    box-shadow: var(--shadow);
    border-radius:50%;
}

header a {
    text-decoration: none;
    color: var(--secondary);
}

header nav ul {
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style:none;
}
header-nav {
    margin: 20px;
}
header nav ul li a {
    padding:8px;
    font-size:20px;
    margin: 20px 20px 0 0;
    font-weight: bold;
}

/* Hero section */

.hero {
    background-image: url("./images/HeroBanner.jpg");
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 16px;
}

.hero h2 {
    position: absolute;
    top: 5px;
    left: 5px;
    border-radius: 15px;
    font-size: 45px;
    text-shadow: var(--shadow);
}

.hero h2 span {
    background-color: rgba(0, 0, 0, 0.5);
    color:lightblue;
    border-radius: 16px;
}

.title {
    border-right: 5px solid var(--alt) ;
    min-height: 100%;
    text-align: right;
    text-shadow: var(--shadow);
    padding-right: 40px;
    min-width: 20%;
    max-width: 20%;
    margin: 10px 0;
  }

  .title h2 {
    padding-top: 30px;
    font-size: 35px;
  }


/* About Me Guts*/

.about {
    display:flex;
    background-color: #6b6ac5;
    border-radius: 16px;
}

.me {
    justify-content: center;
    padding: 30px,10px,10px,10px;
}

.me p {
    text-align:center;
    font-size: 25px;
    line-height: 1.6;
    text-shadow: var(--shadow);
}

/*Work Guts*/

.work {
    display: flex;
    flex: 1 auto;
    background-color: var(--primary);
    background-color: #5d9ae6;
    border-radius: 16px;
}

.work h2 {
    color: var(--secondary);
}

.img-grid {
    --gap: 16px;
    --num-cols:2;
    --row-height: 300px;
    width:90%;
    box-sizing: border-box;
    padding: var(--gap);

    display: grid;
    grid-template-columns: repeat(var(--num-cols), 1fr);
    grid-auto-rows: var(--row-height);
    gap: var(--gap);
}

.img-grid > img {
    width:100%;
    height:100%;
    object-fit: cover;
    position:relative;
}
.img-grid-col-2 {
    grid-column: span 2;
}

.img-grid-row-2 {
    grid-row:span 2;
}

#run-buddy {

    background-image: url("./images/run-buddy.png");
    background-position: center;
    background-size:cover;
}

#spirit {
    background-image: url("./images/spirit.jpg");
    background-position:center;
    background-size: cover;
}

#woof-call {
    grid-column: 1/3;
    grid-row: span 2;
    background-image:url("./images/pawnder.png");
    background-position: auto;
}
.soon {
    background-image: url("./images/coming-soon.png")
}

.project-label {
    position: absolute;
    float: right;
    background-color: var(--alt);
    color: var(--primary);
    padding: 10px;
    font-size: 20px;
}

/*Footer guts*/

.contact {
    display: flex;
    justify-content: space-between;
    padding: 10px 0px;
}

.contact .title {
    color:black;
}

.info {
    padding: 10px 15px 0 0;
}

.info a {
    color:black;
    font-size:20px;
    text-shadow: var(--shadow);
}

@media screen and (max-width: 780px) {
    .title {
      border-right: none;
      text-decoration: underline var(--alt);
      min-height: none;
      padding-right: none;
      padding: 0px 5px 0px 5px;
      margin: 0px, 2px, 0px, 2px;
      min-width: none;
      max-width: none;
      text-align: center;
    }
  
    .about {
      flex-direction: column;
      border-right: none;
    }
    .work {
      flex-direction: column;
    }
  
    .img-grid {
      width: 100%;
    }
    .contact {
      flex-direction: column;
      margin-bottom: 10px;
    }
  
    .info {
      text-align: center;
    }
  }
  
    .contact-info a {
      font-size: 12px;
    }
  
@media screen and (min-width: 768px) {
      header nav ul li a:hover {
      background: var(--alt);
      color: var(--primary);
      border-radius: 15px;
    }
  
    .img-grid a {
      opacity: .75;
    }
  
    .img-grid a:hover {
      opacity: 3;
    }
  } 

