@import url("https://fonts.googleapis.com/css?family=Roboto:100,200,300,400,500,600,700|Exo:100,200,300,400,500,600,700");
@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&display=swap");

* {
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: #383d41;
  background-image: linear-gradient(
      30deg,
      #166945 12%,
      transparent 12.5%,
      transparent 87%,
      #166945 87.5%,
      #166945
    ),
    linear-gradient(
      150deg,
      #166945 12%,
      transparent 12.5%,
      transparent 87%,
      #166945 87.5%,
      #166945
    ),
    linear-gradient(
      30deg,
      #166945 12%,
      transparent 12.5%,
      transparent 87%,
      #166945 87.5%,
      #166945
    ),
    linear-gradient(
      150deg,
      #166945 12%,
      transparent 12.5%,
      transparent 87%,
      #166945 87.5%,
      #166945
    ),
    linear-gradient(
      60deg,
      #16694577 25%,
      transparent 25.5%,
      transparent 75%,
      #16694577 75%,
      #16694577
    ),
    linear-gradient(
      60deg,
      #16694577 25%,
      transparent 25.5%,
      transparent 75%,
      #16694577 75%,
      #16694577
    );
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
}

/*--------------------------------------------Heading*/

header {
  margin: 0;
}

.heading {
  margin-left: 30px;
}

.name {
  font-family: "Exo", sans-serif;
  font-weight: 600;
  font-size: 3rem;
  margin-top: 20px;
  color: #ffffff;
}

.title {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #ffffff;
}

#intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.language-btn {
  text-align: right;
  padding: 20px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.language-btn button.active {
  border: 2px solid #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
  transform: scale(1.05);
}

.eng,
.ita {
  margin: 5px;
}

.eng {
  background: url(../images/gb-icon.png) no-repeat center center/cover;
  width: 35px;
  height: 20px;
  border: none;
}

.ita {
  background: url(../images/it-icon.png) no-repeat center center/cover;
  width: 35px;
  height: 20px;
  border: none;
}

.eng:hover,
.ita:hover {
  cursor: pointer;
  border: none;
}

.quote {
  color: #fff;
  padding: 0 30px 30px;
  font-family: "Fira Code", monospace;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

.quote h2 {
  font-size: 1rem;
}

.list-inline-item:not(:last-child) {
  margin: 0;
}

.menucontainer {
  font-size: 0;
}

#nav li {
  background-color: #212529b3;
  width: 20%;
  font-size: 14px;
  padding: 0;
  height: 80px;
}

#nav li:hover {
  background-color: #000000;
}

.hvr-sweep-to-bottom::before {
  background: #000000;
  height: 80px;
}

#nav {
  margin: 0;
}

.menuitem {
  height: 120px;
  text-align: center;
  padding: 0;
}

.menuitem a {
  width: 100%;
  text-decoration: none;
  color: #fff;
  height: 30px;
}

.menuitem a i {
  padding-top: 22px;
  display: block;
  color: #fafafa;
  font-size: 1rem;
}

.menuitem span {
  font-family: "Exo", sans-serif;
  display: block;
  width: 100%;
  padding-top: 5px;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.5rem;
  font-weight: 300;
  letter-spacing: 2px;
}

.homepage {
  color: #fff;
}

.homepage h3 {
  font-size: 1rem;
  padding: 30px 10px 10px;
}

.homepage p {
  font-size: 1rem;
}

.home-intro,
.home-intro2 {
  padding: 10px;
}

.home-intro {
  font-family: "Exo", sans-serif;
  font-weight: 400;
  text-align: center;
}

.home-intro h2 {
  letter-spacing: 5px;
  font-size: 1.2rem;
  padding-top: 30px;
}

.home-intro p {
  letter-spacing: 2px;
}

.home-intro2 h2 {
  font-size: 2.5rem;
  padding-top: 20px;
}

.home-intro2 p {
  padding-left: 10px;
}

.home-intro a {
  color: #fff;
}

div#map {
  min-height: 360px;
}

.contact-me {
  text-align: center;
}

.contact-me a {
  font-family: "Exo", sans-serif;
  font-size: 1.5rem;
  color: #fafafa;
  text-decoration: underline;
}

/*Contact Page*/

#form-section {
  padding: 30px;
}

.form-control {
  border: 1px solid #343a40;
  border-radius: 0;
}
#contact-form-button {
  padding: 30px;
}

#contact-form-button button {
  background-color: #212529b3;
  border-color: #161414;
}

#contact-form-button button:hover {
  background-color: #000000;
}

.project-title {
  color: #fff;
  padding: 10px;
}

.contacts {
  color: #fafafa;
  font-size: 1.5rem;
  text-align: left;
  padding-left: 20px;
}

.contacts h5 {
  font-size: 2rem;
}

/*About Me Page */

#about {
  padding: 30px;
  color: #fff;
}

#about h3 {
  font-size: 2.5rem;
  font-family: "Exo", sans-serif;
  padding-top: 20px;
}

#about h4 {
  font-size: 1.5rem;
}

.progress-type {
  color: #000000;
  padding-left: 10px;
}

.about-me a {
  text-decoration: none;
  color: #fafafa;
}

.about-me a:hover {
  text-decoration: underline;
}

/*Alerts*/

.swal2-popup {
  font-family: "Exo", sans-serif;
  font-size: 1rem;
  color: #000000;
  background-color: #ffffff;
}

.swal2-confirm {
  font-family: "Exo", sans-serif;
  background-color: #0000009b;
  border: solid #161414 1px;
}

/*Media query for large or landscape phones (570px and up)*/
@media screen and (min-width: 570px) {
}

/*Media query for tablets and larger (768px and up)*/
@media screen and (min-width: 768px) {
}

/*Media query for laptops and larger screens (992 and up)*/
@media screen and (min-width: 992px) {
}

/*Media query for computers,large laptops and upwards (1200px and higher)*/
@media screen and (min-width: 1200px) {
  .heading {
    margin-left: 50px;
  }

  .name {
    font-size: 5rem;
    margin-top: 50px;
  }

  .title {
    font-size: 3.5rem;
    margin-bottom: 90px;
    margin-top: 20px;
  }

  .quote {
    padding: 50px;
    margin-bottom: 30px;
  }

  .quote h2 {
    font-size: 2rem;
  }

  .language-btn {
    text-align: right;
    padding: 20px;
  }

  .eng {
    width: 50px;
    height: 30px;
  }

  .ita {
    width: 50px;
    height: 30px;
  }

  #nav li {
    height: 100px;
  }

  .hvr-sweep-to-bottom::before {
    background: #000000;
    height: 100px;
  }

  .menuitem a {
    height: 30px;
  }

  .home-intro,
  .home-intro2 {
    padding: 10px 50px 10px 50px;
  }

  .home-intro h2 {
    font-size: 3rem;
  }

  .home-intro2 h2 {
    font-size: 4rem;
  }

  .home-intro2 p {
    padding-left: 60px;
  }

  .homepage h3 {
    font-size: 2rem;
    padding-top: 50px;
  }

  .homepage p {
    font-size: 1.5rem;
  }

  .menuitem a i {
    font-size: 1.5rem;
  }

  .menuitem span {
    font-size: 1rem;
  }

  /*Contact Page*/

  #form-section {
  padding-left:300px;
  padding-right:300px;
}
}
