@import url(css.css);

/* ===== Main Body ===== */
#main-body {
    display: flex;
    justify-content: space-evenly;
    padding: 3%;
    flex-wrap: wrap; /* allows stacking on smaller screens */
}

/* Sections */
.section1,
.section2 {
    display: inline-block;
    vertical-align: middle;
}

.section1 {
    width: 60%;
}

.section2 {
    width: 35%; /* optional, adjust to fit layout */
}

/* Form */
form {
    text-align: left;
    width: 100%;
}

label,
input {
    font-size: 20px;
    display: block;
    padding-block: 5px;
}

input {
    border: none;
    background-color: transparent;
    outline: none;
}

/* Divider */
hr {
    margin-block: 20px;
    opacity: 50%;
    color: gainsboro;
}

/* Button */
.div-button {
    text-align: center;
    width: 80%;
    margin: auto;
}

button {
    background-color: darkorchid;
    width: 100px;
    height: 100px;
    border-radius: 200px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

button:hover {
    transform: scale(1.1);
}

/* Table */
table {
    text-align: left;
    width: 100%;
    border-collapse: collapse;
}

table td, table th {
    padding: 8px;
}

/* Icons */
.fa {
    color: #734F96;
    font-size: 36px;
    display: inline-block;
    vertical-align: middle;
}

.contact-text {
    display: inline-block;
    vertical-align: middle;
    color: #231730;
    text-decoration: none;
}

.div-contact-text {
    padding: 10px;
}

h3 {
    text-align: left;
    padding-top: 0px;
    margin-top: 0px;
}

/* Social Links */
.social-link {
    text-align: left;
    color: #231730;
    font-size: 18px;
    text-decoration: none;
    padding-block: 5px;
    display: block;
}

.social-link:hover {
    text-decoration: underline;
    transition: ease-in-out 0.15s;
    font-size: 20px;
    padding-top: 0px;
    padding-bottom: 5px;
}

.socials {
    padding-block: 20px;
}


textarea{border: none; 
    background-color: transparent;
    resize: none;
    border-color: transparent;
    outline: none;
    font-size: 19px;
    font-family: Arial, Helvetica, sans-serif; 
}

/* ===== Responsive Media Queries ===== */
@media screen and (max-width: 1024px) {
    #main-body {
        flex-direction: column; /* stack sections */
        align-items: center;
    }

    .section1,
    .section2 {
        width: 90%;
        text-align: center;
        margin-bottom: 20px;
    }

    .div-button {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    label,
    input {
        font-size: 18px;
    }

    .social-link {
        font-size: 16px;
    }

    .fa {
        font-size: 30px;
    }

    button {
        width: 80px;
        height: 80px;
    }
}

@media screen and (max-width: 480px) {
    label,
    input {
        font-size: 16px;
    }

    .social-link {
        font-size: 14px;
    }

    .fa {
        font-size: 24px;
    }

    button {
        width: 60px;
        height: 60px;
    }
}