@import "reset.css";

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

.header {
    background-color: #0a0a2a;
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before,
.zodiac-sign::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(white, rgba(255, 255, 255, .2) 2px, transparent 40px),
        radial-gradient(white, rgba(255, 255, 255, .15) 1px, transparent 30px),
        radial-gradient(white, rgba(255, 255, 255, .1) 2px, transparent 40px),
        radial-gradient(rgba(255, 255, 255, .4), rgba(255, 255, 255, .1) 2px, transparent 30px);
    background-size: 550px 550px, 350px 350px, 250px 250px, 150px 150px;
    background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
    animation: backgroundScroll 60s linear infinite;
    pointer-events: none;
}

@keyframes backgroundScroll {
    0% {
        background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
    }

    100% {
        background-position: 550px 550px, 390px 410px, 380px 820px, 220px 650px;
    }
}

.header h1 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 2em;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.header p {
    position: relative;
    z-index: 1;
    font-size: 0.9em;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 120px);
    background-color: #ffffff;
}

.column {
    padding: 15px;
}

.content {
    flex: 1;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
}

.ads {
    width: 100%;
    background-color: #ffffff;
    border-left: none;

    p {
        margin: 0 0 10px 0;
    }
}

.zodiac-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.zodiac-sign {
    width: 100%;
    height: 40px;
    /* height: 70px; */
    padding: 5px;
    background-color: #0a0a2a;
    color: white;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    font-size: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.zodiac-sign:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.zodiac-icon {
    font-size: 20px;
    margin-bottom: 3px;
    position: relative;
    z-index: 1;
}

.zodiac-sign span {
    position: relative;
    z-index: 1;
}

.horoscope {
    font-size: 16px;
    line-height: 1.5;
}

.full-width {
    grid-column: span 2;
}

@media (min-width: 768px) {
    .header {
        padding: 40px 20px;
    }

    .header h1 {
        font-size: 2.5em;
    }

    .header p {
        font-size: 1em;
    }

    .container {
        flex-direction: row;
        min-height: calc(100vh - 160px);
    }

    .column {
        padding: 20px;
    }

    .content {
        border-right: 1px solid #e0e0e0;
        border-bottom: none;
    }

    .ads {
        width: 300px;
        border-left: 1px solid #e0e0e0;
    }

    .zodiac-selector {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .zodiac-sign {
        height: 80px;
        padding: 10px;
        font-size: 14px;
    }

    .zodiac-icon {
        font-size: 24px;
        margin-bottom: 5px;
    }

    .horoscope {
        font-size: 18px;
        line-height: 1.6;
    }
}