/* import the font-family */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

/* general rules */
body {
    font-family: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    padding: 1rem 2rem;
}

/* headerBox styles section */
.headerBox {
    display: flex;
    background-color: #1f2937;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 2rem;
}

.headerLogo {
    color: #f9faf8;
    font-size: 24px;
}

.navList {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.headerLink {
    color: #e5e7eb;
    font-size: 18px;
    text-decoration: none;
}

.headerLink:hover {
    color: #3882F6;
    font-size: 18px;
    text-decoration: none;
}
/* heroBox styles section */
.heroBox {
    display: flex;
    flex-direction: column;
    background-color: #1f2937;
    align-items: center;
    padding: 4rem 2rem;
    gap: 2rem;
}

.awesome-container {
    text-align: center;
}

.images {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: gray;
    width: 100%;
    max-width: 600px;
    height: auto;
    padding: 2rem;
    color: #f9faf8;
}

.text-hero {
    font-size: 32px;
    font-weight: bold;
    color: #f9faf8;
}

.text-hero-02 {
    color: #e5e7eb;
    font-size: 16px;
    padding: 1rem 0;
}

.hero-button {
    background-color: #3882F6;
    color: #f9faf8;
    padding: 0.5rem 2rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

/* randomBox styles section */
.randomBox {
    padding: 4rem 2rem;
    text-align: center;
}

.random-info-text {
    font-size: 28px;
    margin-bottom: 2rem;
}

.random-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.random-img {
    border: 4px solid #3882F6;
    border-radius: 6px;
    padding: 1rem;
}

.random-p {
    padding: 0.5rem 0;
}

/* quoteBox styles section */
.quoteBox {
    background-color: #e5e7eb;
    padding: 4rem 2rem;
    text-align: center;
}

.quote-text {
    font-size: 24px;
    color: #1F2937;
    font-weight: lighter;
    font-style: italic;
}

.quote-author {
    text-align: right;
    margin-top: 1rem;
}

/* actionBox styles section */
.actionBox {
    padding: 4rem 2rem;
}

.sub-actionBox {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #3882f6;
    border-radius: 6px;
    color: #f9faf8;
    padding: 2rem;
    text-align: center;
}

.action-text {
    margin-bottom: 1rem;
}

.action-button {
    background-color: #3882F6;
    color: #f9faf8;
    border-radius: 6px;
    padding: 0.5rem 2rem;
    border: 2px solid white;
    cursor: pointer;
}

/* footerBox styles section */
.footerBox {
    background-color: #1f2937;
    color: #f9faf8;
    text-align: center;
    padding: 1rem 0;
}

/* Media Queries for responsiveness */
@media (min-width: 768px) {
    .heroBox {
        flex-direction: row;
    }

    .sub-actionBox {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .random-info-text {
        font-size: 32px;
    }
}

@media (max-width: 320px) {
    .headerLogo{
        display: flex;
        justify-content: center;
        width: 100vw;
    }

    .navList{
        display: flex;
        justify-content: center;
        width: 100vw;
    }

    .heroBox{
        padding: 2rem 2rem;
    }
}