/*utilities*/
* {
    margin:0;
    padding:0;
    box-sizing: border-box;
}
.container_my{
    display:flex;
    flex-wrap:wrap;
    flex-grow: 1;
    flex-shrink:0;
    flex-basis:500px;
    width:100%;
    height: 100%;
}
/*container pagina interessi*/
.container_int{
    display:flex;
    min-height: 100vh;
    max-width:100%;
    max-height:100%;
    flex-wrap: wrap;
    flex-grow:1;
    flex-shrink:0;
    flex-basis:500px;
    flex-direction: column;
}
/*container curriculum*/
#container_cv{
    display:flex;
    flex-wrap:wrap;
    flex-grow: 1;
    width:100%;
    height: 100%;
    margin:0;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.container-fluid{
    margin:0 !important;
    width: 100% !important;
    display:flex !important;
}
.navbar{
    background-color: rgba(95, 94, 94, 0.81) !important;
    color:white !important;
    padding-top: 0.10rem !important;
    padding-bottom: 0.10rem !important;
    font-size:0.7rem;
}
.navbar .container-fluid{
    display:flex !important;
    justify-content: center !important;
    
}

.head_comp{
    background-color: rgb(139, 139, 139);
    width:100%;
    height: 10vh;
    
}
.icon{
    width:6vh;
    height: 6vh;
}

/*text*/
.josefin {
  font-family: "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.parkinsans {
  font-family: "Parkinsans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
.monoton-regular {
  font-family: "Monoton", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.prata {
  font-family: "Prata", serif;
  font-weight: 400;
  font-style: normal;
}

.effects{
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}
.effect_wh {
    text-shadow: 2px 2px 2px rgba(255, 255, 255, 0.5);
}
.bottone{
    padding:10px;
    background-color: black;
    color:white;
    border-radius:5px;
    text-decoration: none;
    border:2px solid gray;
    margin:5px;
}
.bottone:hover{
    background-color: gray;
}
.bottoni{
    margin:5px;
    padding:10px;
}
.bott_small{
    border:1px solid white;
    padding:7px;
    margin-top:3px;
    margin-bottom:3px;
    background-color: rgb(86, 86, 86);
    color:white;
    text-decoration: none;
    border-radius:4px;
    font-size: 0.8rem;
}
.bott_small:hover{
    background-color: rgb(48, 47, 47);
}

.title_big{
    font-size: 2.rem;
    font-weight: 400;
    color: rgb(213, 213, 213);
}
.title{
    display:flex;
    font-size:36px;
    margin:20px;
    justify-content: center;
}
.subtitle{
    display:flex;
    font-size:22px;
    text-align: center;
}
.titolo{
    display: flex;
    flex-basis: 40%;
    padding:5px;
    padding-left: 5px;
    vertical-align: middle;
    text-align: center;
}
.big{
    font-size:4rem;
    font-weight: 600;
}
.small{
    font-size:1.5rem;
    font-weight: 600;
    color: rgb(213, 213, 213);
}
.extra-sm{
    font-size:1rem;
    font-weight: 600;
    color: rgb(213, 213, 213);
}
/*index*/
.home{
    display: flex;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), url('../img/57468d8387042651790a73ade6a0d224.jpg');
    color:rgb(203, 202, 202);
    width:100%;
    margin:0 !important;
    min-height: 90vh;
    background-size: cover;
    height: 100%; 
}
.name{
    display:flex;
    flex-direction: column;
    flex-basis:50%;
    align-items: center;
    justify-content: center;
    text-align: start;  
}

.desc{
    display:flex;
    flex-basis:50%;
    flex-direction: column;
    align-items:start;
    justify-content: center;
}

/*about*/

.about{
    background-color: rgb(56, 56, 56);
    min-height:40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#img_about{
    display:flex;
    width:100%;
    background-size:contain;
    justify-content: center;
    background-repeat: no-repeat;
}
.left h1{
    display:flex;
    justify-content: center;
    border-bottom:2px solid white;
}

.left_bott{
    font-size:1rem;
    color: rgb(213, 213, 213);
    width:70%;
    font-weight: 500;
}

#mappa {
      height: 20vh;
      width: 40%;
      border: 2px solid #444;
      border-radius: 8px;
      align-content: start;
    }
.map{
    width:100%;
    font-size:1.2rem;
    display:flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
}

.work{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-basis:50%;
}
/*competenze*/

.progress{
    width:100%;
}

.skills{
    background-color: rgba(56, 56, 56, 0.673);
    width:100%;
    min-height: 50vh; 
}

.riga{
    display:flex;
    font-size:1rem;
    justify-content: start;
    margin-top:10px;
    width: 100%;
}   
li{
    padding:10px;
}

.visnoto{
    display:flex;
    flex-direction: column;
    align-items: center;
}
#skil-bot{
    display:flex;
    justify-content: center;
}
ul{
    list-style-type: none;
    padding-left:0;
}

/*progetti*/
.head{
    width:100%;
    min-height:15vh;
    background-color: black;
    padding:10px;
    text-align: center;
    vertical-align: end;
    padding-top:20px;
}

#head_pr{
    background-color: #868686;
    width:100%;
    text-align: center;
}
.proj{
    background-image: url('../img/sfondo_project.jpg');
    background-size: cover;
}


.fixed-img{
    width:100%;
    max-height:38vh !important;
    object-fit: cover;
    
}


/* cv */ 
#logo{
    width:80%;
    border-radius: 4px;
    box-shadow: 4px 4px 4px white;
}

.left-column {
      width: 35%;
      background: #2c3e50;
      color: white;
      padding: 2rem;
}
.right-column {
      width: 65%;
      padding: 2rem;
}
.highlight {
      font-weight: bold;
      color: #ecf0f1;
}
.small-text {
      font-size: 0.9rem;
}

#sec_a{
    display:flex;
    flex-direction: column;
    flex-basis:50%;
    
}
#sec_b{
    display:flex;
    flex-basis:50%;
}
#inizio{
    display:flex;
}

/* interessi */
#interests{
    display:flex;
    flex-direction:column;
    justify-content: end;
    align-items:center;
    font-family:Poppins, sans-serif;
    margin:0;
    padding-top:40px;
    font-family:'Abril Fatface', serif;
    min-height:20vh;
    background-color: rgb(28, 100, 153);
}
.cartoline{
    display:flex;
    flex-direction:column;
    flex-wrap:wrap;
    flex-grow:1;
    align-items: center;
    object-fit: contain;
}
.polaroid {
    background-color: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    text-align: center;
    border-radius: 5px;
    transform: rotate(-2deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin:10px;
  }

.polaroid:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

.polaroid img {
    width: 100%;
    border-radius: 3px;
}

.caption {
    margin-top: 1rem;
    font-size: 1rem;
    color: #333;
    
}
#sfondo{
    background-size: cover;
    background-image:url('../img/sfondo_blu.jpeg');

}
