body {
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

header {
    min-height: 75px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0px;
    white-space: nowrap;
}

.header-child1 {
    padding-left: 25px; 
    padding-top: 15px; 
}

.headerlogo {
     width: 300px;
}

.header-child2 {
    min-width: 100px;
    text-align: right;
    padding-right: 25px; 
    padding-top: 15px; 
}

#loginicon {
  padding-right: 20px;
}

#fab {
    font-size: 14px; /* Adjust icon/text size */
    align-items: center;
    text-align: center;
    width: 56px; /* Default width for FABs. */
    height: 56px; /* Default height for FABs. */
    border-radius: 10px; /*border-radius: 50%; /* Creates a circular shape. */
    z-index: 999; /* Ensures the button appears above other elements. */
    position: fixed; /* Makes the button float above other content and stay in place during scrolling. */
    bottom: 20px; /* Adjust as needed for vertical placement */
    right: 20px; /* Adjust as needed for horizontal placement */
    background-color: black; /* Button background color */
    display: flex; /* Centers content within the button */
    /*justify-content: center;*/
    cursor: pointer; /* Indicates the button is clickable */
}

#fab a{
    text-decoration: none;
    color: white;
}

#hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr)); 
}

#hgrid1 {
    display: flex;
    flex-direction: column;
    padding-top: 75px;
    padding-bottom: 75px;
    padding-left: 75px;
    padding-right: 75px;
    justify-content: center;
}

#value {
    text-align: center;
}

#value h1 {
    font-size: 2.25em;
}

#value p {
    font-size: 1.5em;
}

#heropromo {
    line-height: 1.5;
    text-align: center;
    color: slategrey;
}

#button1 {
    background-color: #2D68C4;
    color: white;
    font-size: 1em;
    border-radius: 10px;
}

#introvideo {
    color: slategray;
    text-align: center;
}

#hgrid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
    padding: 10px;
}

.hg2child {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center;     /* Centers vertically */
    text-align: center;
    color: black;
    padding: 50px;
    text-decoration: none;
    background-color: #AED0F7;
    border-radius: 10px;
}

.rotated-text {
    font-size: clamp(1.25rem, 1.5vw, 2rem);
    /* display must be inline-block or block for transform to work 
    display: inline-block; */
  
    /* Rotates the text */
    transform: rotate(-20deg);
}

.hg2child:hover {
  background-color: #7CA1DA;
}

.hg2pic {
    width: 100%;
}

nav ul {
    list-style-type: none;
    text-align: center;
}

nav li {
    display: inline;
}

nav li a {
    text-decoration: none;
    color: darkgray;
    font-size: 1.25rem;
}

nav li a:hover {
    color: black;
}

#precontainer {
    background-color: whitesmoke;
    padding-top: 10px;
    padding-bottom: 10px;
}

#precontainer h2 {
    text-align: center;
}

#pregrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#pred {
  padding-left: 50px;
  padding-right: 50px;
  line-height: 1.25;
}

.button {
    color: white;
    font-weight: bold;
    text-decoration: none;
    margin: auto;
    text-align: center;
    align-items: center;
    background-color: #325595;
    min-height: 65px;
    line-height: 65px;
    width: 300px;
    font-size: 125%;
    border-radius: 20px;
    box-shadow: 0 10px #000000, 0 70px 40px -20px rgba(0, 0, 0, 0.5);
transform: 
    perspective(750px)
    translate3d(0px, 0px, 0px)
    rotateX(27deg)
}

@media (pointer:fine) {
    .button:active {
    box-shadow: none; /* Remove the shadow */
    transform: 
        perspective(750px)
        translate3d(0px, 10px, 0px)
        rotateX(27deg)
    }
}

@media only screen and (max-width: 1000px) {
    #pregrid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "pred"
            "preparation";
    }  
}

#prepcontainer {
  padding-top: 25px;
  padding-bottom: 25px;
}

#prepcontainer h2 {
    text-align: center;
}

#prepgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#prepd {
  padding-left: 50px;
  line-height: 1.25;
}

@media only screen and (max-width: 1000px) {
    #prepgrid {
        grid-template-columns: 1fr;
    }  
}

#postcontainer {
    background-color: whitesmoke;
    padding-top: 25px;
    padding-bottom: 25px;
}

#postcontainer h2 {
    text-align: center;
}

#postgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#postd {
  padding-left: 50px;
  padding-right: 50px;
  line-height: 1.25;
}

@media only screen and (max-width: 1000px) {
    #postgrid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "postd"
            "post";
    }  
}

#essentialcontainer {
    padding-top: 25px;
    background-color: slategray;
}

#essentialcontainer h2{
  text-align: center;
}

.puzzlegrid {
  display: flex;
  align-items: center;
}

.puzzlepic {
    width: 80%;
    padding: 25px;
}

.puzzle2 {
  color:lightgray;
  margin: auto;
  padding-left: 50px;
  padding-right: 50px;
  font-size: 1.5rem;
  align-content: center;
}

#premiumbenefits h2 {
    text-align: center;
}

#premiumbenefits {
    padding: 25px;
    line-height: 1.5em;
}

.pricingcontainer {
  //background-color: lightgray;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  min-height: 200px;
}

.pflex {
  background-color: ghostwhite;
  border-radius: 10px;
  border-style: solid;
  border-width: thin;
  border-color: darkgrey;
  padding: 10px;
  text-align: center;
}

footer {
  margin-top: auto;
  padding-left: 10px;
  color: white;
  background-color: #686868;
}

#footergrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0px;
}

.twitterImage {
  width: 40px;
}

.instagramimage {
  width: 40px;
}