@charset "UTF-8";

@font-face {
    font-family: "baikal";
    src: url(../fonts/Baikal-Medium.otf);
  }

  @font-face {
    font-family: "basel";
    src: url(../fonts/BaselGrotesk-Medium.ttf);
  }

  html {
    animation: fadeIn 1.5s ease-in-out;
    transition: 0.4s;
    background-color: white;
  }
  
  h1{
    font-size: 1.5em;
    font-family: baikal;
  }

  h2{
    font-size: 1.5em;
    font-family: baikal;
    color: rgb(200, 200, 200);
    transition: 0.6s;
  }

  .tab{
    display: inline-block;
    margin-left: 5%;
  }

ul {
  list-style: none;
  display: grid;
  grid-template-columns: max-content auto;
  font-size: 1.5em;
  font-family: baikal;
  transition: 0.6s;
}

li {
  display: grid;
  grid-column: span 2;
  grid-template-columns: subgrid;
  gap: .4rem;
}

.about{
  width: 100%;
  height: 100%;
  position: absolute;
}

.contactprimo{
  position: relative;
  height: auto;
  width: 100%;
  animation: fadeIn 1.5s ease-in-out;
}

.comunicazione{
  width: 25%;
  height: auto;
  position: relative;
  /* padding: 1rem; */
  display: flex;
  flex-direction: column;
  text-align: left;
  flex-wrap: nowrap;
  left: 25%;
  margin-left: 2rem;
  margin-top: 1rem;
  }

.contact{
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  position: relative;
  animation: fadeIn 2s ease-in-out;
  }

  .contactsection{
    width: 25%;
    height: auto;
    position: relative;
    /* padding: 1rem; */
    display: flex;
    flex-direction: column;
    text-align: left;
    flex-wrap: nowrap;
    margin-left: 1rem;
    margin-top: 1rem;
    }

    .contactsectionuno{
      width: 25%;
      height: auto;
      position: relative;
      /* padding: 1rem; */
      margin-left: 1rem;
      margin-top: 1rem;
      display: flex;
      flex-direction: column;
      text-align: left;
      flex-wrap: nowrap;
      }

.info{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    position: relative;
    animation: fadeIn 2.5s ease-in-out;
    /* padding: 0%; */
    }

      
    .infosection{
      top: 50%;
      transform: translate(0% , 0%);
      width: auto;
      height: auto;
      position: relative;
      margin-top: 5rem;
      margin-bottom: 5rem;
      margin-right: .5rem;
      margin-left: 1rem;
      }

.cv{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    position: relative;
    animation: fadeIn 3s ease-in-out;
    /* padding: 1rem; */
    }
    
    .cvsection{
      width: 50%;
      height: auto;
      position:relative;
      display: block;
      margin-left: 1rem;
      margin-right: 1rem;
      margin-bottom: 1rem;
      /* padding: 0%; */
      }

      .cvsectiondue{
        width: 50%;
        height: auto;
        position:relative;
        display: block;
        margin-right: 1rem;
        margin-left: 0%;
        /* padding: 0%; */
        }

  /* BUTTON INTERACTION */

  h3{
    font-family: basel;
    font-size: 2.5rem;
  }

  .menu {
    height: 2.5rem;
    position: fixed;
    width: auto;
    display: inline-flex;
    align-items: center;
    z-index: 100;
    top: 1rem;
    left: 1rem;
  }

  .menudue {
    height: 2.5rem;
    position: fixed;
    width: auto;
    display: inline-flex;
    align-items: center;
    z-index: 100;
    top: 1rem;
    left: 1rem;
  }

  
  
  .add {
    font-size: 1.5rem;
    color:  black;
    cursor: pointer;
    font-size: 1.5rem;
    background: greenyellow;
    border-radius: 20px;
    height: 100%;
    width: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 2;
  }
  
  .text {
    white-space: nowrap;
    position: relative;
    z-index: 1;
    height: 100%;
    width: 0;
    color: black;
    overflow: hidden;
    background: greenyellow;
    height: 100%;
    display: flex;
    align-items: center;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    margin-left: 20px;
    padding-left: 20px;
    cursor: pointer;
  }

  .menudue .add {
    font-size: 1.5rem;
    color:  black;
    cursor: pointer;
    font-size: 1.5rem;
    background: yellow;
    border-radius: 20px;
    height: 100%;
    width: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 2;
  }
  
  .menudue .text {
    white-space: nowrap;
    position: relative;
    z-index: 1;
    height: 100%;
    width: 0;
    color: black;
    overflow: hidden;
    background: yellow;
    height: 100%;
    display: flex;
    align-items: center;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    margin-left: 20px;
    padding-left: 20px;
    cursor: pointer;
  }

  a {
    text-decoration: none;
    font-family: baikal;
    color: black;
  }

  a:hover{
    color: rgb(200, 200, 200);
  }
  
  .menu:hover .text {
    width: 100%;
    padding-right: 20px;
  }

  .menu:hover .color{
    color: rgb(200, 200, 200);
    transition: 0.3s;
  }

  .menudue:hover .text {
    width: 100%;
    padding-right: 20px;
  }

  .menudue:hover .color{
    color: rgb(200, 200, 200);
    transition: 0.3s;
  }

  



@media (max-width: 900px) {


  h1{
    font-size: 1em;
    font-family: baikal;
  }
  h2{
    font-size: 1em;
    font-family: baikal;
  }
  h3{
    font-size: 2.5rem;
    font-family: basel;
  }

  ul {
    font-size: 1em;
    font-family: baikal;
  }

  .comunicazione{
    width: 25%;
    left: 50%;
    margin-left: 1rem;
    }
  
    .contactsection{
      width: 50%;
      }
  
    .contactsectionuno{
        width: 50%;
        }

        .cv{
        flex-direction: column;
          }

            .cvsection{
              width: auto;
              height: auto;
              margin-left: 1rem;
            }

            .cvsectiondue{
              margin-left: 1rem;
            }

}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }

  /* @keyframes moveIn {
    0% { width: 0%; }
    100% { width: 100%; }
  } */

  html,
body {
  height: 100vh;
}

.divideresterno {
  /* overflow-x: hidden; */
  background-color: white;
  height: 100vh;
  width: 100vw;
}

.dividerinterno {
  height: 100%;
  width: 100%;
  /* position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%); */
  overflow-y: scroll;
  overflow-x: scroll;
  scroll-snap-type: both mandatory;
  z-index: 1;
  /* background-color: rgb(0, 255, 64); */
}

.immagine {
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  text-align: center;
  scroll-snap-align: center;
  /* margin-top: 1%; */
  height: auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.immagine img {  
  scroll-snap-align: start;
  display: inline-block;
  max-height: 100vh;
  max-width: 100%;
  /* overflow:hidden; */
  /* object-fit: cover; */
  

}

img {
  position: relative;

}

