html {
    background-image: linear-gradient(to top, #0f3499, #aab0c0);
    height: 100%
}


body {
    background-image: url("images/WQTWithoutSlogan2400x1800_dimmed.png");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100%;

}

.container {
    width: 1224px;
    min-height: 300px;
    margin-left: auto;
    margin-right: auto;

}

h1 {
    font-family: 'Patua One', serif;
    font-size: 5.25rem;
    margin-top: 1.125rem;
    margin-bottom: 1.125rem;
    text-shadow: 2px 2px 5px rgb(9, 9, 9);
    
}
h2 {
    font-family: 'Goldman', cursive;
    font-size: 3.25rem;
    margin-top: 1.125rem;
    margin-bottom: 1.125rem;
    text-shadow: 1px 1px 3px rgb(9, 9, 9);
    
}

a {
    color: white;
    text-decoration: none;
    font-family: 'Patua One', cursive;
}

p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.9rem;
    color: rgb(17, 17, 44);
    margin-top: 1.0rem;
    margin-bottom: 1.0rem;
    text-shadow: 1px 1px 2px rgb(9, 9, 9);
}

/* ------------------- Header / Navy Section with dropdown buttons -------------- */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid lightgray;
}

header a img {
    width: auto;
    height: 150px;
    margin-left: 0px;
    background: none;
    /* To get the WQT label to fit correctly... */
}

nav {
    min-height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.navyibutton a {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.5rem;
    color: rgb(17, 17, 44);
    border-radius: 10px;
    font-weight: bold;
    height: 50px;

}

.dropdown-box {
    display: none;
/*this is the critical piece that hides the options 'til hovered.  */
    position: absolute;
    z-index: 99;
    /* z-index ensrues it shows on top, 1 or 99 works */
    padding-top: 20px;
}
.navyibutton:hover .dropdown-box { 
    display: block;
    margin-left: -20px;

}

.dropdown-box .navybutton  {
    font-family: 'Nunito Sans', sans-serif;
    width: 150px;
    background-color: white;
    text-align: center;
    padding: 10px;
    border: 1px solid lightgray;
    border-radius: 10px;
    /* this drives how the dropped boxes are set up and where the letters are placed */

}

.dropdown-box .navybutton a {
    font-family: 'Nunito Sans', sans-serif;
    color: rgb(33, 28, 28);
    
    /* color: gray; */
    /* this drives the letters inside the dropped boxes, but not much else */
   }

   .dropdown-box .navybutton:hover {
    background-color: #0f3499;
    color: white;
    transition-duration: 500ms;
   }

   .dropdown-box .navybutton a:hover {
    font-family: 'Nunito Sans', sans-serif;
    color: white;
    /* background-color: #0f3499; */
    /* text-decoration: underline; */
    transition-duration: 500ms;
    /* This drives behavior when the user hovers over a dropped box,
    which was, in turn, drawn after the parent a-tag was hovered. */
   }



.a1 {
  text-decoration: none;
  font-size: 1rem;
  background-color: transparent; /* Change to transparent for a clear fill */
  /* display: inline-block; */
  font-family: 'Nunito Sans', sans-serif;
  color: #f5edf0;
  margin-top: 10px;
  border: 1px solid #514e4e; /* Add a border with the same color as the text */
  border-radius: 0; /* Set border-radius to 0 for square corners */
  box-shadow: none; /* Remove the box-shadow */
  padding: 11px 25px;
}

/* "Email Direct" and "Contact Form" buttons */

.mybutton {
    background-color: rgba(211, 211, 211, 0.406);
    border: 1px solid #514e4e;
    padding: 10px 20px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.5rem;
    color: rgb(17, 17, 44);
    border-radius: 10px;
    font-weight: bold;
}

.navyibutton:hover .mybutton {
    background-color: #0f3499;
    color: white;
    transition-duration: 500ms;
}

/* ______________________ Items in <Main> section of Home Page _________________________ */

main {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: nowrap;
    align-items: stretch; /* Change from 'top' to 'stretch' */
    margin-bottom: 50px;
}

.herobox_wrapper {
    display: flex;
    justify-content: center; /* This centers the heroboxes horizontally */
    gap: 20px; /* Adjust the space between the heroboxes */
}

.herobox1 {
    flex: 2.7;
    background-color: rgba(211, 211, 211, 0.406);
    padding: 20px 10px;
    box-sizing: border-box;
    border-radius: 45px;
    box-shadow: 5px 5px 10px black;
}

.herobox2 {
    flex: 1.3;
    border-radius: 45px;
    box-shadow: 5px 5px 10px black;
    display: flex; /* Add display: flex */
    align-items: center; /* Add align-items: center to vertically center the image */
}

.herobox2 img {
    width: 100%;
    height: auto;
    border-radius: 45px;
    box-shadow: 5px 5px 10px black;
    max-height: 350px; /* Set a max-height for the image */
}

.chat-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center; /* This centers the wrapper's children */
    background-color: rgba(211, 211, 211, 0.406);
    padding: 20px 10px;
    box-sizing: border-box;
    border-radius: 45px;
    box-shadow: 5px 5px 10px black;
    gap: 20px; /* Adjust the space between the herobox-wrapper and chatbot-container */
}

/* ------------- cards section of Home Page ------------------------------ */
.card1, .card2, .card3, .card4 {
    padding: 15px 15px 10px 15px;
    box-sizing: border-box;
    border-radius: 12px;
    box-shadow: 5px 5px 10px black;
    min-height: 250px;
    width: 22%;
   
}

.cards {

    /* for flex to work, needs a height */
    display: flex;
    justify-content:space-between;
    text-align: center;
    
}

.card1 {
    background-image: url(images/Cards/Root/DRAGON_with_Horns.jpeg);
    background-size: cover;
    background-position: bottom;
    
}

.card2 {
    background-image: url(images/Cards/Root/darkmode_jupyer.jpg);
    background-size: cover;
    background-position: bottom;
    
}

.card3 {
    background-image: url(images/Cards/Root/3d_print_btr_dimmed.png);
    background-size: cover;
    background-position: bottom;
    
}

.card4 {
    background-image: url(images/Cards/Root/kanban_board_dimmed.png);
    background-size: cover;
    background-position: left;
    
}

.cards i {
    font-size: 60px;

}

.cards h2 {
    font-family: 'Goldman', cursive;
    color: white;
    text-decoration: none;
    font-size: 2.0rem;
    text-shadow: 1px 1px 3px rgb(9, 9, 9);

}

.cards h2:hover {
    color: #0f3499;
    transition-duration: 500ms;
}

.cards i:hover {
    color: #0f3499;
    transition-duration: 500ms;
}

.cards a {
    color: white;
    text-decoration: none;
}

.cards a:hover {
    color: #0f3499;
    transition-duration: 500ms;
}

.cards a p {
    color: white;
    text-decoration: none;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.25rem;
    text-shadow: 1px 1px 2px rgb(9, 9, 9);

}

.cards a p:hover {
    color: #0f3499;
    transition-duration: 500ms;
}

/* --------- adjustments to .card3 due to image color ---------- */
.cards .card3 h2 {
    font-family: 'Goldman', cursive;
    color: black;
    text-decoration: none;
    font-size: 2.0rem;
    text-shadow: 1px 1px 3px rgb(9, 9, 9);

}

.cards .card3 h2:hover {
    color: #0f3499;
    text-decoration: underline;
    transition-duration: 500ms;
}

.cards .card3 a p {
    color: black;
    text-decoration: none;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.25rem;
    text-shadow: 1px 1px 2px rgb(9, 9, 9);

}

.cards .card3 a p:hover {
    color: #0f3499;
    text-decoration: underline;
    transition-duration: 500ms;
    
}

/* --------- adjustments to .card4 due to image color ---------- */
.cards .card4 h2 {
    font-family: 'Goldman', cursive;
    color: black;
    text-decoration: none;
    font-size: 2.0rem;
    text-shadow: 1px 1px 3px rgb(9, 9, 9);

}

.cards .card4 h2:hover {
    color: #0f3499;
    text-decoration: underline;
    transition-duration: 500ms;
}

.cards .card4 a p {
    color: black;
    text-decoration: none;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.25rem;
    text-shadow: 1px 1px 2px rgb(9, 9, 9);

}

.cards .card4 a p:hover {
    color: #0f3499;
    text-decoration: underline;
    transition-duration: 500ms;
    
}

.cards .card4 i {
    font-size: 60px;
    color: black;

}

.cards .card4 i:hover {
    color: #0f3499;
    transition-duration: 500ms;
}

/* ------------- footer section of Home Page ------------------------------ */
footer {
    margin-top: 50px;
    /* background-image: url(images/Cards/Root/footer_test/barchart_3.png);
    background-size: cover;
    background-position: top; */
    background-color: rgba(211, 211, 211, 0.2);
    padding: 20px 10px;
    box-sizing: border-box;
    border-radius: 45px;
    box-shadow: 5px 5px 10px black;

}

.footer_container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: stretch;
}

.footer_info {
    align-self: flex-start;
    width: 60%;
    text-align: left;

}

.footer_contact {
    align-self: flex-end;
    width: 40%;
    text-align: right;
    margin-bottom: 20px;
}

.footer_container i {
    display: inline-block;
    font-size: 1.5rem;
    color: rgb(198, 193, 193);
    margin: 0px 10px;
}
.footer_container p {

    font-size: 1.25rem;
    color: rgb(198, 193, 193);
    /* margin: 0px 10px; */
    line-height: normal;
    
}

.footer_contact span {
    display: inline-block;
    font-size: 1.5rem;
    color: rgb(198, 193, 193);
    margin: 0px 10px;
}

.footer_container h2 {
    font-family: 'Goldman', cursive;
    color: rgb(221, 211, 211);
    text-decoration: none;
    font-size: 2.0rem;
    text-shadow: 1px 1px 3px rgb(9, 9, 9);
    margin: 0px 10px;
}

.footer_container a {
    line-height: 2.0rem;
    font-size: 1.25rem;
    font-family: "Nunito Sans", sans-serif;
    color: rgb(198, 193, 193)
}