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

:root {
    --primary-color: rgb(141, 22, 166);
    --secondary-color: rgb(241, 147, 23);
    --text-color: rgb(13, 34, 65);
    --pane-padding: 2rem;
}

header, footer{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: var(--text-color);
    padding: var(--pane-padding);
}
main {
    display: flex;
    justify-content: space-evenly;
    padding: var(--pane-padding);
}
#logo img{
    border-radius: 0.1rem;
    
}
header h1{
    color: var(--secondary-color);
}


.imgfotografo {
    width: 250px;
    display: inline-block;
    top: 0;
    right: 40;
    left: 0;
    bottom: 0;
    z-index: 2;
}
#sfondoNero2 {
    background-color:rgba(0, 0, 0, 0.4);
}
#freccia1, #freccia2 {
    position: absolute;
    z-index: 30;
    top: 50px;
    bottom:51px;
    background-color: var(--secondary-color);
}
#freccia1 {
    left: 1px;
}
#freccia2 {
    right: 1px;
}
nav ul li a {
    text-decoration: none;
    
}
ul li {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-block;
    padding: 0 1rem;
}
@media (max-width: 1024px) {
  .imgfotografo { width: 180px; }
  main { flex-direction: column; }
}

@media (max-width: 768px) {
  .imgfotografo { width: 100%; }
  nav ul { flex-direction: column; }
  header, footer { flex-direction: column; }
}

@media (max-width: 480px) {
  .imgfotografo { width: 100%; }
  #freccia1, #freccia2 { display: none; }
}
