/* certificate */

.certificate {
    position: relative;
    padding: 20px;
}
.certificate .certificate_form {
	margin: 2em auto;
	background: url(img/certificate-preview.png);
	height: 620px;
	width: 877px;
	background-size: 100%;
	display: flex;
	justify-content: center;
	border: 1px solid #efefef;
	box-shadow: 0 0 20px #e5e5e5;
}
.certificate .certificate_form.teacher {
	background: url(img/certificate-preview_2.png);
}
.certificate .certificate_form .data {width: 100%;height: 100%;position: relative;}
.certificate .certificate_form .data input {position: absolute;border: none;}
.certificate .certificate_form .data textarea {position: absolute;border: none;}
.certificate .certificate_form .data input:focus-visible {
	outline:none;
}
.certificate .certificate_form .data textarea:focus-visible {
	outline:none;
}
.certificate .certificate_form .data textarea.event_name {top: 350px;font-weight: 300;width: 295px;left: 40px;height: 125px;line-height: 1.3;background: transparent;color: #ffffff;font-size: 14px;resize: none;}
.certificate .certificate_form .data textarea.event_author {font-family: 'Oswald';color: #f69;top: 237px;width: 540px;font-size: 44px;left: 38px;line-height: 1;background: transparent;overflow:hidden;resize: none;}
.certificate .certificate_form .data textarea.event_teacher {
    top: 352px;
    left: 349px;
    font-weight: 300;
    width: 300px;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
	overflow:hidden;
	resize: none;
}
.certificate .certificate_form .data textarea.event_job {
    top: 369px;
    left: 349px;
    font-weight: 300;
    width: 300px;
    background: transparent;
    color: #fff;
    font-size: 14px;
	resize: none;
}
.certificate .certificate_form .data textarea.event_organisation {
	display:none;
}
/*.certificate .certificate_form.teacher {}*/
.certificate .certificate_form.teacher .data textarea.event_author {
	display:none;
}
.certificate .certificate_form.teacher .data textarea.event_name {
	display:none;
}
.certificate .certificate_form.teacher .data textarea.event_teacher {
	font-family: 'Oswald';
	color: #f69;
	top: 237px;
	width: 540px;
	font-size: 44px;
	left: 38px;
	line-height: 1;
	background: transparent;
	overflow:hidden;
	resize: none;
	font-weight:400;
}
.certificate .certificate_form.teacher .data textarea.event_job {
	top: 350px;
	font-weight: 300;
	width: 295px;
	left: 40px;
	height: 125px;
	line-height: 1.3;
	background: transparent;
	color: #ffffff;
	font-size: 14px;
	resize: none;
}
.certificate .certificate_form.teacher .data textarea.event_organisation {
	display: block;
	top: 352px;
    left: 349px;
    font-weight: 300;
    width: 300px;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
	overflow:hidden;
	resize: none;
}

.certificate .download {
    
}
.certificate .download button {
	width: 300px;
	margin: 50px auto;
}
.certificates {
    display: flex;
    margin: 25px 0 0;
    flex-wrap: wrap;
    gap: 1em;
}
.certificates .item_cert {
    background: transparent;
    border-radius: 100px;
    color: #FF6699;
    font-size: 16px;
    font-weight: 700;
    width: auto;
    cursor: pointer;
    display: flex;
    padding: 0 20px;
    height: 34px;
    align-items: center;
    transition: all 0.3s;
    border: 1px solid #FF6699;
}
.certificates .item_cert:hover, .certificates .item_cert.active {
    background: #FF6699;
    color: #ffffff;
}
.shadow {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    left: 0;
    align-items: center;
    justify-content: center;
}
.warning {
    max-width: 460px;
    background: #00679D;
    color: #ffffff;
    font-size: 25px;
    padding: 40px;
    font-weight: 100;
    border-radius: 5px;
    position: relative;
}
.warning p a {border-bottom: 1px dotted #ffffff;font-weight: 300;color: #ffffff;text-decoration: none;}
.warning p a:hover {border-bottom: 1px solid #ffffff;}
.warning .close_warning {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	line-height: 1em;
	font-size: 60px;
	font-weight: 100;
	width: 60px;
	height: 60px;
	text-align: center;
	cursor: pointer;
	transform: rotate(45deg);
	transition: all 0.3s ease;
}
.warning .close_warning:hover {
	transform: rotate(135deg);
}
.certificate_draft_wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    backdrop-filter: blur(15px);
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
}
.certificate_draft_wrap.show {
	display: flex;
}
.certificate_draft_wrap .certificate_draft {
    background: #ffffff;
    padding: 20px;
}
.certificate .certificate_img_mobile {
	display:none;
}
@media all and (max-width:1000px) {
	.certificate {}
	.certificate .certificate_form {
		display:none;
	}
	.certificate .certificate_img_mobile {
	display:flex;
	margin: 2em auto;
	}
	.certificate .certificate_img_mobile img {}
	.certificate .download button {
    max-width: 300px;
    margin: 50px auto;
    padding: 0 30px;
	width: auto;
	}
}