* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #FFF8F0;
  font-family: Arial, Helvetica, sans-serif;
  color: #03989E;
  margin: 6px;
}

html {
  overflow-x: hidden;
}

/*home*/
.hello {
  font-size: 29px;
}

.menu2 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 100%;
  height: 650px;
  padding-bottom: 15px;
  padding-top: 100px;
}

.my-name {
  color: #070762;
}

.first-impression {
  width: 685px;
  height: 300px;
  padding-top: -50px;
}

.first-impression .text1 {
  margin-right: 80px;
  pointer-events: none;
  z-index: 1;
}

section:nth-of-type(1) .button {
  margin-bottom: 53px;
  padding: 12px 40px 12px 15px;
  position: relative;
}

.button1 {
  width: 500px;
  height: 500px;
}

.button1 .my-work-button {
  background-color: #03989E;
  border: 2px solid;
  color: #FFF8F0;
  padding: 30px 80px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 30px;
  white-space: nowrap;
  margin-bottom: 10px;
  cursor: pointer;
  margin-top: 30px;
}

.container1 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 400px;
  margin-top: -55px;
}

.container1 img {
  opacity: 1;
  display: block;
  width: 300px;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
  border: 8px;
  margin-left: 40px;
}

.container1 .overlay {
  transition: .5s ease;
  margin-left: 125px;
  margin-top: 50px;
  opacity: 0;
  position: absolute;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  cursor: pointer;
  background-color: #03989E;
}

.container1:hover .image {
  opacity: 0.3;
}

.container1:hover .overlay {
  opacity: 1;
}

.text2:hover {
  opacity: 0.6;
}

.my-work-button:hover {
  opacity: 0.5;
}

.text2 {
  white-space: nowrap;
  color: #FFF8F0;
  font-size: 20px;
  padding: 12px 24px;
}

.guarda-lavori,
.link-chi-sono {
  text-decoration: none;
  background-color: #03989E;
  color: #FFF8F0;
}

/*Portfolio*/
.container-projects {
  display: flex;
  flex-direction: column;
  margin-top: 15px;
}

.container-projects .project_title {
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  border: 1px solid;
  padding: 10px;
  padding-top: 15px;
  box-shadow: 5px 10px;
  text-shadow: 1px 1px black;
}

.container-projects .project_p {
  font-size: 20px;
  text-align: center;
  margin-bottom: 30px;
}

.container-project1,
.container-project2 {
  display: flex;
  align-items: center;
  margin-left: 30px;
}

.container-project1 .project-foto,
.container-project2 .project-foto {
  border: solid #03989E 5px;
  border-radius: 10px;
  width: 400px;
  height: auto;
}

.container-all-projects-info {
  display: flex;
  flex-direction: column;
  width: 500px;
  margin-left: 50px;
}

.container-all-projects-info h3 {
  text-align: justify;
  font-size: 22px;
  margin-left: 15px;
  margin-bottom: 10px;
}

.container-all-projects-info .project_text {
  font-size: 20px;
  text-align: justify;
  margin-bottom: 30px;
  margin-left: 15px;
  line-height: 1.3;
}

.container-project1 {
  margin-bottom: 50px;
  margin-top: 45px;
}

button > img {
  vertical-align: middle;
}

.container_all_projects_btn {
  display: flex;
  flex-direction: row;
}

.container_all_projects_btn .projects_btn {
  background-color: #03989E;
  border: 3px solid;
  border-radius: 8px;
  color: #FFF8F0;
  cursor: pointer;
  font-size: 18px;
  padding: 8px 20px;
  margin-right: 70px;
  margin-left: 15px;
}

.container_all_projects_btn .projects_btn .icons2 {
  margin-right: 5px;
  width: 25px;
  height: 20;
}

.projects_btn:hover {
  box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
}

/* About */
.container-about {
  display: flex;
  justify-content: center;
}

article {
  width: 50%;
  padding-top: 40px;
}

article .about {
  font-size: 30px;
  text-align: center;
  margin-bottom: 10px;
  border: 1px solid;
  padding: 10px;
  box-shadow: 5px 10px;
  text-shadow: 1px 1px black;
}

article .text-about {
  width: 100%;
  font-size: 22px;
  text-align: justify;
  margin-left: 15px;
  margin-right: 15px;
}

.quote {
  display: flex;
  width: 60%;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  padding-bottom: 0px;
}

.language-skills {
  width: 50px;
  height: 50px;
}

.mainskills {
  display: grid;
  grid-template-rows: 1fr;
  margin-top: 60px;
  gap: 10px;
  grid-template-areas: "a a a a b b b b" "a a a a b b b b";
  justify-content: center;
  height: 150px;
}

.mainskills .container_all_skills {
  margin: 20px 20px;
  padding: 5px 10px;
  text-transform: lowercase;
  height: 150px;
}

.mainskills .skills {
  background-color: #FFF8F0;
  border: 3px solid;
  border-radius: 8px;
  color: #03989E;
  cursor: pointer;
  font-size: 20px;
  padding: 10px;
  opacity: 1;
  transition: all .4s ease 0s;
}

.skills:hover {
  box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
}

button > img,
button > span {
  vertical-align: middle;
}

.skill-title {
  margin-top: 100px;
  text-align: center;
  font-size: 30px;
  text-shadow: 1px 1px black;
}

.soft-skills {
  background-color: #FFF8F0;
  border: 3px solid;
  border-radius: 8px;
  color: #03989E;
  cursor: pointer;
  font-size: 20px;
  padding: 10px;
  opacity: 1;
  transition: all .4s ease 0s;
}

.soft-skills:hover {
  box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
}

span {
  text-transform: capitalize;
}

/* Contacts */

form {
  display: flex;
  flex-direction: column;
}

.test {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
}

.test .cntc-me {
  text-align: center;
  font-size: 30px;
  border: 1px solid;
  padding: 10px;
  box-shadow: 5px 10px;
  width: 100%;
  text-shadow: 1px 1px black;
}

.test .qst {
  margin-top: 55px;
  text-align: center;
  margin-bottom: 40px;
  font-size: 35px;
}

.contact-form {
  margin: 4px 0;
  padding: 8px;
  border: 2px solid #03989E;
  border-radius: 4px;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #FFF8F0;
}

.contact-form1 {
  color: #03989E;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  margin: 4px 0;
  padding: 8px;
  border: 2px solid #03989E;
  border-radius: 4px;
  background-color: #FFF8F0;
  cursor: pointer;
}

.maincontacts {
  display: grid;
  grid-template-rows: 1fr;
  margin-top: 60px;
  gap: 10px;
  grid-template-areas: "a a a a b b b b" "a a a a b b b b";
  justify-content: center;
}

.maincontacts .container_all_contacts {
  margin: 20px 20px;
  padding: 5px 10px;
  text-transform: lowercase;
}

a:-webkit-any-link {
  cursor: pointer;
}

.contacts {
  background-color: #FFF8F0;
  border: 3px solid;
  border-radius: 8px;
  color: #03989E;
  cursor: pointer;
  font-size: 18px;
  opacity: 1;
  padding: 8px 20px;
  transition: all .4s ease 0s;
}

.social-contact {
  width: 20px;
  height: 20px;
}

.icons {
  max-width: 100%;
  height: auto;
  white-space: nowrap;
  margin-right: 2px;
}

button > img {
  vertical-align: middle;
}

.contacts-container {
  background-color: #FFF8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  padding-top: 15px;
}

.container_all_contacts:hover,
.contact-form1:hover {
  box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
  border-radius: 20px;
}
