body {
    font-family: "Inter";
}

h1 {
    font-family: "Inter";
    font-weight: bold;
}

.header {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    padding: 20px;
    background-color: #e3e3e3; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    box-sizing: border-box;
    justify-content: space-between;
}

.header .name-container {
    display: flex;
    flex-direction: column; 
    margin-left: 10px; 
}

.header .name {
    font-size: 24px;
    font-weight: bold;
    color: #333;    
}

.header .tagline {
    font-size: 14px;
    color: #666; 
    margin-top: 1px; 
}

.header .logo-container {
    display: flex;
    align-items: center;
    margin-right: 10px; 
}

.header img {
    width: 150px;
    height: auto;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column; /* Stack items vertically */
        padding: 10px;
    }

    .header .logo-container {
        order: -1; /* Move logo above the text */
        margin-bottom: 10px; /* Add space between logo and text */
    }

    .header .name-container {
        text-align: center; /* Center-align text */
    }

    .header img {
        width: 120px; /* Adjust logo size */
    }

    .header .name {
        font-size: 20px; /* Adjust font size */
    }

    .header .tagline {
        font-size: 12px; /* Adjust tagline font size */
    }
}

.content-box {
    justify-content: space-between; 
    align-items: center; 
    padding: 20px;
    background-color: #f4f4f4; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    box-sizing: border-box;
}

.scontent-box {
    width: 47%;
    float: left;
    padding: 20px;
    background-color: #f4f4f4; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    box-sizing: border-box;
    margin: 20px;
}

.grid {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto auto auto;
    padding: 10px;
  }

.grid > div {
    background-color: #f1f1f1;
    padding: 10px;
    margin: 5px;
    text-align: center;
  }

/* button 9 from https://getcssscan.com/css-buttons-examples */

.button {
    appearance: button;
    backface-visibility: hidden;
    background-color: #405cf5;
    border-radius: 6px;
    border-width: 0;
    box-shadow: rgba(50, 50, 93, .1) 0 0 0 1px inset,rgba(50, 50, 93, .1) 0 2px 5px 0,rgba(0, 0, 0, .07) 0 1px 1px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    font-family: -apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Ubuntu,sans-serif;
    font-size: 100%;
    height: 44px;
    line-height: 1.15;
    margin: 12px 0 0;
    outline: none;
    overflow: hidden;
    padding: 0 25px;
    position: relative;
    text-align: center;
    text-transform: none;
    transform: translateZ(0);
    transition: all .2s,box-shadow .08s ease-in;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: 100%;
    white-space: normal;
    word-wrap: break-word; 
  }
  
  .button:disabled {
    cursor: default;
  }
  
  .button:focus {
    box-shadow: rgba(50, 50, 93, .1) 0 0 0 1px inset, rgba(50, 50, 93, .2) 0 6px 15px 0, rgba(0, 0, 0, .1) 0 2px 2px 0, rgba(50, 151, 211, .3) 0 0 0 4px;
  }

.footer {
    margin-top: auto;
    height: 50px;
    width: 100%;
    background-color: #e3e3e3;
    text-align: center;
    text-anchor: middle;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on medium screens */
    }

    .scontent-box {
        width: 100%; /* Full width on small screens */
        margin: 10px 0;
    }

    .button {
        padding: 10px;
        width: 100%; /* Full width on mobile */
    }
}

@media (max-width: 480px) {
    .grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on small screens */
    }

    .button {
        padding: 15px;
        font-size: 16px; /* Adjust font size */
    }

    .footer {
        height: 40px;
    }
}
