/* =====================================================
   Linda Holiner Designs - Basic Stylesheet
   Clean starting point for portfolio redesign
   ===================================================== */

/* ---------- Global ---------- */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    background: #2f78b7;      /* Replace with your exact blue */
    line-height: 1.6;
}

.page {
    max-width: 1100px;
    margin: 0px  auto 10px;
    background: white;
    padding: 40px;

}
/* --------------Desktop navigation------------------ */

.top-nav {
    display: flex;
    align-items: center;
    height: 100px;
    padding: 0 20px;
     border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    margin-bottom: 30px;
    margin-left: 60px;
}
.page:has(.project-page-horizontal) .top-nav {
    margin-left: 0;
    padding-left: 0;
}

.logo {
    width: 90px;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.75;
}
.menu {
    display: flex;
    flex: 1;
    margin-left: 75px;
    padding: 0;
    list-style: none;
    gap: 90px;
}

.menu a {
    color: #1a75bc;
    text-decoration: none;
    font-size: 0.9em;
    font-variant: small-caps;
    letter-spacing: 0.12em;
}

.menu a:hover{
    text-decoration: underline;
    text-underline-offset: 0.75em;
}

#menu-toggle {
    display: none;
}

.menu-button-container {
    display: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.footer {
    display: flex;
    justify-content:space-between;
    flex-direction: row;
    height: 45px;
    padding: 10px 20px;
    align-items: center;
    color: #1a75bc;
    font-size: 0.9em;
     border-top: 1px solid #ddd;
    margin-top: 20px;
    padding-top: 15px;
}

 

.footer a {
    text-decoration: none;
}
.footer a:hover{
    text-decoration: underline;
    text-underline-offset: 0.75em;
}

/* ---------- Portfolio ---------- */
.portfolio-grid {
    display: grid;
   grid-template-columns: repeat(2, 1fr);
    gap: 30px 30px;
    text-align: center;
    max-width: 610px;
    margin: 0 auto;
}

.project-page-horizontal{
   margin: 40px 30px;
  
}

.project-page{
    margin: 0 auto;
    width: 85%;
}
.project a {
    color: inherit;
    text-decoration: none;
}

.project img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.project h2 {
    font-size: 1.0rem;
    font-weight: 600;
    text-align: center;
    margin: 10px 0 2px;
}
.project p{
margin: 0; 
    line-height: 1.5;
    font-size: .9rem;
    color: #666;
    text-align: center;
}

 .project-page p, .project-page-horizontal p{
margin: 0 3px 10px; 
    line-height: 1.4;
    font-size: .8rem;
    color: #666;
    text-align: center;
}
.project-page p.align-left {
    text-align: left;
}
p.align-left{
    text-align:left;
}
h2.page-title {
    font-size: 1.5rem;
    text-align: center;
    font-weight: bold;
}

p.page-title {
    font-size: 1.25rem;
    margin-bottom: 40px;
}


.project-intro {
    margin-bottom: 20px;
    /* background: #00f; */
}
.project-head{
      font-size: 1.0rem;
    font-weight: 600;
    text-align: center; 
    margin-bottom: 0px; 
    margin-top: 5px;
  
} 
.cookbook-copy{
   top: 100px;
    position: relative;     
}
.text-drop {
    margin-top: 50px;
}

.font-size-smaller{
font-size: 0.85rem;
    font-style:italic;

}

.text-drop-more{
    font-size: 0.85rem;
    font-style:italic;
    margin: 105px 10px 0 20px;
}
.cookbook-copy .project-head{
    margin-bottom: 6px;
   
}

.align-left {
    text-align: left;
}


.hero-image {
    float: left;
    width: 60%;
    margin: 0 40px 20px 0;
}

.hero-image-wide {
    float: left;
    width: 600px;
    margin: 0 40px 20px 0;
}

.project-intro::after {
    content: "";
    display: block;
    clear: both;
}


.project-image img{
 max-width: 1000px;
    width: 100%;
    height: auto;
    display: block;
    margin : 0 auto;
}
img.image-smaller{
    max-width: 350px;
}
img.image-smallest{
    max-width: 240px;
}

.pumpkin-image {
    max-width: 350px;
    padding-right: 10px;
    margin-top: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.row-equal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px 30px;
    margin-top: 25px;
    width: 75%;
    text-align:center;
    margin-left: auto;
    margin-right: auto;
   
}

.row-equal-horizontal{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px 40px;
    margin-top: 10px;
    width: 100%;
    text-align:center;
    margin-left: auto;
    margin-right: auto;
 /*   background: #f0f; */
 
}

.row-equal-horizontal-aane{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px 50px;
    margin-top: 30px;
    width: 100%;
    text-align:center;
    margin-left: auto;
    margin-right: auto;
 /*   background: #f0f; */
 
}
.row-equal .project-image img {
    width: 90%;
    margin: 0 auto;
}


.project-page .board-health-images .project-image {
    margin-bottom: 0;
}

.row-wide {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: start;
    gap: 20px;
    margin-top: 0px;
    width: 100%;
}


.row-thirds{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
       width: 90%;
       margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}
.project-single {
    margin-bottom: 30px;
}
.project-single img {
    display: block;
    margin: 20px auto 0px;
}

.image-border  {
    border: 1px solid #bbb;
}


.align-middle {
    align-self: center;
}
/*About-page */

.about-page {
    width: 85%;
    margin: 0 auto;
}
img.about {
     width: 100%;
  
    display: block;
    max-width:550px;
    margin: 10px auto 10px;
}
.img-caption {
    font-size: .85rem;
    color: #333;
    text-align: center;
    font-weight: bold;
     font-family: "Trebuchet MS", Arial, sans-serif;
     margin: 10px 5px 0;
}

.quote-caption {
    font-size: .85rem;
    color: #333;
    text-align: center;
    font-weight: bold;
     font-family: "Trebuchet MS", Arial, sans-serif;
     margin-bottom: 0px;
}
.background-grey{
    background: #ddd; 
    padding: 10px 15px 15px;
    margin-top: 50px;
        text-align: center;
}
.logo-design {
   max-width: 98%;
    height: auto;
    padding: 15px;
    margin: 0 auto;
}

/*Contact form formatting */
/* Contact form */

.form-container {
    width: 75%;
    max-width: 750px;
    margin: 0 auto;
    padding: 30px;

    background: #ddd;
}

.form-container form {
    display: grid;
    gap: 18px;
}

.form-container .row {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 20px;
    align-items: start;
}

.form-container label {
    padding-top: 10px;
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font: inherit;
}

.form-container textarea {
    min-height: 150px;
    resize: vertical;
}

.form-container input[type="submit"] {
    grid-column: 2;
    justify-self: end;
    background: #1a75bc;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 40px;
    cursor: pointer;
}

.form-container input[type="submit"]:hover {
    background: #f7953e;
}

/*medium screen adjustment */

@media (max-width: 950px) {
  
    p
     {text-align: center;}

    .hero-image {
        width: 55%;
        margin-right: 25px;
    }
    .hero-image-wide {
    float: none;
    width: 100%;
    margin: 0;
}

.cookbook-copy {
    position: static;
}

    
.background-grey{
    background: #ddd; 
    padding: 10px 15px 10px;
    margin-top: 0px;
}
.background-grey p {
    margin-top: 0;
    margin-bottom: 0px;  
}

.background-grey p.quote-caption{
    margin-top: 4px;
    margin-bottom: 0px;
  
}
}

/*--- comment iPad mini --- */
/* don't need to reduce menu 667 - 768 */

@media (min-width: 667px) and (max-width: 768px) {


  .page, .portfolio-grid, .about-page {
        padding: 20px;
        width: 90%;
        margin: 0 auto;
    }

   
  .top-nav {
        position: relative;
        justify-content: space-between;
        display: flex;
        margin-left: 0px;
        padding: 20px;
        margin-bottom: 10px;
    }
   
    .logo {
        width: 70px;
        margin: 0px;
    }

.project-page-horizontal{
   margin: 40px 10px 0 10px;
}

.project-page{
    text-align: center;
   margin: 0 auto;
    width: 95%;
}

   .project-page .row-equal .project-image{
    margin-bottom: 10px;
   }

   .project-page .board-health-images .project-image {
    margin-bottom: 0;
}

  .hero-image , .hero-image-wide {
        float: none;
        width: 100%;
        margin: 0 0;
  }

 .cookbook-copy {
    position: static;
}

    .background-grey {
        margin-top: 0px;
        padding-top: 10px;
    }

.row-equal, .row-equal-horizontal, .row-equal-horizontal-aane,
    .row-thirds {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
        margin-bottom: 0px;
    }
.row-equal.board-health-images {
    grid-template-columns: repeat(2, 1fr);
}
    

.row-thirds, .row-equal {
    margin-top: 0;
}

    .pumpkin-image
    {
        max-width: 290px;
    }
   
 .project-intro .project-head {
    margin-bottom: 5px;
 }
 .text-drop {margin-top: 5px;}
    .row-thirds img {
        width: 85%;
        DISPLAY: block;
        margin: 0 auto;
    }
.form-container {
    width: 100%;
    padding: 10px;
}

.form-container .row {
    grid-template-columns: 1fr;
    gap: 5px;
}

.footer a,  .footer a:hover {
    text-decoration: none;
}

.about-page {
    width: 100%;
}
.about-page .row-wide {
        grid-template-columns: 1fr;
    }

.board-health-images {
    margin-top: 0;

}
}

/* ---------- Phone ---------- */

@media (max-width: 666px) {

  

.menu {
    display: none;
    flex-direction: column;
      position: absolute;
        top: 100%;
       left: 50%;
          transform: translateX(-50%);
        align-items: center;
        width: 220px;
         margin: 0;
    padding: 0;
    gap: 0;
    list-style: none;
    text-align: center;
}
  
.menu-button {
    position: relative;
}

.menu-button,
.menu-button::before,
.menu-button::after {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #f7953f;
    border-radius: 2px;
}
.menu-button::before,
.menu-button::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-button::before {
    top: -8px;
}

.menu-button::after {
    top: 8px;
}
  .menu-button-container {
        display: flex;
    }

#menu-toggle:checked ~ .menu {
    display: flex;
}

   .menu li {
        width: 100%;
        padding: 0;
        text-align: center;
        background-color: #f7953f;
        border-bottom: 1px solid white;
        transition: background-color .3s ease;
    }
.menu li:active {
    background-color: #cc6d1d;
}
    .menu a {
        display: block;
        width: 100%;
        padding: 12px;
        color: white;
    }
    .menu a:hover{
        text-decoration:none;
    }

    #menu-toggle:checked + .menu-button-container .menu-button {
    background: transparent;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
    top: 0;
    transform: rotate(45deg);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
    top: 0;
    transform: rotate(-45deg);
}

/* page adjustments */

  .page, .portfolio-grid, .about-page {
        padding: 20px;
        width: 90%;
        margin: 0 auto;
    }

   
  .top-nav {
        position: relative;
        justify-content: space-between;
        display: flex;
        margin-left: 0px;
        padding: 0;
    }
   
    .logo {
        width: 70px;
        margin: 0px;
    }

.project-page-horizontal{
   margin: 40px 10px 0 10px;
}

.project-page{

    text-align: center;
   margin: 0 auto;
    width: 95%;
}

   .project-page .row-equal .project-image{
    margin-bottom: 10px;
   }

   .project-page .board-health-images .project-image {
    margin-bottom: 0;
}

  .hero-image , .hero-image-wide {
        float: none;
        width: 100%;
        margin: 0 0;
  }

 .cookbook-copy {
    position: static;
}

    .background-grey {
        margin-top: 0px;
        padding-top: 0px;
    }

.row-equal, .row-equal-horizontal, .row-equal-horizontal-aane,
    .row-thirds {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
        margin-bottom: 0px;
    }

.row-thirds, .row-equal {
    margin-top: 0;
}

    .pumpkin-image
    {
        max-width: 290px;
    }
   
 .project-intro .project-head {
    margin-bottom: 5px;
 }
 .text-drop {margin-top: 5px;}
    .row-thirds img {
        width: 85%;
        DISPLAY: block;
        margin: 0 auto;
    }
.form-container {
    width: 100%;
    padding: 10px;
}

.form-container .row {
    grid-template-columns: 1fr;
    gap: 5px;
}

.footer a,  .footer a:hover {
    text-decoration: none;
}

.about-page {
    width: 100%;
}
.board-health-images {
    margin-top: 0;
}

}

 

@media (max-width: 667px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        width: 90%;
    }

    .row-wide {
    grid-template-columns: 1fr;
}
.background-grey {
    padding-top: 15px;
}

}


    @media (max-width: 412px) {
    
    .row-wide {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}



@media (min-width: 721px ) and (max-width: 800px) { 

    .top-nav {
    margin-left: 0;
    padding-left: 0;
}

.form-container {
    width: 100%;
    padding: 10px;
}

.form-container .row {
    grid-template-columns: 1fr;
    gap: 5px;
}

.page {
    width: 92%;
    margin: 0 auto 10px;
}

.about-page {
    width: 100%;
}

.about-page .background-grey {
    margin-top: 10px;
    padding-top: 5px;
}
.project-page {
    width: 100%;
}


.hero-image.health {
    float: none;
    width: 45%;
    margin: 0;
}

.project-intro:has(.hero-image.health) {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.project-intro:has(.hero-image.health) .text-drop {
    flex: 1;
    min-width: 0;
    margin-top: 0;
}
}@media (min-width: 801px) and (max-width:999px) {

    .hero-image.health {
        float: none;
        width: 45%;
        margin: 0;
    }

    .project-intro:has(.hero-image.health) {
        display: flex;
        align-items: flex-start;
        gap: 15px;
    }

    .project-intro:has(.hero-image.health) .text-drop {
        flex: 1;
        min-width: 0;
        margin-top: 0;
    }
}


@media (min-width: 721px) and (max-width: 768px) {
    .about-page .background-grey {
        margin-top: 0;
        padding-top: 10px;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
   
   .top-nav {
    margin-left: 0;
    padding-left: 0;
   }
    .page {
        width: 92%;
        margin: 0 auto 10px;
    }
.page:has(.project-page-horizontal) {
    padding-left: 20px;
    padding-right: 20px;
}

     
     .row-thirds,
    .row-equal {
        width: 100%;
          margin-bottom: 10px;
    }
    .row-equal.board-health-images {
        width: 100%;
          margin-bottom: 10px;
    }

 .form-container {
    width: 100%;
 }

 
    .top-nav {
    margin-left: 0;
}

.hero-image-wide {
    width:60%;
    margin-right: 25px;
    float: left;
    margin-bottom: 20px;
}

}

@media (min-width: 721px) and (max-width: 950px) {
   .project-page {
    width: 100%;
   }
   
    .row-equal.board-health-images {
        width: 100%;
          margin-bottom: 10px;
    }

     .row-thirds,
    .row-equal {
        width: 100%;
          margin-bottom: 10px;
    }

    .cookbook-copy {
    position: relative;
    top: 70px;
    font-size: 1.2rem;
    line-height:2rem;
}
 .form-container {
    width: 100%;
 }

    .top-nav {
    margin-left: 0;
}

}

@media (min-width: 721px) and (max-width: 800px) {
    .cookbook-copy {
        top: 0;
    }
}

@media (min-width: 600px) and (max-width: 768px) {
    .row-equal.board-health-images,
    .row-equal {
        grid-template-columns: 1fr 1fr;
        margin-bottom: 10px;
    }

    .row-thirds {
        grid-template-columns: 1fr 1fr 1fr;
        margin-bottom: 20px;
    }
}


@media (min-width: 413px) and (max-width: 767px) {
    .hero-image{
        width: 85%;
    }
}

@media (min-width: 951px) and (max-width: 1100px) {
    .about-page .background-grey {
        margin-top: 10px;
    }
.about-page {
    width: 100%;
}
}

@media (max-width: 800px) {
    .hero-image-wide {
        float: none;
        width: 95%;
        margin: 0 auto;
          display: block;
    }
    

     .project-intro .align-left {
        text-align: center;
    }
}


@media (min-width: 801px) and (max-width: 852px) {
    .hero-image-wide {
float: left;
        width: 50%;
        margin: 0;
        padding-right: 20px;
    }
   .project-page-horizontal {
    margin: auto;
   }

}

@media (min-width: 768px) and (max-width: 925px){
.background-grey {
    margin-top: 13px;
}
}

@media (min-width: 721px) and (max-width: 952px) {
.about-page {
    width: 100%;
}
}

@media (min-width: 667px) and (max-width: 768px) {

    /* AANE: top photograph and text */
    .project-page-horizontal .hero-image-wide {
        float: left;
        width: 50%;
        margin: 0 20px 15px 0;
    }

    .project-page-horizontal .project-intro .align-left {
        text-align: left;
    }

    /* AANE: two lower images */
    .project-page-horizontal .row-equal-horizontal {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

}

@media (max-width: 412px) {
    .about-page {
        padding-left: 5px;
        padding-right: 5px;
    }
    .page {padding: 10px;}
}