*{
    padding: 0;
    margin: 0;
}
section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
    margin: 1rem 15rem 0 15rem;
}

.headline {
    display: none;
}

#contact {
    background-color: rgb(109, 109, 109);
    color: white;
    padding: 5px;
    border-radius: 3px;
}
.sectiontext p{
    font-weight: 500;
}
.alert {
    text-align: center;
    padding: 5px;
    background-color: #79c879;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 10px;
    display: none;
}

#contact-form {
    padding: 2rem 2rem 2rem 2rem;
    margin: 2rem 2rem 2rem 0;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background-color: rgba(255, 255, 255, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: nowrap;
}

form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.personInfo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem 4rem;

}

input {
    margin: 0.8rem 0rem 0.8rem 0rem;
    width: 100%;
    height: 1.5rem;
    border: none;
    border: 0.1px solid rgb(114, 108, 238);
    border-radius: 4px;
}

#massage {
    width: 100%;
    height: 5rem;
    margin: 0.8rem 0rem 0.8rem 0rem;
    border: 0.1px solid rgb(114, 108, 238);
    border-radius: 4px;

}

#btn {
    width: 5rem;
    height: 2rem;
    background-color: rgb(248, 224, 70);
    border: none;
    margin-top: 1rem;
    border-radius: 4px;
    cursor: pointer;

}

h3 {
    font-family: 'Roboto', sans-serif;
    color: rgb(21, 21, 21);
}

p {
    margin-top: -0.8rem;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: rgb(64, 64, 64);
}

#contact-info {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}
.info p {
    margin-top: 1rem;
    font-family: 'Roboto', sans-serif;
}

#social {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 2.5rem;
}
#social h3 {
    margin-bottom: 1rem;
}
#social-icons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

#social-icons img {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 0.9rem 0 0;
    transition: transform 0.2s ease-in-out 0.1s;

}

#social-icons img:hover {
    transform: scale(1.08);
}

#social-icons a::after {
    display: none;
}

:hover:after {
    display: none;
}

textarea {
    resize: none
}

/* tab design */
@media(max-width: 64rem) {
    body {
        overflow: auto;
    }
    
    .alert {
        text-align: center;
        padding: 2.5px;
        background-color: #79c879;
        color: #fff;
        font-family: 'Roboto', sans-serif;
        margin-bottom: 6px;
        display: none;
    }

    section {
        font-family: 'Roboto', sans-serif;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-wrap: nowrap;
        margin: 1rem 8rem 0 8rem;
    }
    .sectiontext{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        
    }
    
    .sectiontext p{
        
        margin-top: 0.5rem;
    }

    #contact {
        background-color: rgb(109, 109, 109);
        color: white;
        padding: 1.2px;
        border-radius: 2px;
    }

    #contact-info {
        align-items: center;
        margin-top: 1rem;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 0.5rem 1rem;
    }

    #social h3 {
        margin-top: -4.5rem;

    }
}

/* tab design */
@media(max-width: 30rem) {
    body {
        overflow: auto;
    }

    .headline {
        display: block;
        font-family: 'Roboto', sans-serif;
        font-size: 1rem;
        text-align: center;
        font-weight: 500;
        margin-top: -1.2rem;
    }

    .alert {
        text-align: center;
        padding: 1px;
        background-color: #79c879;
        color: #fff;
        font-family: 'Roboto', sans-serif;
        margin-bottom: 3px;
        display: none;
    }

    section {
        font-family: 'Roboto', sans-serif;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-wrap: nowrap;
        margin: 1rem 2rem 0 2rem;
    }

    .sectiontext {
        display: none;
    }

    #contact-form {
        margin: 0 auto 0 auto;
        padding: 1rem;
    }

    input {
        width: 100%;
        height: 1rem;
    }

    #contact-info {
        text-align: center;
        margin-top: 0.5rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-wrap: nowrap;
    }


    #social h3 {
        margin-top: -2rem;

    }
    #contact {
        background-color: transparent;
        
      }
}