@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,300;0,400;0,500;0,600;1,200;1,300;1,400;1,500;1,600&display=swap');
:root {
    /* colors */
    --main-color: #f0401b;
    --second-color: #ff6508;
    /* neutral colors */
    --white-color: #fff;
    --light-color: #e6e6e6;
    --gray-color: #999999;
    --dark-color: #333;
    --hard-dark-color: #000;
    /* other colors */
    --whats-color: #00f078;
    --facebook-color: #1877F2;
    --twitter-color: #1DA1F2;
    --pinterest-color: #BD081C;
    --linkedin-color: #0A66C2;
    --link-color: #34465D;
    --whats-second-color: #128C7E;
    --whats-hover-color: #1b6c43;
    --box-shadow-1: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
    --box-shadow-2: rgba(0, 0, 0, 0.16) 0px 1px 4px, rgb(51, 51, 51) 0px 0px 0px 3px;
    --box-shadow-3: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    --box-shadow-4: rgba(255, 42, 4, 0.584) 0px 8px 24px;
    --montserrat: 'Montserrat', sans-serif;
}

.show-more {
    font-size: 1rem;
    color: var(--hard-dark-color);
}

.show-more:hover {
    color: var(--main-color);
}

.events-grid-card * {
    font-family: var(--montserrat);
}

.events-grid-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 2rem;
}


/* events-grid-card */

.events-grid-card {
    display: grid;
    grid-template-columns: 20% auto;
    grid-gap: 2rem;
    margin: 20px 0;
    padding: 20px;
    transition: .3s ease-in-out;
}

.events-grid-card:hover {
    box-shadow: var(--box-shadow-3);
    transform: translateY(-10px);
}

.events-grid-card:hover .title-head span {
    color: var(--second-color);
}

.img-card img {
    width: 100%;
    border-radius: 10px;
}

.container-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 5px 0;
}

.flex-header-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.title-head span {
    font-size: 1.2rem;
    color: var(--hard-dark-color);
    font-weight: 600;
    text-transform: uppercase;
}

.dates-head {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.dates-head a {
    font-weight: 400;
    color: var(--second-color);
}

.dates-head i {
    color: var(--second-color);
    padding-right: 10px;
}

.datetime-head {
    position: relative;
    top: -15%;
    background-color: var(--main-color);
    padding: 10px;
    border-radius: 15px;
    box-shadow: var(--box-shadow-4);
}

.datetime-head div {
    color: var(--white-color);
    text-align: center;
}

.month-head {
    font-size: 1rem;
    font-weight: 500;
}

.day-head {
    font-size: 2rem;
    font-weight: 500;
}

.buttons-content a {
    color: var(--main-color);
    font-size: 1rem;
}

.flex-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.flex-bottom div {
    bottom: 0;
}

.price {
    color: var(--main-color);
    border-radius: 10px;
    font-weight: 600;
}


/* xs */

@media (max-width: 480px) {
    .events-grid-card {
        grid-template-columns: 100%;
    }
    .datetime-head {
        display: flex;
        flex-direction: row;
        justify-content: center;
        position: relative;
        top: 0;
        background-color: var(--main-color);
        padding: 5px;
        border-radius: 5px;
        box-shadow: none;
    }
    .title-head span {
        font-size: 14px;
        color: var(--hard-dark-color);
        font-weight: 600;
        text-transform: uppercase;
    }
    .flex-header-container {
        display: flex;
        flex-direction: column;
    }
    .flex-header-container .flex-head {
        order: 2;
    }
    .flex-header-container .datetime-head {
        order: 1;
    }
    .month-head {
        font-size: .8rem;
        font-weight: 500;
        padding: 0 5px;
    }
    .day-head {
        font-size: .8rem;
        font-weight: 500;
    }
    .dates-head i {
        font-size: 10px;
    }
}