body{
    margin: 0;
    padding: 0;
    font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif;
    background-color: #f0f0f0;  
}

nav ul {
    padding: 1rem;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 40rem;
    background-color: white;
    font-size: 18px;
}

img{
    height: 7rem;
    width: 7rem;
    border-radius: 0;
}

#nav-links{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

#index-tag{
    color: blue;
}

#index-tag:hover{
    color: rgb(76, 76, 222);
}

nav ul li{
    list-style: none;
    
}

nav ul li a{
    text-decoration: none;
    color: black;
}

nav ul li a:hover{
    color: grey;
}

#contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

#contact-section tr td {
    text-align: center;
    width: 25rem;
    padding: 4rem;
}

#contact-section tr td div {
    gap: 3rem;
}

#contact-section tr td div img {
    height: 10rem;
    width: 10rem;
    border-radius: 0;
}

#contact-section tr td form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact-section tr td form #name-email-container {
    gap: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#contact-section tr td form #message-box {
    height: 1rem;
    padding: 1rem;
    width: 92%;
    background: white;
    border: 0;
}

#contact-section tr td form input {
    height: 1rem;
    padding: 1rem;
    width: 10rem;
    background-color: white;
    border: 0;
}

#contact-section tr td form button {
    height: 2rem;
    width: 10rem;
    background-color: lightblue;
    color: white;
    border-style: none;
    cursor: pointer;
}


footer{
    background-color: black;
    display: flex;
    color: white;
    text-align: center;
    padding: 2rem;
    justify-content: center;
    gap: .25rem;
}


@media (max-width: 1180px) {
    body{
        width: auto;
    }

    header {
        justify-content: center;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    #nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    #contact-section table tr{
        display: flex;
        flex-direction: column;
        align-items: center;    
        justify-content: center;
    }

    #contact-section tr td {
        width: 100%;
        padding: 2rem;
    }

    #contact-section tr td form input {
        width: 100%;
    }
    #contact-section tr td form #message-box{
        width: auto;
    }

    footer {
        flex-direction: column;
        gap: 0;
    }
}