section {
    margin-bottom: 2em;
}

section#about{
    display: grid;
    gap: 2em;
}

.about-container {
    border: 1px solid var(--color-red);
    border-radius: 25px;
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    justify-items: center;
    align-items: center;
}

.about-container h2, #partners h2, #contact-us h2, #sponsors h2 {
    font-size: 3em;
    color: var(--color-red);
}

@media only screen and (max-width: 550px) {
    section#about {
        gap: 1em;
    }

    section#partners,
    section#contact-us,
    section#sponsors {
        width: 90%;
    }
    
    .about-container {
        grid-template-columns: unset;
        gap: 2em;
        width: 90%;
    }

    .about-container h2, #partners h2, #contact-us h2, #sponsors h2 {
        font-size: 1.5em;
    }

    .about-container p {
        font-size: 1em;
    }

    .partners-wrapper {
        display: grid !important;
        gap: 1.5em;
        grid-template-columns: 1fr 1fr;
    }

    .form-fields-horizontal {
        display: unset !important;
    }

}

.partners-wrapper {
    padding: 16px;
    border: 1px solid var(--color-red);
    border-radius: 25px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.partners-wrapper a {
    height: fit-content;
}

.partners-wrapper a>img {
    max-width: 150px;
    object-fit: contain;
}

.about-container p {
    font-size: 1.25em;
}

.contact-form-wrapper {
    padding: 16px;
    border: 1px solid var(--color-red);
    border-radius: 25px;
}

.contact-form-wrapper form {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.coolinput {
  display: flex;
  flex-direction: column;
  width: fit-content;
  position: static;
  max-width: 440px;
  margin-bottom: 1em;
}

.coolinput label.text {
    z-index: 10;
  font-size: 1.25rem;
  color: var(--color-red);
  font-weight: 700;
  position: relative;
  top: 0.75rem;
  margin: 0 0 0 7px;
  padding: 0 3px;
  background: var(--collor-bg);
  width: fit-content;
}

.coolinput .input {
    z-index: 0;
  padding: 11px 10px;
  font-size: 1.25rem;
  border: 2px var(--color-red) solid;
  border-radius: 5px;
  background: transparent;
  color: white;
}

.coolinput .input::placeholder {
    color: hsla(0, 0%, 100%, 0.6);
}

.coolinput .input:focus {
  outline: none;
}

.coolinput textarea {
    width: auto;
    height: -webkit-fill-available;
}

.coolinput .email {
    width: 367px;
}

.input-row {
    display: flex;
    flex-direction: row;
    gap: 1em;
}

.form-fields-horizontal {
    display: flex;
    flex-direction: row;
    gap: 1em;
    justify-content: center;
}

.form-fields-vertical {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

form .success-message {
    text-align: center;
    font-size: 1.25em;
    color: green;
}

@media only screen and (max-width: 550px) {

    .coolinput .email {
        width: unset;
    }

    .coolinput {
        width: auto;
    }

}