@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');



body {
    font-family: "Poppins", sans-serif;
    color: var(--border-color);
}

.projects {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
    width: 100%;
    margin: 0;
}

.flipbook-wrapper {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
}

.flipbook {
  height: 750px;
  width: 100%;
  margin: 0 auto;
}

.flipbook .hard {
    position: relative;
    background: var(--secondary-bg-color) !important;
    color: var(--text-color);
    font-weight: bold;
    border: solid 1px rgba(0, 0, 0, 0.1); 
    font-size: 1.2rem;
}

.flipbook .hard .topright {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 14px;
    display: flex;
    flex-direction: row;
}
.page.odd {
    background: var(--secondary-bg-color) !important;
    padding-top: 2rem;
    font-size: 16px;
    color: var(--text-color);
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
}
.page.odd > p {
    padding: 0 2rem;
    text-align: left;
    margin-bottom: 1rem;
    margin-top: 0;
    max-width: 100%;
}
.page.odd > h3 {
    padding: 0 1rem;
    font-size: 1.6rem;
    text-align: left;
    font-weight: bold;
    margin: 0;
}
.page.odd > button {
    display: flex;
    justify-content: center;
    padding: 0.5rem 1rem;
    background-color: var(--accent-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 0.5em;
    font-weight: bold;
    text-align: center;
}
.flipbook .hard small{
	font-style: italic;
	font-weight: lighter;
	opacity: 0.7;
	font-size: 14px;
}

.flipbook .page {
    background: var(--text-color);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
    gap: 10px;
}
.flipbook .odd:not(.hard) {
    justify-content: flex-start;
}
.flipbook .page small {
    position: absolute;
    bottom: 10px;
}
.page a {
    width: 70%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.page img{
    border-radius: 1em;
	width: 100%;
	object-fit: cover;
	margin: auto;
}

.flipbook .page small{
	font-size: 14px;
    margin-bottom: 10px;
}
.flipbook__arrow {
    width: 12px;
    height: 12px;
}



@media (max-width: 1200px) {
    .flipbook {
        height: 700px;
    }
}
@media (max-width: 992px) {
    .flipbook {
        height: 600px;
    }
}
@media (max-width: 850px) {
    .flipbook {
        height: 500px;
    }
}
@media (max-width: 768px) {
    .projects{
        padding: 0;
    }
    .flipbook {
        height: 400px;
    }
    .page a{
        width: 90%;
    }
}
@media (max-width: 600px) {
    .flipbook {
        height: 300px;
    }
    .project-description__text {
        font-size: 14px;

    }
}
@media (max-width: 500px) {
    .flipbook {
        height: 280px;
    }
}
@media (max-width: 400px) {
    .flipbook {
        height: 250px;
    }
}