body, html {
  font-family: 'Roboto', sans-serif;
  color: #292929;
  scroll-behavior: smooth;
  font-weight: 300;
  font-size: 18px;
  word-break: break-word;
}

strong {
  font-weight: 700;
}

b {
  font-weight: 500;
}

h1 {
  font-size: 80px;
  font-style: normal;
  font-weight: 500;
  margin: 15px 0px;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 35px;
  font-weight: 500;
}

h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 600;
}

h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

button {
  display: inline-block;
  margin: 0px 70px;
  border: none;
  text-align: center;
  text-transform: uppercase;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 17px;
  padding: 20px 50px;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  border-radius: 40px;
  -webkit-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.16);
  -moz-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.16);
  box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: .3s ease;
  -webkit-transition: all 0.3s;
}

button:hover {
  -webkit-box-shadow: 5px 5px 7px 0px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 5px 5px 7px 0px rgba(0, 0, 0, 0.25);
  box-shadow: 5px 5px 7px 0px rgba(0, 0, 0, 0.25);
  transition: .3s ease;
  -webkit-transition: all 0.3s;
}

.section-title {
  text-align: center;
  padding-bottom: 40px;
}

.outer-container {
  max-width: 1200px;
  margin: auto;
}

section {
  padding: 80px 0px 60px 0px;
}

section.grey {
  background-color: #EBEBEB;
}

.under-title {
  height: 30px;
}

/* SPACE-BETWEEN */

.space-between {
  text-align: justify;
}

.space-between:after {
  content: '';
  display: inline-block;
  width: 100%;
}

.space-between .item {
  display: inline-block;
}

/* end */

/* CENTER */

.center {
  display: table;
  width: 100%;
}

.center .c-item {
  display: table-cell;
  vertical-align: middle;
}

.hidden {
  visibility: hidden;
}

/* MENU */

nav {
  position: fixed;
  color: #FFB8B8;
  z-index: 9999;
  padding: 15px 0px;
  background: rgba(0, 0, 0, 0.3);
  width: 100%;
}

nav ul {
  width: 1200px;
  text-align: right;
  margin: auto;
}

nav li {
  display: inline-block;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 15px;
  padding-left: 40px;
  cursor: pointer;
}

nav li a {
  color: black !important;
  text-decoration: none !important;
}

/* end menu */

/* MOBILE MENU */

#mobile-nav {
  display: none;
  position: fixed;
  z-index: 9999;
}

#menu-buttons {
  position: fixed;
  top: 0;
  right: 0;
  color: #FFB8B8;
  font-size: 2em;
  width: 40px;
  margin: 15px 15px;
  text-align: center;
  z-index: 1;
}

#cross {
  display: none;
}

#menu {
  display: none;
  background-color: rgba(0, 0, 0, 0.9);
  height: 100%;
  position: fixed;
  z-index: 0;
  width: 100%;
  top: 0;
  left: 0;
}

#menu ul {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 70%;
  padding: 50px 0px;
  vertical-align: middle;
}

#menu ul li {
  padding: 20px 0px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#menu ul li:last-child {
  border-bottom: 0px;
}

#menu ul li a {
  color: #FFB8B8;
  ;
  text-decoration: none;
}

/* end mobile menu */

/* HOMEPAGE */

.parallax-outer {
  height: 100vh;
}

.parallax {
  /*background-image: url("../images/pexels-dominika-roseclay-1036808.jpg");
background-image: url("../images/download.png");*/
  background-image: url("../images/yellow.jpg");
  /* background-image: url("../images/patrick-tomasso-QMDap1TAu0g-unsplash.jpg");*/
  height: 100%;
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#homepage {
  bottom: 150px;
  position: absolute;
  left: 50%;
  width: 1200px;
  -webkit-transform: translate(-50%);
  -ms-transform: translate(-50%);
  transform: translate(-50%);
}

header {
  font-family: 'Montserrat', sans-serif;
  color: white;
  font-size: 39px;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 100px;
  justify-content: center;
}

#header-text {
  font-size: 25px;
  font-weight: 300;
  margin: 70px 0px 110px 0px;
}

.skill-box {
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  text-align: center;
}

.skill-box i {
  display: block;
  font-size: 70px;
  margin-bottom: 30px;
  transition: .3s ease;
  -webkit-transition: all 0.3s;
}

.skill-box i:hover {
  transition: .3s ease;
  -webkit-transition: all 0.3s;
}

.skill-box .fa-code:hover {
  color: #9B59B6;
}

.skill-box .fa-database:hover {
  color: #3498DB;
}

.skill-box .fa-mobile-alt:hover {
  color: #e74c3c;
}

.skill-box .fa-pencil-ruler:hover {
  color: #2ECC71;
}

.skill-box .fa-globe:hover {
  color: #f1c40f;
}

.formation_title {
  margin-top: 15px;
}

.formation_ul {
  margin-top: -15px;
}

/* end homepage */

/* ABOUT */

.box1 {
  width: 370px;
}

.box1 p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 15px;
  padding-top: 10px;
  line-height: 30px;
}

.img-container {
  position: relative;
}

.img-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transition: .5s ease;
}

.img-container:hover .img-overlay {
  opacity: 1;
}

.box2 {
  vertical-align: top;
  width: 755px;
}

.box2 h2 {
  padding-bottom: 25px;
}

.box2 p {
  padding: 10px 0px;
  line-height: 30px;
}

.box3 {
  display: none;
}

#buttons-container {
  margin-top: 40px;
  text-align: center;
}

button#cont {
  background-color: #3FA8FD;
}

button#cv {
  background-color: #2FDC9C;
}

/* end about */

/* SKILLS */

#skills {
  overflow: hidden;
}

#skills .skill {
  margin-bottom: 40px;
}

#skills .skill .c-item.content {
  padding: 25px 40px 0px;
  font-size: 16px;
  background-color: white;
  line-height: 26px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  -webkit-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.16);
  -moz-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.16);
  box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.16);
  width: 65%;
}

#skills .c-item.icon {
  font-size: 140px;
  width: 27%;
  text-align: center;
}

#skills .front {
  color: #9B59B6;
}

#skills .back {
  color: #3498DB;
}

#skills .cms {
  color: #E67E22;
}

#skills .design {
  color: #2ECC71;
}

#skills .env {
  color: #95A5A6;
}

#skills h4 {
  font-size: 22px;
  margin-bottom: 10px;
}

#skills .content .item.desc {
  margin-bottom: 20px;
}

#skills .content .item.desc.end {
  margin-bottom: 30px;
  line-height: 35px;
}

#skills .content .item.desc.end i {
  width: 25px;
}

#skills .content .el {
  line-height: 30px;
  width: 46%;
}

#skills .space-between {
  margin-bottom: -13px;
}

#skills .space-between .item {
  vertical-align: top;
}

#skills .space-between .item.names {
  font-weight: 500;
}

#skills #front-end .space-between .item.stars {
  color: #9B59B6;
}

#skills #back-end .space-between .item.stars {
  color: #3498DB;
}

#skills #cms .space-between .item.stars {
  color: #E67E22;
}

#skills #web-design .space-between .item.stars {
  color: #2ECC71;
}

/* end skills */

/* EXPERIENCE */

#timeline {
  position: relative;
  max-width: 100%;
  margin-left: 0 auto;
  margin-top: 40px;
  animation-delay: 0.5s;
}

#timeline::after {
  content: '';
  position: absolute;
  width: 5px;
  background-color: #EBEBEB;
  top: 0;
  bottom: 0;
  left: 190px;
}

.event {
  position: relative;
  width: inherit;
}

.event .left {
  position: absolute;
  top: calc(50% - 30px);
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  line-height: 20px;
  width: 132px;
}

.event h3 {
  padding-bottom: 10px;
}

.event .place {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 500;
  padding-bottom: 25px;
}

.event h3 i {
  width: 45px;
}

.event.work h3 {
  color: #3498DB;
}

.event.exp h3 {
  color: #E67E22;
}

.event.school h3 {
  color: #2ECC71;
}

.event .right {
  padding: 20px 0px 40px;
  position: relative;
  background-color: inherit;
  margin-left: 290px;
}

.event .right::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: #EBEBEB;
  top: calc(50% - 12px);
  border-radius: 50%;
  z-index: 1;
}

.event .right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: calc(50% - 10px);
  width: 0;
  z-index: 1;
  left: -10px;
  border: medium solid #EBEBEB;
  border-width: 10px 10px 10px 0;
  border-color: transparent #EBEBEB transparent transparent;
}

.event .right::after {
  left: -110px;
}

.event .right .content {
  padding: 30px 40px 20px 40px;
  font-size: 16px;
  background-color: #EBEBEB;
  position: relative;
  line-height: 26px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  -webkit-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.16);
  -moz-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.16);
  box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.16);
}

#timeline .event .right .date {
  display: none;
  text-align: left;
  padding-bottom: 5px;
  font-family: 'Montserrat', sans-serif;
}

#experience li {
  padding-bottom: 10px;
}

#experience li:before {
  content: '•';
  padding-right: 10px;
}

#formation li {
  padding-bottom: 10px;
}

#formation li:before {
  content: '•';
  padding-right: 10px;
}

.fomation_section {
  margin-top: -100px;
}

/* end experience */

/* PROJECTS */

.project {
  position: relative;
  width: 575px;
  height: 402px;
  background-color: white;
  margin-top: 40px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  -webkit-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.16);
  -moz-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.16);
  box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.16);
}

.project:hover .overlay {
  height: 100%;
  transition: all 0.5s;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  -webkit-transition: all 0.5s;
}

.image-box {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 326px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
}

.image-box:after {
  content: '\A';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0.4;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
}

#soleil .image-box {
  background-image: url('../images/project-weather-app.jpg');
}

#portofolio .image-box {
  background-image: url('../images/project-portofolio.JPG');
}

#groupomania .image-box {
  background-image: url('../images/project-groupomania.JPG');
}

#covid .image-box {
  background-image: url('../images/covid.PNG');
}

#sopekocko .image-box {
  background-image: url('../images/project-sopekocko.JPG');
}

#natura .image-box {
  background-image: url('../images/project-naturagreaca.JPG');
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  overflow: hidden;
  width: 100%;
  height: 76px;
  transition: .5s ease;
  -webkit-transition: all 0.5s;
  -webkit-border-bottom-right-radius: 15px;
  -webkit-border-bottom-left-radius: 15px;
  -moz-border-radius-bottomright: 15px;
  -moz-border-radius-bottomleft: 15px;
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 15px;
}

.overlay .text {
  text-align: center;
  padding-top: 30px;
  height: 100%;
}

#projects ul.tags {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: white;
  margin-top: 25px;
}

#projects .tags li {
  display: inline-block;
  padding: 5px;
  margin: 5px;
  background-color: #FFB8B8;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

#projects ul.desc {
  margin: 20px 30px;
  height: 170px;
  font-size: 15px;
  line-height: 25px;
  text-align: left;
  overflow: auto;
}

#projects .desc li:before {
  content: '•';
  padding-right: 10px;
}

#projects button {
  margin: 0px;
  font-size: 15px;
  padding: 12px 30px;
  background-color: #2FDC9C;
}

#projects button i {
  padding-left: 15px;
}

/* end projects */

/* CONTACT */

.contact-subtitle {
  text-align: center;
  margin: 10px 0px 70px;
  line-height: 50px;
}

.contact-box {
  width: 24%;
  text-align: center;
  padding: 30px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
}

.contact-box .text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
}

.contact-box i {
  font-size: 60px;
  padding-bottom: 30px;
}

.phone {
  background-color: #EFE5F3;
  color: #9B59B6;
}

.email {
  background-color: #E0EFF9;
  color: #3498DB;
}

.meet {
  background-color: #DFF7E9;
  color: #2ECC71;
  line-height: 25px;
}

.meet p {
  color: #707070;
  padding-top: 20px;
  line-height: 23px;
}

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=email], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

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

.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}

#msg_success {
  margin-top: 15px;
  background-color: #45A049;
  width: 300px;
  color: white;
  border-radius: 15px;
  vertical-align: middle;
}

#msg_error {
  margin-top: 15px;
  background-color: red;
  width: 300px;
  color: white;
  border-radius: 15px;
  vertical-align: middle;
}

.msg_success {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30px;
  font-weight: 400;
  font-size: 1em;
}

/* end contact */

/* FOOTER */

footer {
  background-color: #292929;
  color: white;
  font-size: 13px;
  text-align: center;
  padding: 25px;
  line-height: 20px;
}

footer i {
  font-size: 21px;
  margin: 0px 10px 15px;
  padding: 10px 0px;
  width: 40px;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  border-radius: 40px;
  cursor: pointer;
  color: white;
  transition: .5s ease;
  -webkit-transition: all 0.5s;
}

footer i:hover {
  background-color: #292929;
  transition: .5s ease;
  -webkit-transition: all 0.5s;
}

footer .fa-linkedin-in {
  background-color: #007bb6;
}

footer .fa-viadeo {
  background-color: #ee7252;
}

footer .fa-print {
  background-color: #8c8c8c;
}

/* end footer */

@media screen and (max-width: 1300px) {
  nav ul {
    width: auto;
    margin-right: 40px;
  }
  #homepage {
    width: 85%;
  }
  header {
    font-size: 33px;
  }
  .outer-container {
    max-width: 85%;
  }
  .box1 {
    width: 30%;
  }
  .box2 {
    width: 65%;
  }
  .box2 p {
    font-size: 17px;
  }
  .project {
    width: 100%;
    height: 400px;
  }
  .contact-box .text {
    font-size: 16px;
  }
}

@media screen and (max-width: 1056px) {
  .contact-box .text {
    font-size: 0.75em;
  }
}