@import "./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: 30px;
    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;
}

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

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

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

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

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

/* Application Info Styles */
#contacts .content .columns .application-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 2;
}

#contacts .content .columns .application-info .info-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 10px;
}

#contacts .content .columns .application-info .info-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contacts .content .columns .application-info .description {
    color: var(--description-color);
    font-size: 16px;
    line-height: 1.6;
}

#contacts .content .columns .application-info .features-list {
    margin-left: 20px;
    color: var(--description-color);
    font-size: 16px;
    line-height: 1.8;
}

#contacts .content .columns .application-info .features-list li {
    margin-bottom: 8px;
    position: relative;
}

#contacts .content .columns .application-info .features-list li::before {
    content: "•";
    color: var(--main-color);
    font-weight: bold;
    position: absolute;
    left: -15px;
}

/* Discord Link Styles */
#contacts .content .columns .url {
    text-decoration: none;
    height: fit-content;
    flex: 1;
}

#contacts .content .columns .url .link {
    background: var(--stats-background);
    border-radius: 10px;
    padding: 30px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 2px solid transparent;
}

#contacts .content .columns .url .link:hover {
    border-color: var(--main-color);
    transform: translateY(-5px);
}

#contacts .content .columns .url .link h5 {
    color: var(--white-color);
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

#contacts .content .columns .url .link .link-description {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

#contacts .content .columns .url .link .link-description .description {
    color: var(--description-color);
    font-size: 16px;
    line-height: 1.6;
    flex: 1;
}

#contacts .content .columns .url .link .link-description .icon {
    border-radius: 5px;
    background: var(--stat-icon-background-2);
    padding: 15px;
    transition: 0.3s;
    min-width: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#contacts .content .columns .url .link .link-description .icon i {
    font-size: 30px;
    color: var(--main-color);
}

#contacts .content .columns .url:hover .link .link-description .icon {
    transform: scale(1.1);
    background: var(--main-color);
}

#contacts .content .columns .url:hover .link .link-description .icon i {
    color: var(--white-color);
}

/*Footer*/
#footer {
    background: var(--stats-background);
}

/*Responsive*/
@media screen and (max-width: 1200px) {
    #contacts .content .columns {
        gap: 50px;
    }
}

@media screen and (max-width: 900px) {
    #contacts .content .columns {
        flex-direction: column;
        gap: 40px;
    }
    
    #contacts .content .columns .application-info {
        flex: 1;
    }
    
    #contacts .content .columns .url {
        flex: 1;
    }
}

@media screen and (max-width: 819px) {
    #header .content {
        padding: 150px 30px;
    }

    #header .content .info .minecraft-server-ip {
        font-size: 15px;
    }

    #header .content .info .title {
        font-size: 40px;
    }

    #header .content .description {
        font-size: 16px;
    }
}

@media screen and (max-width: 530px) {
    #header .content {
        justify-content: start;
        align-items: start;
    }

    #header .content .info .title {
        font-size: 30px;
    }
    
    #contacts .content .columns .application-info .info-title {
        font-size: 20px;
    }
    
    #contacts .content .columns .url .link h5 {
        font-size: 18px;
    }
    
    #contacts .content .columns .url .link .link-description {
        flex-direction: column;
        text-align: center;
    }
}