/*

Theme Name: carloscevola

Theme URI: https://www.carloscevola.com/

Author: Carlo Scevola

*/

html,
body {
    height: 100%;
    width: 100%;
}

body {
    font-family: "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.7;
    color: #cdced3;
    background-color: #faf4e8;
}

a {
    -webkit-transition: color 0.4s ease-out;
    -moz-transition: color 0.4s ease-out;
    transition: all 0.4s ease-out;
    color: #b09a71;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #fff;
}

h1 {
    font-family: "Times New Roman", serif;
    font-size: calc(40px + (52 - 40) * ((100vw - 300px) / (1200 - 300)));
    font-weight: 500;
    color: #1f212d;
}

h2 {
    font-family: "Inter", sans-serif;
    font-size: calc(20px + (25 - 20) * ((100vw - 300px) / (1200 - 300)));
    font-weight: 400;
    color: #676357;
}

h3 {
    font-family: "Tinos", serif;
    font-weight: 400;
    font-style: italic;
    font-size: 20px;
    color: #1f212d;
}

/* --------------------------- top section ---------------------------*/

.top-section {
    background: #f5f2ea;
    padding: 100px 0 350px 0;
    position: relative;
    z-index: 1;
}

.border-header {
    position: relative;
    margin: 20px 0;
}

.border-header::before {
    content: "";
    display: block;
    height: 1px;
    background: linear-gradient(90deg,
            rgba(103, 99, 87, 0) 0%,
            rgba(103, 99, 87, 0.5) 50%,
            rgba(103, 99, 87, 0) 100%);
}

/* --------------------------- video section ---------------------------*/

.video-section {
    background: #0f1a24;
    padding-bottom: 10px;
    text-align: left;
    position: relative;
}

.video-wrapper {
    max-width: 100%;
    position: relative;
    margin-top: -300px;
    margin-bottom: 60px;
    z-index: 10;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    border: 7px solid #b09a71;
}

.video-section .border-header {
    margin: 40px 0;
}

.title-domains {
    font-size: 16px;
    letter-spacing: 5px;
    position: relative;
    font-family: "Inter", sans-serif;
    text-transform: uppercase;
	padding-bottom: 20px;
}

.title-publications {
    font-size: 16px;
    letter-spacing: 5px;
    position: relative;
    font-family: "Inter", sans-serif;
    text-transform: uppercase;
    padding-bottom: 20px;
}

.list-domains p {
    text-align: left;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.publications-list {
    display: flex;
    flex-direction: column;
}

.publications-list a {
    line-height: 1.2;
    padding: 5px 0;
}

.vertical-line {
    width: 1px;
    min-height: 200px;
    background: rgba(103, 99, 87, 0.2);
    background: linear-gradient(180deg,
            rgba(103, 99, 87, 0) 0%,
            #676357 50%,
            rgba(103, 99, 87, 0) 100%);
}

.line-writtings {
    width: 100%;
    min-height: auto;
    background: rgba(103, 99, 87, 0.2);
    background: linear-gradient(90deg, rgba(103, 99, 87, 0) 0%, #676357 50%, rgba(103, 99, 87, 0) 100%);
    max-width: 250px;
    height: 1px;
/*     margin: 0 auto; */
	margin-top: 25px;
    margin-bottom: 10px;
}

.contact {
    padding-bottom: 30px;
}

.contact p {
/*     text-align: center; */
    font-size: 20px;
    padding-bottom: 20px;
}

.formContact p {
    padding-bottom: 0px;
}

input,
textarea {
/*     width: 60%; */
	width:100%;
    padding: 20px;
    background-color: #0f1a24;
    border: 1px solid #6763574D;
    color: #F5F5F366;
    text-transform: uppercase;
    letter-spacing: 2.1px;
    font-size: 14px;
    border-radius: 16px;
    line-height: 1.2;
}

input[type=submit] {
    background: none;
    border-radius: 16px;
    border: 1px solid #b09a71;
    color: #b1955a;
}

input[type=submit]:hover {
    background-color: #192837;
}

.wpcf7-spinner {
    display: none;
}

/* ---------------------------responsive-------------------------- */

@media (min-width:992px){
	.container-video{
		max-width:1000px;
		width:70%;
	}
}

@media (max-width:1200px){
	.top-section{
		padding-bottom:240px;
	}
	
	.video-wrapper{
		margin-top:-200px;
		margin-bottom:50px;
	}
}
/* 
@media (max-width:991px) {

    .top-section {
        padding: 70px 0 230px 0;
    }

    .video-wrapper {
        margin-top: -200px;
    }
} */

@media (max-width: 767px) {
/*     .list-domains p {
        text-align: center;
    } */

    .vertical-line {
        width: 100%;
        min-height: auto;
        background: rgba(103, 99, 87, 0.2);
        background: linear-gradient(90deg, rgba(103, 99, 87, 0) 0%, #676357 50%, rgba(103, 99, 87, 0) 100%);
        max-width: 250px;
        height: 1px;
/*         margin: 0 auto; */
        margin-bottom: 20px;
    }

    input,
    textarea {
        width: 95%;
    }
	.top-section {
   		padding-bottom: 150px;
  	}
	.video-wrapper {
        margin-top: -120px;
    }
}

@media (max-width: 500px) {
    .video-wrapper {
        margin-bottom: 20px;
    }
	
	.video-section .border-header {
 		margin: 30px 0;
	}
	
	.top-section {
    	padding-top: 60px;
  	}
}