* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f4f8;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

p {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #2e6659;
    color: #ffffff;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.title {
    font-size: 1.25rem;
    padding-right: 43%;
    font-weight: normal;
}

.carousel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #f8f8f8;
    width: 100%;
    height: 350px;
    position: relative;
    overflow: hidden;
}

/* Common arrow styles */
.arrow {
    width: 0;
    height: 0;
    border-style: solid;
    cursor: pointer;
}

/* Left triangle */
.left.triangle {
    border-width: 25px 40px 25px 0;
    border-color: transparent #2e6659 transparent transparent;
    margin-right: 10px;
}

/* Right triangle */
.right.triangle {
    border-width: 25px 0 25px 40px;
    border-color: transparent transparent transparent #2e6659;
    margin-left: 10px;
}

/* Additional styling adjustments */
.book-list {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.book {
    text-align: center;
    flex: 0 0 auto;
    width: 33.33%;
    margin: 0 20px;
    cursor: pointer;
    transition: border 0.1s ease;
}

.book img {
    width: 180px;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.book-info {
    margin-top: 10px;
    font-size: 0.875rem;
    color: #333;
}

.book-info h3 {
    font-size: 0.875rem;
    font-weight: bold;
}

.book-info p:nth-child(2) {
    font-weight: normal;
}

.book-info p:nth-child(3) {
    font-weight: normal;
}

.book-info p span {
    font-weight: bold;
}

.book.selected {
    border: 3px solid #245345;
    border-radius: 5px;
}

.email-section {
    padding: 20px;
    background-color: #245345;
    color: #f8f8f8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.email-section p {
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
}

.email-input {
    display: flex;
    align-items: center;
}

.email-input input {
    padding: 8px;
    width: 250px;
    background-color: #d7d7d7;
    border: 1px solid #ddd;
    border-radius: 7px;
    margin-right: 50px;
}

.email-input button {
    padding: 8px 25px;
    background-color: #ffffff;
    color: #245345;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.email-input button:hover {
    background-color: #ffffff;
}

.arrow:hover {
    opacity: 0.8; /* Optional: Change opacity on hover */
}
