@import "../style";

.celebration-step {
	.step-container {
		background: var( --color-main-background, #fcfcfc );
		padding: 0;
		margin: 0;
		max-width: none;

		.site-preview__wrapper .web-preview__inner {
			width: 100%;
			height: 680px;

			@include break-small {
				width: 90%;
				max-width: 1080px;
				margin: 0 auto;
			}
		}
	}

	.step-container .step-container__header .formatted-header {
		margin: 16px;

		.formatted-header__title {
			text-align: left;

			@include break-small {
				text-align: center;
			}
		}

		.formatted-header__subtitle {
			text-align: left;
			margin-top: 5px;

			@include break-small {
				text-align: center;
			}
		}
	}

	&__top-content {
		display: flex;
		flex-direction: column;
		margin: 0 16px;

		@include break-small {
			margin: 0 auto;
			flex-direction: row;
			align-items: center;
			justify-content: space-between;
			width: calc(90% - 64px);
			max-width: calc(1080px - 64px);
			margin-bottom: 16px;
		}

		&-main {
			display: flex;
			flex-direction: column;
			overflow: hidden;
		}

		&-title,
		&-description {
			text-overflow: ellipsis;
			white-space: nowrap;
			overflow: hidden;
		}

		&-title {
			font-weight: 500;
			font-family: Inter, $sans;
		}

		&-cta {
			display: flex;
			flex-direction: column;
			flex-shrink: 0;
			margin: 24px 0 32px 0;
			gap: 16px;

			@include break-small {
				flex-direction: row-reverse;
				margin: 0 0 0 16px;
			}

			.button {
				border-radius: 4px;
				font-weight: 500;
			}
		}
	}

	&__footer {
		padding-bottom: 32px;
		text-align: center;

		a.celebration-step__footer-link {
			color: #101517;
			text-decoration: underline;
			font-weight: 500;
		}
	}
}
