@import url("/dist/index/index.css");


.section-apply-main {
    padding: 7.5rem;
    color: white;
    background-color: #578DFF;
    display: flex;
    justify-content: space-between;
    height: 55vh;
}

.section-apply-main .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-apply-main .text-content {
    flex: 1;
    margin-right: 100px;
}

.section-apply-main .video-container {
    flex: 1;

}

.section-apply-main .video-container iframe {
    width: 100%;
    height: 300px;
}

.section-apply-main > * {
	padding: 0.5rem;
}

.section-apply-main > * > * {
	display: inline-block;
}

.section-apply-main .title {
    font-family: Prompt;
	font-size: 2.0625rem;
	font-weight: normal;
	text-align: left;
	color: #FFFFFF;
}

.section-apply-main .description {
	font-family: Poppins;
	font-size: 1rem;
	font-weight: normal;
	max-width: 28rem;
	text-align: left;
	color: #FFFFFF;
}

.section-apply-main .request {
	font-size: 1.1rem;
	font-weight: bold;
}

.section-apply-main .button-container {
    text-align: left;
}

.section-apply-main .button {
    font-size: 1rem;
    padding: 20px 24px;
    background: #F6F5F5;
    color: #578DFF;
    border-radius: 2em;
    margin-top: 0.5rem;
    font-family: Poppins;
    transition: background-color 0.3s, transform 0.2s;
}

.section-apply-main .button:hover {
    background-color: #FFFFFF;
    transform: scale(1.05);
}

.section-modules {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: calc(100% - 7.5rem);
    margin: 4rem 7.5rem 0 7.5rem;
}

.module {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin-bottom: 50px;
}

.module .text {
    width: 45%;
    text-align: left;
    padding: 0 20px;
}

.module .title {
	color: #0E0E0F;
	font-size: 2.0625rem;
	font-weight: normal;
}

.module .description {
	font-family: Poppins;
	font-weight: 400;
	font-size: 1.125rem;
	color: #0E0E0F;
	line-height: 1.6;
}


.module .image {
    margin: 20px 80px;
    background-position: center;
    max-height: 60vh;
}

.module:nth-child(1) .image {
	background-image: url('/image/baseshift-dub.gif');
	width: 60%;
	height: auto;
	min-height: 400px;
	background-size: cover;
}

.module:nth-child(2) .image {
	background-image: url('/image/baseshift-guard.gif');
	min-height: 400px;
	width: 80%;
	height: auto;
	background-size: cover;
}


.usecases-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

}

.usecase {
    flex-basis: calc((100% - 15rem) / 3); /* Equal width, accounting for margin */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border: 1.5px solid #EEEEEE;
    border-radius: 15px;
    background-color: #EEEEEE;
    overflow: hidden;
    padding: 20px;
    margin: 10px;
    height: auto;

    opacity: 0;
    transition: transform 0.8s, opacity 0.8s;
    visibility: hidden; /* Add visibility hidden initially */
}

.usecases-section {
    margin-top: 0;
}

.usecase.visible {
    animation: flipIn 0.8s forwards;
    visibility: visible;
}

.usecase img {
    width: 70%;
    height: auto;
    margin-bottom: 20px;
}

.usecase-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
}

.usecase h2 {
    margin: 5px 0;
    font-family: Prompt;
    font-weight: normal;
    font-size: 1.1rem;
    color: #0E0E0F;
}

.usecases-section h1 {
    font-family: Prompt;
    font-weight: 500;
    font-size: 2.0625rem;
    color: #0E0E0F;

}

.usecase p {
    font-family: Poppins;
    font-weight: 400;
    font-size: 0.8rem;
    color: #0E0E0F;
}


@keyframes flipIn {
    from {
        transform: rotateY(-90deg);
        opacity: 0;
        visibility: visible; /* Set visibility at the start of animation */
    }
    to {
        transform: rotateY(0);
        opacity: 1;
    }
}

.section-available-for {
	margin-top: 4rem;
	margin-bottom: 2.5rem;
}


.section-available-for .title {
    padding-bottom: 1.5rem;
	font-size: 1.875rem;
	color:  #0E0E0F;
	font-weight: 500;
	font-family: Prompt;
}

.section-available-for .icon {
	display: inline-block;
	width: 12rem;
	height: 6rem;
	background-position: center;
}

.section-available-for .icon-postgresql {
	background-image: url('/image/icon-postgresql.svg');
	background-size: auto 4.5rem;
}

.section-available-for .icon-mysql {
	background-image: url('/image/icon-mysql.svg');
	background-size: auto 5.5rem;
}

.section-available-for .icon-mongodb {
	background-image: url('/image/icon-mongodb.svg');
	background-size: auto 3.25rem;
	background-position: 50% 75%;
}

.section-transition-advert-features {
	position: relative;
	width: 100%;
	height: 3rem;
}

.section-transition-advert-features svg {
	position: absolute;
	left: 0;
	width: 100%;
	top: 0;
	height: 100%;
	fill: #eee;
}

.section-features {
	background-color: #eee;
	padding: 35px 0;
}

.section-features > .title {
	font-weight: normal;
	font-size: 2.0625rem;
	font-family: Prompt;
	margin-bottom: 1rem;
	padding-top: 1rem;
	color: #0E0E0F;
}

.section-features .blocks {
	display: inline-block;
	max-width: 80rem;
	margin-bottom: 1.4rem;
}

.section-features .block {
	display: inline-block;
	vertical-align: top;
	padding: 0.7rem;
	padding-top: 4.5rem;
	margin: 0.5em 1.25em;
	width: 20rem;
	height: 10rem;
	background-color: white;
	border-radius: 40px;
	text-align: center;

	background-position: left 2rem top 1rem;
	background-size: auto 3.3rem;
}

.section-features .block:nth-child(1) {
	background-image: url('/image/icon-block-benefit1.png');
}

.section-features .block:nth-child(2) {
	background-image: url('/image/icon-block-benefit2.png');
}

.section-features .block:nth-child(3) {
	background-image: url('/image/icon-block-benefit3.png');
}

.section-features .block:nth-child(4) {
	background-image: url('/image/icon-block-benefit4.png');
}

.section-features .block:nth-child(5) {
	background-image: url('/image/icon-block-benefit5.png');
}

.section-features .block:nth-child(6) {
	background-image: url('/image/icon-block-benefit6.png');
}

.section-features .block .title {
	text-align: left;
	color: #0E0E0F;
	font-family: Poppins;
	font-size: 1rem;
	padding: 0.5rem 1rem;
	font-weight: normal;
}

.section-features .block .description {
	color: #777;
	font-family: Poppins;
	font-weight: 300;
	font-size: 0.65rem;
	line-height: 1.3;
}


@media only screen and (max-width: 768px) {
 .section-apply, .section-apply-main, .section-image, .overlay-image, .section-adverts {
        flex-direction: column;
        padding: 20px;
    }

    .section-apply-main .text-content, .section-apply-main .description, .section-apply-main .video-container {
        width: 100%;
        margin-right: 0;
        font-size: 90%;
    }

    .section-apply-main .title {
        font-size: 1.5rem;
    }

    .section-apply-main .button {
        font-size: 90%;
    }

    .section-image, .overlay-image {
        width: 100%;
        margin-left: 0;
        height: auto;
    }

    .section-modules {
        margin: 2rem 0;
        width: 100%;
    }

    .module {
        margin-bottom: 20px;
    }

    .module .text {
        width: 100%;
        text-align: left;
        padding: 30px 20px;
        font-size: 90%;
    }

    .module .title {
        font-size: 1.5rem;
    }

    .module .description {
        font-size: 1rem;
    }

    .module .image {
        margin: 20px;
    }

    .module:nth-child(1) .image {
        width: 100%;
        height: auto;
        max-width: 100%;
		background-size: contain;
		background-position: center;
		min-height: 300px;
    }

    .module:nth-child(2) .image {
        width: 100%;
        height: auto;
        max-width: 100%;
        min-height: 200px;
    	background-size: contain;
        background-position: center;
}

    .usecase {
        flex-basis: 100%;
    }

   .usecases-section h1 {
        font-size: 1.5rem;
   }

   .usecase {
        flex-basis: 100%;
   }

    .section-features .blocks {
        max-width: 100%;
    }

    .section-features .block {
        width: calc(100% - 2em);
        margin: 1em;
    }

    .section-features > .title {
        font-size: 2rem;
    }

    .section-features .block .title {
        font-size: 90%;
    }

}

