/* CSS by Pedro Kineipe */

#about-page{
    width: 100%;
    height: 100%;
}

/* CDM */

#about-us{
    min-height: 100vh;
    padding-top: 70px;
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/assets/img/backgrounds/darkbackground.jpg');
    background-size: 100% 100%;
    background-blend-mode: darken;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
#about-us-img{
    width: 42%;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}
#about-us-img img{
    width: auto;
    height: 40%;
}
#about-us-content{
    width: 60%;
    height: 100%;
    padding: 0 15%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    flex-grow: 1;
    text-align: center;
}
#about-us-content .container-title-2{
    margin: 15px 0;
}
#bouncing-arrow{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: var(--main);
    font-size: 2.5rem;
    font-weight: bold;
    animation: bounce 0.5s ease-in-out;
    animation-direction: alternate;
    animation-iteration-count: infinite;
}
@keyframes bounce{
    from{
        bottom: 80px;
    } 
    to {
        bottom: 30px;
    }
}

/* Coffee */

#coffee{
    min-height: 60vh;
    background-color: var(--background);
    overflow: hidden;
}
.coffee-img{
    width: 100%;
    height: auto;
    position: relative;
    display: inline-block;
}
#coffee-background{
    width: 100%;
    height: auto;
}
#coffee-logos{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    z-index: 1;
}
#coffee-logos img{
    width: 200px;
    height: 200px;
}
#coffee-logos .container-title-2{
    margin-top: 18px;
    font-size: 2rem;
}
.coffee-img::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300%;
    background: linear-gradient(to bottom, rgba(var(--background-rgb), .5) 0%, rgba(var(--background-rgb), 2) 100%);
}
.newspaper{
    margin-bottom: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.newspaper p{
    width: 30%;
    text-align: justify;
}

/* Classics */

#classics{
    min-height: 80vh;
    background-color: var(--background-dark);
}
.carousel-2{
    width: 525px;
    height: auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.carousel-2-scroll{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    padding: 5px 6px;
    color: var(--text);
    background-color: var(--background-dark);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: .3s ease-in-out;
}
.carousel-2-scroll:disabled{
    visibility: hidden;
    opacity: 0;
}
#left-scroll-2{
    left: -32px;
}
#right-scroll-2{
    right: -32px;
}
#carousel-2-images{
    border-radius: 5px;
    overflow: hidden;
    width: auto;
    height: 300px;
    display: grid;
    grid-auto-flow: column;
}
.carousel-2-img{
    width: 525px;
    height: 80%;
}
.carousel-2-img img{
    width: 100%;
    height: 300px;
}

/* Services */

#services{
    min-height: 70vh;
    background-color: var(--background-bright);
    color: var(--text);
}
#services-cards{
    gap: 20px 0;
}
.card-2{
    width: 32%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}
.card-2 .bi{
    color: var(--main);
    font-size: 1.8rem;
}
.card-2-title{
    font-size: 1rem;
    font-weight: bold;
}