.modal-container {
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
}

.dark-overlay {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 50%);
    z-index: 1;
}

.modal {
	z-index: 2;
    background: white;
    position: absolute;
    width: 885px;
    height: 640px;
    top: calc(50% - 293px);
    left: calc(50% - 442px);
    border-radius: 16px;
    box-sizing: border-box;
}

.modal.auth-modal {
	width: 554px; 
	height: auto;
	top: 40px;
    left: calc(50% - 264px);
}
.modal.w-492 {
	padding: 36px;
    width: 492px;
    height: auto;
    top: calc(50% - 250px);
    left: calc(50% - 246px);
}

.modal .strong-text, .auth-ui-wrapper .strong-text {
	font-family: 'Montserrat'; 
	font-size: 28px; 
	font-weight: 600; 
	line-height: 28px;
}
.modal .regular-text, .auth-ui-wrapper .regular-text {
	font-family: 'SFPROTEXT';
    color: #757575;
    font-size: 16px;
    line-height: 20px;
    margin-top: 12px;
}
.modal .content-section {
	display: flex; 
	padding: 40px; 
	border-bottom: 1px solid #f3f3f3;
}
.modal .video-container {
	width: 382px; 
	height: 215px; 
	background: #c4c4c4; 
	border-radius: 8px;
}
.modal .text-container {
	width: calc(100% - 382px); 
	padding-left: 40px; 
	box-sizing: border-box;
}
.modal .logo-title .logo-icon {	
	background-size: 100% 100%; 
	width: 48px; 
	height: 48px;
}
.modal .content-column {
	display: flex; 
	width: 50%; 
	padding-right: 20px; 
	box-sizing: border-box;
}
.modal .content-column:nth-child(1) {
	padding-right: 20px; 
}
.modal .content-column:nth-child(2) {
	padding-left: 20px; 
}

.modal .fixed-btn {
	display: flex; 
	margin: 24px 0;
}
.modal .fixed-btn > div {
	margin: auto; 
	width: 343px;
}

.modal .content-section.bottom-section {
	padding-bottom: 0;
}

.text-input, .memory-date-input {
	width: 100%;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 16px 19px;
    box-sizing: border-box;
    font-family: 'SFPROTEXT';
    font-size: 18px;
    color: #757575;
    outline: none;
}
.memory-date-input {
	width: 87px;
}

.text-input.error {
	border-color: #df361f;
}
.text-input.thin {
	padding: 14px 19px;
	font-size: 16px;
}
.text-input.black {
	color: black;
}

.error-msg {
	font-family: 'SFPROTEXT';
    font-size: 14px;
    font-weight: 400;
    color: #df361f;
    margin-top: 5px;
}
.valid-msg {
	font-family: 'SFPROTEXT';
    font-size: 14px;
    font-weight: 400;
    color: #6bba1c;
    margin-top: 5px;
}

.timer-countdown {
	font-family: 'Montserrat';
    font-size: 24px;
    font-weight: 600;
    display: flex; 
    margin: auto;
}
.timer-digit {
	width: 42px;
    height: 48px;
    background: #f3f3f3;
    border-radius: 8px;
    display: flex;
    margin: 0px 2px;
}
.timer-digit span {
	margin: auto;
}
@media screen and (min-width: 812px) {
	.moment-modal{
		width: 100%;
        height: 100% !important;
        top: 0;
        left: 0;
	}
	.memory-marks-container{
		height: min-content !important;
	}
	.moment-display img{
		width: 50% !important;
	}
}

@media screen and (max-width: 812px) {
	.modal {
		top: auto;
	    bottom: 0;
	    width: 100%;
	    left: 0;
	    height: auto;
    	max-height: 95%;
	    border-radius: 16px 16px 0 0;
	    overflow: auto;
    	padding-bottom: 82px;
	}
	.modal .content-section {
		display: block;
		padding: 16px;
	}
	.modal .content-section.bottom-section {
		padding-bottom: 16px;
	}
	.modal .video-container {
		width: 100%;
    	height: calc(100vw * 0.52);
    	margin-bottom: 20px;
	}
	.modal .text-container {
		width: 100%;
		padding-left: 0;
	}
	.modal .logo-title {
		display: flex;
	}
	.modal .logo-title .logo-icon {
		width: 32px;
		height: 32px;
		margin-right: 8px;
	}
	.modal .strong-text {
		font-size: 24px;
	}
	.modal .content-column {
		width: 100%;
		padding: 0;
	}
	.modal .content-column:nth-child(1) {
		padding-right: 0px; 
	}
	.modal .content-column:nth-child(2) {
		padding-left: 0px; 
		padding-top: 20px;
	}

	.modal .fixed-btn {
		margin: 0;
		padding: 16px 0;
    	width: 100%;
    	position: fixed;
	    bottom: 0;
	    background: white;
	}
	.modal .fixed-btn > div {
		width: 90%;
	}	

	.modal.auth-modal {
		width: 90%;
		height: min-content;
		top: calc(100vh - 80vh) !important;
    	left: 5%;
		border-radius: 16px;
	}
	.modal.w-492 {
		padding: 18px;
	    width: 294px;
	    height: auto;
	    top: calc(50% - 175px);
	    left: calc(50% - 147px);
	    bottom: auto;
	    border-radius: 12px;
	}
	.modal.w-492.fullscreen {
		top: 0;
	    left: 0;
	    width: 100%;
	    height: 100%;
	    max-height: 100%;
	    border-radius: 0;
	}
	.modal.fullscreen {
		height: 100%;
	    max-height: 100%;
	    border-radius: 0;
	    padding: 0;
	}
	.modal.floating:not(.fullscreen) {
		height: auto;
		max-height: none;
		width: 336px;
		position: relative;
	    margin: auto;
	    border-radius: 12px;
	    padding: 16px;
	}

	.timer-countdown {
		font-size: 40px;
    	width: 100%;
	}
	.timer-digit {
		width: 15%;
	}
}	