@import "css/global.css";

/*Header*/
#header {
    background: url("../../images/header-background.jpg") no-repeat fixed center;
    min-width: 100%;
    min-height: 400px;
    height: 30vh;
    background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
    z-index: 0;
    display: flex;
    align-items: center;
}

#header .content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 150px;
    width: 100%;
}

#header .content .info {
    display: flex;
    flex-direction: column;
}

#header .content .info .minecraft-server-ip {
    color: var(--white-color);
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
}

#header .content .info .title {
    color: var(--white-color);
    text-transform: uppercase;
    font-size: 65px;
    font-weight: 900;
}

#header .content .info .title span {
    color: var(--main-color);
}

#header .content .description {
    color: var(--description-color);
    font-size: 18px;
    font-weight: 400;
    max-width: 700px;
    line-height: 1.6;
}

/*Support*/
#support .content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

#support .content .section-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--white-color);
    position: relative;
}

#support .content .section-title::before {
    content: "";
    position: absolute;
    bottom: -9px;
    left: 0;
    width: 150px;
    height: 1px;
    border-radius: 5px;
    background: var(--description-color);
}

#support .content .section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    border-radius: 5px;
    background: var(--main-color);
}

#support .content .columns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 100px;
}

#support .content .columns .support-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 2;
}

#support .content .columns .support-form .row {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

#support .content .columns .support-form .row label {
    color: var(--description-color);
    font-size: 15px;
    line-height: 1.6;
}

.row input,
.row select {
    background: var(--stats-background);
    border: none;
    padding: 20px 25px;
    font-size: 17px;
    color: var(--white-color);
    outline: none;
    border-radius: 5px;
    transition: 0.2s;
}

.row select {
    cursor: pointer;
}

.row textarea {
    background: var(--stats-background);
    padding: 15px 20px;
    font-size: 15px;
    outline: none;
    line-height: 1.6;
    border-radius: 5px;
    color: var(--white-color);
    font-family: var(--main-font);
    border: none;
    transition: 0.2s;
    resize: vertical;
    overflow-y: auto;
    min-height: 200px;
    max-height: 350px;
    min-width: 100px;
    justify-content: center;
}

.row input:focus, .row textarea:focus, .row select:focus,
.row input:hover, .row textarea:hover, .row select:hover {
    background: var(--how-to-join-button-background);
}

#support .content .columns .support-form .form-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
}

#support .content .columns .support-form .form-footer button {
    background: var(--copy-ip-button-background);
    border: 2px solid var(--main-color);
    border-radius: 3px;
    padding: 10px 30px;
    color: var(--white-color);
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    gap: 10px;
}

#support .content .columns .support-form .form-footer button:hover {
    opacity: 0.8;
}

/*Alert*/
.support-alert {
    color: var(--description-color);
    font-size: 15px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(5px);
    transition: 0.2s;
}

.support-alert.active {
    opacity: 1;
    transform: translateY(0px);
}

.support-alert.success {
    color: var(--green-color);
}

.support-alert.error {
    color: var(--red-color);
}

/*Responsive*/
@media screen and (max-width: 1100px) {
    #support .content .columns {
        flex-direction: column;
        gap: 40px;
    }
}

@media screen and (max-width: 600px) {
    #header .content {
        padding: 120px 25px;
    }

    #header .content .info .title {
        font-size: 45px;
        text-align: center;
    }
}
