@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --blue: #1e90ff;
  --white: #ffffff;
  --logo: #4c4c4c;
}

*{
	scroll-behavior: smooth;
}

body{
    width:100%;
    margin:0;
    text-align:center;
    background-color:var(--logo);
}

h3{
    font-size:25px;
}

a:visited {
    color: inherit;
}

.info, h3, p{
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
}

.menu, .splash{
    font-family: 'Yantramanav', sans-serif;
}

.main{
    background:white;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-items, .logo, .section{
    max-width:1200px;
    width: 100%;
}

.logo{
    text-align:center;
}

.logo img{
    max-width:700px;
    width:100%;
}

.menu{
    width:100%;
    padding: 10px;
    margin: 15px auto;
    border-top: 0.5px solid black;
    border-bottom: 0.5px solid black;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    background: white;
    z-index:2;
	display:block !important;
    
}

.menu .menu-items{
	display:flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: center;
	align-content: center;
	flex-direction: row;
	margin: auto;
	height:auto;
	transition:0.5s;
}

.menu a{
    font-size: 25px;
    color: var(--logo);
    text-decoration:none;
}

.menu input{
    display:none;
}

.menu label{
    display:none;
}

.menu label:after{
    display:block;
    position:relative;
    color:black;
    font-size:20px;
}

@media only screen and (max-width: 500px) {
    .menu-items{
        flex-direction: column !important;
        min-height: 80% !important;
    }
    .menu{
        height:90vh;
    }

  
	.menu label{
        display:block;
        font-weight: bold;
    }
    .menu.collapse .menu-items{
        display:none;
    }

	.menu.collapse{
		height:auto !important;
	}
	
    .menu label:after{
    	content:"X Menu";
    }
    .menu.collapse label:after{
    	content:"Menu" !important;
    }
    
}


.splash{
    font-size:30px;
    text-align:center;
    background-image: url('/images/splash.jpg');
    text-shadow: 0 0 4px #494444;
    color: white;
    background-blend-mode: darken;
    background-color: #00000087;
    padding: 180px 0;
}

.fw, .splash{
    /* padding: 180px 0; */
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    width: 100%;
    max-width: 100%;
}


.splash span{
    font-size:20px;
    text-align:center;
}

.fw.corsi{
    background-image: url(images/sala.jpg);
}

.fw .inner{
    padding:80px 0;
    backdrop-filter:blur(2px);
    background-color: #000000a3;
}

.fw .inner p{
    font-size: 24px;
    max-width:1200px;
    margin:auto;
    color: white;
    text-shadow: 0 0 8px black;
}

.bio {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
}

.docente {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
    max-width: 100%;
    width: 250px;
    padding: 0;
}

.profilo {
    width: 250px;
    height: 250px;
    max-width:100%;
    background-size: cover;
}

.info{
    text-align:center;
    width:100%;
    border-top:none;
    box-sizing: border-box;
    min-height: 88px;
}

.info .name {
    font-weight: bold;
    display:block;
}

.g-item {
	position: relative;
	display:inline-block;
	max-width: 90vw;
	width: 300px;
	margin: 15px;
	font-family: 'Yantramanav', sans-serif;
	display: flex;
	flex-direction: column;
}
				
.g-lab {
	position: absolute;
	bottom: 50%;
	width: 100%;
	text-align: center;
	-webkit-transition: opacity 1s;
	color: white;
	font-size: 16px;
	opacity: 0;
	text-shadow: 1px 2px 1px black;

}

.g-name {
	color: #ffffff;
	font-size: 20px;
	background: var(--logo);
	text-align: center;
}

.g-tumb { 
	height: auto;
	width: 100%; 
}
			
.g-item:hover .g-lab { opacity:1; }
.g-item:hover .g-tumb {  filter:blur(2px) }

.section#galleria a{
	text-decoration:none;
}

.section {
    font-size: 20px;
    padding: 50px 0 40px 0;
}

.fw#contatti {
    background-image: url('images/contatti.jpg');
    color: white;
	padding:0;
}

.carousel {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: scroll;
}