HTML,
body {
	text-align: center;
}

.frame {
	width: 350px;
	height: 350px;
	margin: auto;
	position: relative;
	background: #435d77;
	border-radius: 0 0 40px 40px;
	overflow: hidden;
}

#button_open_envelope {
	width: 70%;
	line-height: 30px;
	position: absolute;
	z-index: 311;
	top: 80%;
	left: 15%;
	border-radius: 10px;
	color: #fff;
	font-size: 26px;
	font-family: "MinionPro", serif;
	padding: 15px 0;
	border: 2px solid #fff;
	transition: 0.3s;
}

#button_open_envelope:hover {
	background: #ffb236;
	color: #004599;
	transform: scale(1.1);
	transition: background 0.25s, transform 0.5s, ease-in;
	cursor: pointer;
}

.message {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 90%;
	border-radius: 25px;
	min-height: 300px;
	height: auto;
	overflow-y: scroll;
	background: rgba(255, 255, 255, 0.979);
	margin: 0 auto;
	top: 30px;
	box-shadow: 0px 0px 5px #333;
	transition: 2s ease-in-out;
	transition-delay: 1.5s;
	z-index: 300;
}

.left,
.right,
.top {
	width: 0;
	height: 0;
	position: absolute;
	top: 0;
	z-index: 310;
}

.left {
	border-left: 150px solid #337efc;
	border-top: 160px solid transparent;
	border-bottom: 160px solid transparent;
}

.right {
	border-right: 150px solid #337efc;
	border-top: 160px solid transparent;
	border-bottom: 160px solid transparent;
	left: 200px;
}

.top {
	border-right: 175px solid transparent;
	border-top: 200px solid #03a9f4;
	border-left: 175px solid transparent;
	transition: transform 1s, border 1s, ease-in-out;
	transform-origin: top;
	transform: rotateX(0deg);
	z-index: 500;
}

.bottom {
	width: 800px;
	height: 190px;
	position: absolute;
	background: #2b67cb;
	top: 160px;
	border-radius: 0 0 30px 30px;
	z-index: 310;
}

.open {
	transform-origin: top;
	transform: rotateX(180deg);
	transition: transform 0.7s, border 0.7s, z-index 0.7s ease-in-out;
	border-top: 200px solid #2c3e50;
	z-index: 200;
}

.pull {
	-webkit-animation: message_animation 2s 1 ease-in-out;
	animation: message_animation 2s 1 ease-in-out;
	-webkit-animation-delay: 0.9s;
	animation-delay: 0.45s;
	transition: 1.5s;
	transition-delay: 1s;
	z-index: 350;
}

@-webkit-keyframes message_animation {
	0% {
		transform: translatey(0px);
		z-index: 300;
		transition: 1s ease-in-out;
	}
	50% {
		transform: translatey(-340px);
		z-index: 300;
		transition: 1s ease-in-out;
	}
	51% {
		transform: translatey(-340px);
		z-index: 350;
		transition: 1s ease-in-out;
	}
	100% {
		transform: translatey(0px);
		z-index: 350;
		transition: 1s ease-in-out;
	}
}

@keyframes message_animation {
	0% {
		transform: translatey(0px);
		z-index: 300;
		transition: 1s ease-in-out;
	}
	50% {
		transform: translatey(-340px);
		z-index: 300;
		transition: 1s ease-in-out;
	}
	51% {
		transform: translatey(-340px);
		z-index: 350;
		transition: 1s ease-in-out;
	}
	100% {
		transform: translatey(0px);
		z-index: 350;
		transition: 1s ease-in-out;
	}
}

.contactform {
	width: 100%;
	height: 100%;
}

.contactform input {
	width: 100%;
	color: #004599;
	font-family: "MinionPro", serif;
	background: #ffb236;
	border-radius: 25px;
	outline: none;
	font-size: 16px;
	height: 45px;
	font-family: "MinionPro", serif;
	text-align: center;
	border: 1px solid grey;
}

.contactform textarea {
	width: 100%;
	color: #004599;
	font-family: "MinionPro", serif;
	background: #ffb236;
	outline: none;
	font-size: 16px;
	height: 95px;
	line-height: 40px;
	font-family: "MinionPro", serif;
	text-align: left;
	border: 1px solid grey;
}

span img {
	width: 50px;
	height: 50px;
	object-fit: cover;
}

video {
	width: 300px;
	pointer-events: none;
}

.col-12 h6 {
	font-family: "MinionPro", serif;
	font-weight: bold;
}

.col-12 span a {
	text-decoration: none;
}
.modal-body{
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}
