body{
    padding-left: 20px;
    padding-right: 20px;
    background-color: rgb(248, 252, 255);
}

img {
    padding: 1rem;
}

p, h3{
    font-family: "Roboto Mono", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
}

h1, h2, a{
    font-family: "Pixelify Sans", serif;
    font-optical-sizing: auto;
    font-weight: 400px;
    font-style: normal;
}

header a{
    padding: 1rem;
    color: gray;
    text-align: center;
    font-size: 20px;
    text-decoration: none;
}

header a:hover {
    color: black;
}

header a.active {
    color: lightblue;
}

.logoblurb img{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.logoblurb h1{
    text-align: center;
    font-size: 50px;
    margin: 0;
    padding-bottom: 2rem;
}

.sendMessage {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto;
}

.sendMessage {
    grid-area: sendMessage;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto;
}

form {
    background-color: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

form .form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

form .form-row input[type="email"],
form .form-row input[type="text"] {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
}

form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    resize: none;
    min-height: 150px;
    max-height: 300px;
    margin-bottom: 1rem;
    box-sizing: border-box;
}

form button {
    background-color: lightblue;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto;
    display: block;
    margin: 1rem auto 0;
}

form button:hover {
    background-color: rgb(97, 177, 203);
}

form input::placeholder,
form textarea::placeholder {
    color: #999;
    font-style: italic;
}

.socials{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    text-align: center;
}

.socials h2{
    font-size: 24px;
    margin: 0;
}

.icons{
    display: flex;
    gap: 5rem;
    justify-content: center;
    align-items: center;
}

.icons img{
    width: 50px;
    height: 50px;
    object-fit: contain;
}

#FooterText {
    flex: 1 1 auto;
}

#FooterAlignment {
    display: flex;
    flex-wrap: none;
}

#FooterAlignment p{
    align-content: end;
    margin-bottom: 0;
}

footer img{
    width: 100%;
    height: 100%;
    padding: 0;
}

footer a{
    float: right;
    height: 50px;
    align-self: end;
    margin: 0 1rem;
}

#wrapper{
    display: grid;
    height: 100vh;
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "header"
                         "logoBlurb"
                         "sendMessage"
                         "socials"
                         "footer";
}

@media (max-width: 768px) {
    form .formRow {
        flex-direction: column;
    }

    form button {
        text-align: center;
    }

    .socials {
        flex-direction: column;
        gap: 0.5rem;
    }

    .socials img {
        width: 40px;
        height: 40px;
    }
}

header{
    grid-area: header;
    text-align: right;
    padding: 1rem;
    padding: 0, 2rem;
}

.logoblurb{
    grid-area: logoBlurb;
}

.sendMessage{
    grid-area: sendMessage;
}

.socials{
    grid-area: socials;
}

footer{
    grid-area: footer;
    padding: 1rem;
}

