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

a {
    text-decoration:none;
    color:black;
}

.cormorant-garamond-light {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-style: normal;
}

.cormorant-garamond-regular {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-style: normal;
}

.cormorant-garamond-medium {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-style: normal;
}

.cormorant-garamond-semibold {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-style: normal;
}

.cormorant-garamond-bold {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-style: normal;
}

.cormorant-garamond-light-italic {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-style: italic;
}

.cormorant-garamond-regular-italic {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-style: italic;
}

.cormorant-garamond-medium-italic {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-style: italic;
}

.cormorant-garamond-semibold-italic {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-style: italic;
}

.cormorant-garamond-bold-italic {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-style: italic;
}


@media (min-width: 768px) {
  .mobile-content {
    display: none;
  }
  
  body {
    font-family: "Cormorant Garamond";
    line-height: 1.6;
    background-color: #fff;
    margin: 0;
    padding: 0;
}
  
  #content {
    width:90%;
    border: 1px solid black;
    margin:auto;
}

h2 {
    font-size: 3.5rem;
    line-height: 1.3;
    font-weight:200;
    margin: 0 auto;
    text-align:center;
    width: 50%;
}

h3 {
    font-size: 3.5rem;
    line-height: 1.3;
    font-weight:600;
    margin: 0 auto;
    text-align:center;
    width: 50%;
}

/* Make header responsive */
#header {
/*    display:grid;
    grid-template-columns: 1fr 1fr;  Two equal columns 
    grid-auto-rows: minmax(100px,auto);*/
    width: 100%;
    display: inline-block;
    background-color:#fff;
    color: black;
    padding: 20px;
    text-align: center;
    //border: 1px solid black;
}

header div {
    margin: 0px;
    padding: 10px;
    display: flex;
    justify-content: left
    //border: 1px solid black;
    
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: right;
    margin: 1rem 0 0;
}

nav li {
        font-family: "Cormorant Garamond";
        display:inline;
        margin-right:10px;
    }

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    font-size:18pt;
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: grey;
/*    background: #555;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;*/
   }


/* Section styling */
section {
    padding: 20px;
    margin-bottom: 20px;
}


footer {
    background: #ccc;
    color: black;
    text-align: left;
    font-size: 2rem;
    padding: 1rem;
    margin-top: 2rem;
}

footer img {
    
    width: 300px;
}

.katie {
    font-family: "Cormorant Garamond";
    font-size:36pt;
    display: inline-block;
    text-align: left;
    margin-bottom: 20px;
    float:left;
    //max-width:800px;
    //border: 1px solid black;
    
}

.katie a:hover {
    color:#ccc;
}

.navbox {
    font-family: "Cormorant Garamond";
    font-size:18pt;
    display: inline-block;
    text-align: right;
    margin-bottom: 20px;
    float:right;
    //max-width:800px;
    //border: 1px solid black;

}
.homeproject {
    
    display: flex;
    flex-direction: column;
    align-items: left;
    margin-bottom: 20px;
}

.homeproject img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.homeproject p {
    //font-size:24pt;
    text-align: left;
    font-size: 3rem;
    margin-top: 10px;
}

.projectgrid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    grid-auto-rows: minmax(100px,auto);
    gap: 10px; /* Add spacing between columns */
    width: 100%;
  }
  
  .projectgrid div {
    margin: 0px;
    padding: 10px;
    display: block;
   // border: 1px solid black;
  }
  
  .projectgridleft {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    grid-auto-rows: minmax(100px,auto);
    gap: 10px; /* Add spacing between columns */
    width:100%;
    //border: 1px solid greenyellow;  
  }
  
  .projectgridleft div {
    margin-left: 25px;
    padding: 10px;
    display: block;
   // border: 1px solid greenyellow;  
  }
  
  .projectgridright {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    grid-auto-rows: minmax(100px,auto);
    gap: 10px; /* Add spacing between columns */
    width:100%;
      
  }
  
  .projectdescgrid {
      
    display: grid;
    grid-template-columns: 1fr;/* Two equal columns */
    grid-auto-rows: minmax(100px,auto);
    gap: 0px; /* Add spacing between columns */
    //max-width: 1800px; 
    //border: 4px solid red;      
  }
  
   .projectdescgrid div {
    margin: 0,0,0,0 px;
    margin-bottom:10px;
    padding: 0px;
/*    display: block;*/
    //border: 0px solid red;
  }
  
  .projectdescgrid {
      
      }
  
   .projectdescgrid div {
    
  }
.subprojectheading {
    font-size:48pt;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    //max-width:800px;
    //border: 1px solid;
}

.subprojectdesc1 {
    font-size:16pt;
    //    padding-top:100px;
    //display: flex;
    //flex-direction: column;
    grid-column: 2;  
    grid-row: 1;  
    //display: block;
    align-items: left;
    //max-width:800px;
    margin-bottom: 20px;
    //border: 1px solid;
}

.subprojectdesc2 {
    font-size:16pt;
    //display: flex;
    //flex-direction: column;
    grid-column: 2;  
    grid-row: 1;  
    //display: block;
    align-items: left;
    //max-width:800px;
    margin-top: 20px;
    margin-bottom: 20px;
    //border: 1px solid;
}

.subprojectdesc3 {
    font-size:16pt;
    //display: flex;
    //flex-direction: column;
    grid-column: 2;  
    grid-row: 1;  
    //display: block;
    align-items: left;
    //max-width:800px;
    margin-top: 20px;
    margin-bottom: 20px;
    //border: 1px solid;
}

.subprojectdesc4 {
    font-size:16pt;
    //display: flex;
    //flex-direction: column;
    grid-column: 2;  
    grid-row: 1;  
    //display: block;
    align-items: left;
    //max-width:800px;
    margin-top: 20px;
    margin-bottom: 20px;
    //border: 1px solid;
}

.subprojectdesc5 {
    font-size:16pt;
    //display: flex;
    //flex-direction: column;
    grid-column: 2;  
    grid-row: 1;  
    //display: block;
    align-items: left;
    //max-width:800px;
    margin-top: 20px;
    margin-bottom: 20px;
    //border: 1px solid;
}
.subproject {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    width:100%;
    //border: 1px solid;
}

.subproject img {
    
    width:100%;  /* Control max width */
    height: auto;
    border-radius: 8px;
}

.subproject p {
    text-align: center;
    font-size: 1.2rem;
    margin-top: 10px;
}

  
  
  
}


/****************************************************/
/****************************************************/
/****************************************************/
/****************************************************/
/****************************************************/



/* Hide desktop content on smaller screens */
@media (max-width: 767px) {
  .desktop-content {
    display: none;
  }
  
  h2 {
    font-family: "Cormorant Garamond";
    font-size: 2rem;
    margin: 0 auto;
    text-align:center;
    font-weight:300;
    width: 75%;
}

h3 {
    font-family: "Cormorant Garamond";
    font-size: 3.5rem;
    line-height: 1.3;
    font-weight:400;
    margin: 0 auto;
    text-align:center;
    width: 50%;
}

    #content {
    width: 95%;
    border: 0px solid black;
    margin:auto;
}
    
    .project {
        flex-direction: column;  //Stack the image and text 
    }

    .project img {
        max-width: 100%;  //Full width on small screens 
    }

    #header {
/*    display:grid;
    grid-template-columns: 1fr 1fr;  Two equal columns 
    grid-auto-rows: minmax(100px,auto);*/
    background-color:activeborder;
    color: black;
    padding: 20px;
    text-align: center;
}

    section {
        padding: 10px;
        //max-width: 800px;
    }
    
    nav ul {
    list-style: none;
    padding: 0;
    display: block;
    justify-content: center;
    margin: 1rem 0 0;
    clear:both;
}

    nav li {
        display:inline;
        margin-right:10px;
    }
    
    nav ul li a {
    font-size:12pt;
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}
    footer {
    background: #ccc;
    color: black;
    text-align: left;
    font-size: 1rem;
    padding: 1rem;
    margin-top: 2rem;
}

footer img {
    
    width: 150px;
}

    .katie {
    font-family: "Cormorant Garamond";
    font-size:36pt;
    display:block;
    text-align: center;
    margin:0px;
    //max-width:800px;
    
}

.navbox {
    font-family: "Cormorant Garamond";
    display: block;
    text-align: center;
    margin-bottom: 20px;
    max-width:800px;
    
}

.homeproject {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.homeproject img {
    width:  100%;
    height: auto;
    border-radius: 8px;
}

.homeproject p {
    text-align: center;
    font-size: 1.2rem;
    margin-top: 10px;
}

    .projectgrid {
    display: grid;
    grid-template-columns: 1fr;  //One columns 
    grid-auto-rows: minmax(100px,auto);
    gap: 10px;  //Add spacing between columns 
    //max-width: 800px;
  }
  
  .projectgrid div {
    margin-left: 5px;
    padding: 5px;
    //border: 1px solid black;
  }
  
   .projectgridleft {
    border:0px;
  }
  
  .projectgridright {
    border:0px;
  }
  
   .projectdescgrid {
      
    display: grid;
    grid-template-columns: 1fr; Two equal columns 
    grid-auto-rows: minmax(100px,auto);
    gap: 0px;  Add spacing between columns 
    //max-width: 1800px; 
    //border: 4px solid red;      
  }
  
   .projectdescgrid div {
    margin: 0,0,0,0 px;
    margin-bottom:10px;
    padding: 0px;
    display:grid;
    //border: 0px solid red;
  }
  
    .subproject {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    //max-width:300px;
    //border: 1px solid red;
}


   .subproject img {
    
    max-width: 90%;   //Control max width 
    height: auto;
    margin:auto;
    border-radius: 8px;
    //border:1px solid green;
}

.subprojectdesc {
    font-size:16pt;
    display: flex;
    flex-direction: column;
    grid-column: 1;  
    grid-row: 3;
    //display: inline-block;
    align-items: left;
    width: 100%;
    margin-bottom: 20px;
    //border: 1px solid;
}

.subprojectdesc1 {
    font-size:16pt;
    //display: flex;
    //flex-direction: column;
    grid-column: 1;  
    grid-row: 3;  
    //display: block;
    align-items: left;
    //max-width:800px;
    margin-bottom: 20px;
    //border: 1px solid;
}

.subprojectdesc2 {
    font-size:16pt;
    //display: flex;
    //flex-direction: column;
    grid-column: 1;  
    grid-row: 5;  
    //display: block;
    align-items: left;
    //max-width:800px;
    margin-top: 20px;
    margin-bottom: 20px;
    //border: 1px solid;
}

.subprojectdesc3 {
    font-size:16pt;
    //display: flex;
    //flex-direction: column;
    grid-column: 1;  
    grid-row: 7;  
    //display: block;
    align-items: left;
    //:800px;
    margin-top: 20px;
    margin-bottom: 20px;
    //border: 1px solid;
}

.subprojectdesc4 {
    font-size:16pt;
    //display: flex;
    //flex-direction: column;
    grid-column: 1;  
    grid-row: 9;  
    //display: block;
    align-items: left;
    //max-width:800px;
    margin-top: 20px;
    margin-bottom: 20px;
    //border: 1px solid;
}

.subprojectdesc5 {
    font-size:16pt;
    //display: flex;
    //flex-direction: column;
    grid-column: 1;  
    grid-row: 11;  
    //display: block;
    align-items: left;
    //max-width:800px;
    margin-top: 20px;
    margin-bottom: 20px;
    //border: 1px solid;
}

.subprojectdesc6 {
    font-size:16pt;
    //display: flex;
    //flex-direction: column;
    grid-column: 1;  
    grid-row: 13;  
    //display: block;
    align-items: left;
    //max-width:800px;
    margin-top: 20px;
    margin-bottom: 20px;
    //border: 1px solid;
}

.subprojectdesc7 {
    font-size:16pt;
    //display: flex;
    //flex-direction: column;
    grid-column: 1;  
    grid-row: 15;  
    //display: block;
    align-items: left;
    //max-width:800px;
    margin-top: 20px;
    margin-bottom: 20px;
    //border: 1px solid;
}

.subprojectdesc8 {
    font-size:16pt;
    //display: flex;
    //flex-direction: column;
    grid-column: 1;  
    grid-row: 17;  
    //display: block;
    align-items: left;
    //max-width:800px;
    margin-top: 20px;
    margin-bottom: 20px;
    //border: 1px solid;
}

}
  

