/* -------------------------------------------------------------------------------- */
/* ! BASE */
/* -------------------------------------------------------------------------------- */

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

html,
body {
  overflow-x: hidden;
  scroll-behavior: smooth;
   
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover{
  text-decoration: none;
}

li {
    list-style: none;
}

button {
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  outline: inherit;
  font-size: inherit;
  font-family: inherit;
}

button,
a {
  cursor: pointer;
}


/* ------------------------------------------------ */
/* UTILITY */
.res {
    width: 100%;
    max-width: 600px;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
}


/* PALETTE */
:root {
  --light: #ffffff;
  --dark: #131126;
  --accent: #dcabec;
  --accent-secondary: #7f7c9fa6;
  --text: #ffffffb3;
  --text-secondary: #54535b;

}


/* ------------------------------------------------ */
/* HEADER */

header {
  position: fixed;
  margin-top: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  border-radius: 50px;
  box-shadow: 0 8px 16px rgba(19, 17, 38, 0.7);
  padding: 20px 30px;
  z-index: 1000;
  transition: top 0.3s ease-in-out;
}

nav {
  display: flex;
  justify-content: center;
}

nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 1.2em;
  font-family: "Work Sans", sans-serif;
  font-weight: 500;
  transition: color 0.3s;
  padding: 0 10px;
}

nav a:hover {
  color: var(--dark);
}

.headerhome {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 2px; 
  text-decoration-color: var(--text-secondary);
  transition: color 0.2s;
}

.headerhome:hover {
  text-decoration-color: var(--dark);
}



/* ------------------------------------------------ */
/* SETUP BODY */

.contenitore {
    display: flex;
    gap: 0;
    flex-direction: row;
}

.colonnasinistra {
  width: 50%;
  height: 100vh;
  display: flex;
  align-items: center;
  /* margin: 0 6%; */
  flex-direction: column;
  overflow: hidden;
  position: fixed;
  margin-top: 200px;
}

.colonnadestra {
  max-width: 50%;
  overflow: auto;
  margin-left: 50%; 
  padding: 0 4%;
  background-color: var(--dark);
  display: flex;
  flex-direction: column;
  gap: 100px;
}



/* ------------------------------------------------ */
/* INTRO SINISTRA */

.title-page {
  display: flex;
  padding: 30px 51px;
  margin: 0 10%;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.title-page h1 {
    font-size: 48px;
    font-family: "Funnel Sans", sans-serif;
    font-weight: 600;
    color: var(--light);
}

.title-page h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--light);
  font-family: "Work Sans", sans-serif;
}

.title-page p {
    font-size: 16px;
    color: #fff;
    font-family: "Work Sans", sans-serif;
}

.title-page button {
  background-color: var(--accent-secondary);
  color: var(--accent);
  font-size: 1em;
  border: 0px;
  padding: 10px 30px;
  text-transform: uppercase;
  border-radius: 30px;
  letter-spacing: 3px;
  margin-top: 20px;
}



/* ------------------------------------------------ */
/* ABOUT */

.about {
    padding: 200px 0;
}

.about p{
  font-size: 16px;
  font-family: "Work Sans", sans-serif;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 12px;
  padding: 10px 0;
}

.about p a{
  color: #fff;
  font-weight: 500;
}

.about p a:hover{
  color: var(--accent);
  text-decoration: none;
}



/* ------------------------------------------------ */
/* PROJECTS */

.projects-container {
  display: flex;
  width: 620px;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
  color: var(--text);
}

.projects {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 45px;
  align-self: stretch;
}


.projects>a:hover {
  text-decoration: none;
}

.single-projects {
  display: flex;
  padding: 20px 0;
  align-items: flex-start;
  gap: 20px;

}

.single-projects>img {
  width: 170px;
  height: 120px;
}

.single-projects>div{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.single-projects .projects_title {
  color: var(--text);
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 18px;
}

.single-projects a:hover{
  text-decoration: none;
  
}

.single-projects .projects_description {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  color: var(--text);
  font-size: 16px;
}

.single-projects .projects_tags {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.single-projects .projects_tags>span {
  display: flex;
  padding: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 28px;
  background: var(--accent-secondary);
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}

.view-all a {
  color: var(--text);
  text-decoration: none;
}

.view-all a:hover {
  color: var(--text);
  text-decoration: none;
}




/* ------------------------------------------------ */
/* PROJECTS */

.experience-container {
  display: flex;
  width: 620px;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
  color: var(--text);
}

.experience {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 45px;
  align-self: stretch;
}


.experience>a:hover {
  text-decoration: none;
}

.single-experience {
  display: flex;
  padding: 20px 0;
  align-items: flex-start;
  gap: 20px;

}

.single-experience>div{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.single-experience .experience_title {
  color: var(--text);
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 18px;
}

.single-experience a:hover{
  text-decoration: none;
}

.single-experience>span {
  padding-top: 5px;
  min-width: 170px;
  font-weight: 300;
  color: var(--text);
  opacity: 0.8;
}

.single-experience .experience_description {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  color: var(--text);
  font-size: 16px;
}

.single-experience .experience_tags {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.single-experience .experience_tags>span {
  display: flex;
  padding: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 28px;
  background: var(--accent-secondary);
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}


