
html{font-size: 18px; line-height: 30px;}


body{
	font-family: 'Roboto', sans-serif;
	/*background: url("../img/sfondo10.jpg") no-repeat center fixed;*/
	background-size: cover;
	width:99%;
}

header {
	position: fixed;
    top: 0.5rem;
    left: 0;
    width: 100%;
    height: 88px;
	z-index: 10;
}

.text-js{
	opacity: 0;
	font-weight: normal;
  }
  .cursor{
	display: block;
    position: absolute;
    height: 50%;
    top: 14px;
    right: -5px;
    width: 2px;
    background-color: black;
    z-index: 1;
    animation: flash 0.5s none infinite alternate;
  }
  @keyframes flash{
	0%{
	  opacity: 1;
	}
	100%{
	  opacity: 0;
	}
  }

#logo{
	max-width: 100%;
}

.welcome-title {
	width:99%;
	text-align: center;
	height: 70px;
}

.container{
    width: 70%;
    margin: 0 auto;
    position: absolute;
    top: 150px;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: auto;
	height: calc(100% - 220px);
	/*background-color:#fdfdfde8;*/
	background-color: rgba(253,253,253,0.9)
}

.tab:hover {
	cursor: pointer;
}

#logo-container {
    width: 65px;
    margin-left: 15%;
}

nav{
	/*background-color: #9b9b9f73;*/
	background-color: rgba(155,155,160,0.45);
	text-align: center;
	border-radius: 3px;
	width: 70%;
    margin: 0 auto;
	
}

nav ul{
	list-style: none;
	padding: 0.6rem;
	margin: 0;
	display: flex;
	justify-content: center;
	font-size: 0.8rem;
}

nav ul li{
	display: inline-block;
	margin: 0.2rem 2rem;
}

li a.active {
  color: white;
  /*
  text-shadow: 0.5px 0.5px;*/
}

a.readmore:hover {
    color: #77a78f;
}


a:hover{
	color: white;
}

.readmore:hover {
	cursor:pointer;
}
.text{	
	font-family: 'Alegreya Sans', sans-serif;
	font-size: 0.8rem;
	border-radius: 3px;
    height: auto;
    color: #161616;
	padding-bottom: 10px;
}

h2{
	text-align: center;
	font-weight: normal;
	font-family: 'Alegreya Sans', sans-serif;
	color: #6d5e5e;
	padding: 1rem 0 0 0;
}

.about{
	padding: 1rem 4.3rem 2.rem 4.3rem;
	font-size: 0.75rem;
	margin-left: 10rem;
    margin-right: 10rem;
}

.links{
	margin-right: 0.7rem;
    padding: 0.4rem;
	color:#551A8B;
	border-radius: 6px;
	color:#000;
  	text-decoration: none;
 	text-transform: uppercase;
}


.subpages{
	text-align: center;
	padding: 1rem;
	margin-top: 3rem;
}


form{
	text-align:center;
	width: 100%;
	padding-top: 1.3rem;
	border-radius: 5px;
}

input, label, textarea{
	width: 80%;
}

input {
	width: 70%;
	padding: 6px 0 6px 5px;
	font-family: 'Alegreya Sans', sans-serif;
	border-radius: 5px;
	margin: 5px 0;
	border: 2px solid #ddd;
}

textarea {width: 70%; 
	height: 150px;
	padding: 0 0 0 0,06rem;
	font-family: 'Alegreya Sans', sans-serif;
	border-radius: 5px;

}
[type="submit"]{
	width: 40%;
    height: 35px;
    border: 1px solid #ccc;
  	border-radius: 5px;
  	background-color: #898797;
  	box-shadow: 1px 2px 2px rgba(0, 0, 0, .5);
  	margin: 1rem;
}

input[type=submit]:hover {
  background-color: #ae9f9f;
}

.contacts {
	width: 100%;
    padding: 0.6rem 1.3rem;
	display: inline-block;
	text-align: center;
}

.form-item{
	outline: none;
    border: none;
}

textarea.form-item {
    padding-left: 0.5%;
    padding-top: 0.5%;
    margin-top: 1%;
    resize: none;
    margin-bottom: 3%;
}

.form-item:focus{
	box-shadow: 0 0 8pt 0pt #77a78f;
}

.contacts h2 {border: 1px solid #b29587;
   /*width: 840px;*/}

.fillout {
	margin-left: 13rem;
    margin-right: 13rem;
}


.social{
    padding-top: 1.3rem;
}

.social p{
	margin-bottom: 0;
}

.fa-phone-square:before {
    content: "\f098";
    color: #028090;
}


#soc_icon{
	list-style: none;
	padding: 0.3rem;
	margin: 0;
	line-height: 3.6;
}

#soc_icon li i a {
	text-transform: lowercase;
	font-weight: normal;
	font-family: 'Alegreya Sans', sans-serif;
	font-size: 0.8rem;
	vertical-align: middle;
}

#linkedin{text-transform: lowercase;
	font-weight: normal;
	font-family: 'Alegreya Sans', sans-serif;}


.fa-linkedin:before {
    content: "\f0e1";
    color: blue;
}


#googleMap{
	margin-top: 0.6rem;
}

.row {
  	display: block;
  	padding: 0.6rem 0.26rem;
  	margin-left: 10rem;
	margin-right: 10rem;
}

/* Create four equal columns that sits next to each other */
.column {
  flex: 25%;
  max-width: 100%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
}

.img_services{
	float: left;
}

.align{
	  margin-top: -1%;
}

.pic_text{
	/*
	height: 130px;
	*/
	margin-left: 10px;
	height: 10rem;
}

.services-text {
	width: 70%;
	margin-left: 30%;
}


img.img_services {
    box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
	width: 25%;
	height: 95%;
}

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

.column1 {
	float: left;
    width: 5rem;
    text-align: center;
    margin-left: 2rem;
    margin-top: 1.5rem;
    margin-right: 2rem;
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  padding: 1.3rem;
  background-color: white;
  margin: 0.6rem 1.3rem;
}

.presentation {
  padding: 0 1.1rem;
}

.presentation::after, .row::after {
  content: "";
  clear: both;
  display: table;
}

.title {
  color: grey;
}

#myname{
	text-align: center;
	font-weight: bold;
	font-family: 'Alegreya Sans', sans-serif;
	padding: 0;
}

.personal_info{
	margin-top: 1rem;
    font-size: 0.75rem;
    margin-left: 1rem;
    margin-right: 1rem;
}

.profile{
	margin: 1rem;
}

#profile_img {
	width: 90%;
    border-radius: 100%;
}

#list{
	padding-top: 0.6rem;
	line-height: 0.5rem;
}

a {
    text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.cta {
    position: relative;
    margin: auto;
    padding: 19px 22px;
	transition: all .2s ease;
	margin: 3rem;
}

.cta:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 28px;
    background: rgb(119, 167, 143);
    width: 56px;
    height: 56px;
    transition: all .3s ease;
}

.cta span {
    position: relative;
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    letter-spacing: .15em;
    vertical-align: middle;
}

.cta svg {
    position: relative;
    top: 2px;
    margin-left: 10px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #111;
    stroke-width: 1px;
    transform: translateX(-5px);
    transition: all .3s ease;
}

.cta:hover {
	color: #eeeeee;
}

.cta:hover:before {
    width: 100%;
    background: #77a78f;
}

.cta:hover svg {
    transform: translateX(0);
}

.cta:active {
    transform: scale(0.96);
}


.footer-container {
    position: absolute;
    width: 100%;
    bottom: 4px;
    line-height: 26px;
}

.footer{
  background-color: rgba(155,155,160,0.45);
  color: #dadada;
  text-align: center;
  width: 100%;
  font-size: 0.6rem;
  border-radius: 3px;
  width: 70%;
  margin: 0 auto;
}

.about p {
    margin-left: 1rem;
    margin-right: 1rem;
}

/* width */
::-webkit-scrollbar {
	width: 8px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
	box-shadow: inset 0 0 5px #9b9b9f73; 
	border-radius: 5px;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
	background: #9b9b9f73; 
	border-radius: 10px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
	background: #9b9b9f73; 
  }

/*Media queries*/

@media only screen and (max-width: 1650px) {
	.fillout {
		margin-left: 4rem; 
		margin-right: 4rem;
	}

	img.img_services {
		box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
		width: 25%;
		height: auto;
	}

	.subpages {
		margin-top: 0;
		display: flow-root;
		width: fit-content;
		text-align: center;
		margin: 0 auto;
	}

	.cta {
		padding: 15px 22px;
		margin: 0.5rem;
	}


}


@media only screen and (max-width: 1250px) {
	.subpages {
		margin-top: 0;
		display: inline-grid;
		width: 100%;
	}

	.cta {
		padding: 15px 22px;
		margin: 0.5rem;
	}

	.about {
		padding: 0 0.3rem;
		margin-left: 4rem;
		margin-right: 4rem;
	}

	.row {
		display: block;
    	padding: 0.6rem 0.26rem;
    	margin-left: 4rem;
    	margin-right: 4rem;
	}

	.pic_text{
		height: auto;
	}
	
}

@media only screen and (max-width: 840px) {
	#list {
		padding-top:0;
	}

	.profile {
		line-height: 0.9rem;
	}

	.about {
		padding: 0 0.3rem;
		margin-left: 4rem;
		margin-right: 4rem;
	}

	.row {
		display: block;
    	padding: 0.6rem 0.26rem;
    	margin-left: 4rem;
    	margin-right: 4rem;
	}

	.fillout {
		margin-left: 0; 
		margin-right: 0;
	}

	nav {
		width: 90%;
	}

	.container {
		width: 90%;
	}

	.footer {
		width: 90%;
	}
}

 @media only screen and (max-width: 500px) {
	
	nav {
		width:96%;
	}
	nav ul{ 
		height: 150px;
 		flex-direction: column;
		 text-align: center; 
	}

 	nav ul li a{
		 font-size: 0.9rem;
	}

 	nav ul li:hover{background-color: rgba(0, 0, 0, 0.2);
 		margin:0;}

 	a.links{ height: 50px;
 		flex-direction: column;
 		text-align: center;
		  display: flex;
	}

 	a.links:hover{
 		background-color: rgba(0, 0, 0, 0.2);
		 margin:0; 
	}

	#logo-container {
		width: 30px;
		margin-left: 2%;
	}

    .container{ 
		width: 96%;
    	position: absolute;
		top: 200px;
		height: calc(100% - 240px);
	}

	.personal_info {
		padding: 0 1rem;
		margin-left: 0;
		margin-right: 0;
	}

	.about {
		padding: 0 0.3rem;
		margin-left: 0;
		margin-right: 0;
	}

	.row {
		display: block;
    	padding: 0.6rem 0.26rem;
    	margin-left: 0;
    	margin-right: 0;
	}

	.footer-container {
		width:100%;
		line-height: 17px;
	}

	.footer {
		width: 96%;
		font-size: o.5rem;
	}

    .social{width: 100%;}

    .column1{
    	width: auto;
		padding:0;
		margin-top: 0.5rem;
		margin-bottom: 1rem;
    }

	.profile{margin: 0;}
	
	#profile_img {
		width: 27% !important;
	}

	.contact {
		padding: 0;
	}

	.form-item {
		width: 100%;
	}
}

 	