/* Tavolozza colori */
:root{
    --primary: #d36c27;
    --secondary: #f3d1ab;
    --accent: #a14100;
    --light: #fff;
    --dark: #0E131F;
  }

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
li{
list-style-type: none;
}
a{
text-decoration: none; 
}

/* Utilità */
.res{
  width: 100%;
  max-width: 500px;
}
html{
  scroll-behavior: smooth;
}

body{
  cursor: none;
  background-color: #ebe3d6;
}
/* Header */

header{
    height: 100vh;
    background-image: url(https://th.bing.com/th/id/R.4267bbefa06ac01113270126a056aaa3?rik=pO09Dgy4zNDGpw&riu=http%3a%2f%2fwww.smartweek.it%2fwpsw%2fwp-content%2fuploads%2f2014%2f07%2f10trinitycollegelibrary.jpg&ehk=kUz9kkToMOs7cNhgFL5oKg2gfM3nyQ0il042Lg8r2pc%3d&risl=&pid=ImgRaw&r=0);
    background-position: center;
  }
li{
  list-style: none;
}
a{
  text-decoration: none;
  color: #fff;
  font-size: 1.2rem;
}
a:hover{
  color: black;
  text-decoration: none;
}

/*  */

header{
  position: relative;
  padding: 0 0;
}
.descrizione{
  border-radius: 10px;
  background: rgba(68, 30, 5, 0.1);
  backdrop-filter: blur(15px);
  width: 50%;
  text-align: center;
  margin-left: 350px;
  margin-top: 300px;
}
.descrizione p{
  line-height: 25px;
  color: white;
  font-size: 20px;
}

.navbar{
  overflow: hidden;
  background: #d36c27;
  width: 100%;
  height: 70px;
  /* max-width: 1200px; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  font-family: Playfair Display;
  }

.logo img{
  position: relative;
  margin-top: -5px;
  margin-left: 10px;
  width: 110px;
}
.navbar .links{
  display: flex;
  gap: 3rem;
  margin-top: 5px;
}
.navbar .toggle_btn{
  margin-top: -5px;
  color: rgb(0, 0, 0);
  font-size: 2rem;
  cursor: pointer;
  display: none;
}
.action_btn{
  background-color: black;
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  outline: none;
  margin-top: -5px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: scale 0.2 ease;
}

.action_btn:hover{
  scale: 1.05;
  color: #fff;
}
.action_btn:active{
  scale: 1;
}

/* Dropdown menu */
.dropdown_menu{
  display: none;
  position: absolute;
  right: 2rem;
  top: 100px;
  height: 0;
  width: 300px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border-radius: 10px;
  overflow: hidden;
  transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 999;
}
.dropdown_menu.open{
  height: 275px;
}
.dropdown_menu li{
  padding: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown_menu .action_btn{
  width: 30%;
  display: flex;
  justify-content: center;
}

/* Responsive */
@media(max-width: 992px){
  .navbar .links,
  .navbar .action_btn{
    display: none;
  }
  .navbar .toggle_btn{
     display: block;
  }
  .dropdown_menu{
    display: block;
  }
  .descrizione{
  margin-top: 150px;
  width: 70%;
  margin-left: 60px;
  }
  .descrizione p{
    font-size: 18px;
}
a:hover{
  color: white;
}
}
@media(max-width: 576px){
  .dropdown_menu{
    left: 2rem;
    width: unset;
  }
  }

  /* Hero */

  .ricerche{
    background-image: url();
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 80px;
    font-family: Playfair Display bold;
  }
  
  .ricerche a{
    font-size: 36px;
    font-weight: 600;
    position: relative;
    text-decoration: none;
    color: black;
    padding: 10px 10px;
  }

    .ricerche a:after{
    content: "";
    position: absolute;
    background: rgb(233, 140, 0);
    height: 3px;
    width: 0%;
    left: 50%;
    bottom: 0;
    transition: 0.3s ease-out;
  }

  .ricerche a:hover:after{
    left: 0;
    width: 100%;
  }
  
  p{
    color: black;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
  }

  .row-ricerche{
    margin-top: 3%;
    display: flex;
    justify-content: space-between;
  }

  .ricerche-uno{
    flex-basis: 31%;
    background: #f3d1ab;
    border-radius: 10px;
    margin-bottom: 0;
    margin-top: 15px;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
  }

  .ricerche-due{
    flex-basis: 31%;
    background: #f3d1ab;
    border-radius: 10px;
    margin-bottom: 5%;
    margin-top: 0px;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
  }

  h2{
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
  }
 .ricerche-uno:hover{
  box-shadow: 0 0 20px 0 rgba(0,0,0,0.4);
 }

 .ricerche-due:hover{
  box-shadow: 0 0 20px 0 rgba(0,0,0,0.4);
 }

 @media(max-width: 800px){
  .row-ricerche{
    flex-direction: column;
  }
 }

/* Hero due */


.riviste{
  width: 90%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
  font-family: Playfair Display bold;
}

.riviste a{
  font-size: 36px;
  font-weight: 600;
  position: relative;
  text-decoration: none;
  color: black;
  padding: 10px 10px;
}

.riviste a:after{
  content: "";
  position: absolute;
  background: rgb(233, 140, 0);
  height: 3px;
  width: 0%;
  left: 50%;
  bottom: 0;
  transition: 0.3s ease-out;
}

.riviste a:hover:after{
  left: 0;
  width: 100%;
} 
.row-riviste{
  display: flex;
  margin-top: 3%;
  justify-content: space-between;
  gap: 1rem;
}

.riviste-uno{
  flex-basis: 32%;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}
.riviste-uno img{
  width: 100%;
}

.layer h3{
  width: 100%;
  font-weight: 500;
  color: #fff;
  font-size: 26px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}

.layer:hover h3{
  bottom: 49%;
  opacity: 1;
}

.layer{
  background: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
}
.layer:hover{
  background: rgba(0,0,0,0.7);
}

@media(max-width: 800px){
  .row-riviste{
    flex-direction: column;
  }
 }

/* Cursor */
.cursor{
  position: fixed;
  width: 20px;
  height: 20px;
  border: 1px solid black;
  border-radius: 50%;
  left: 0;
  top: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: .1s;
  z-index: 999;
}
.cursor2{
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: black;
  border-radius: 50%;
  left: 0;
  top: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: .15s;
  z-index: 999;
}

.body:hover ⁓ .cursor{
  transform: translate(-50%, -50%) scale(1.5);
  background-color: black;
  opacity: .5;
}


/* Recensioni */

.container h3{
  font-weight: 600;
  font-family: Playfair Display bold;
  font-size: 36px;
  position: relative;
  color: black;
  margin-top: 10%;
  text-align: center;
}

#slider{
  margin-top: 5%;
  cursor: pointer;
}
.img-area{
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-block;
  overflow: hidden;
}
.img-area img{
  width: 100%;
}
.content-rece{
  text-align: center;
  padding: 20px;
  color: black;
  border-radius: 25px;
  background: rgba(255, 153, 0, 0.1);
  backdrop-filter: blur(15px);
}
.content-rece h3{
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0;
}
.content p{
  line-height: 1.9;
}
.owl-dots{
  text-align: center;
  margin-top: 3%;
}
.owl-dot{
  display: inline-block;
  height: 20px !important;
  width: 20px !important;
  background-color: #fff !important;
  opacity: .8;
  margin: 0 10px;
  border-radius: 50%;
}
.owl-dot.active{
  background-color: black !important;
}

/* Freccia top */

.btt{
  position: fixed;
  bottom: 40px;
  right: 50px;
  width: 50px;
  height: 50px;
  background: black;
  border-radius: 50px;
  padding: 5px 16px;
  z-index: 999;
}

.btt a{
  color: #fff;
  line-height: 40px;
  text-align: center;
  font-size: 20px;
  z-index: 999;
}

/* Gestione footer */

  footer{
    margin-top: 100px;
    bottom: 0px;
    width: 100%;
    background: #d36c27;
  }
  .main-content{
    display: flex;
  }
  .main-content .box{
    flex-basis: 50%;
    padding: 10px 20px;
    color: black;
  }
  .box h3{
    margin-top: 20px;
    font-size: 1.5em;
    font-weight: 600;
    font-family: Playfair Display bold;
    text-transform: uppercase;
  }

  .box .content{
    margin: 40px 0 0;
  }
  .left .content .social{
    margin: 20px 0 0;
  }
  .left .content .social a{
    padding: 0 2px;
  }
  .left .content .social a span{
    height: 40px;
    width: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    background-color: #b44800;
    color: white;
    border-radius: 10px;
    transition: 0.3s;
  }
  .left .content .social a span:hover{
    background-color: black;
  }
  .center .content span{
    padding: 7px 0;
  }
  
  
@media(max-width: 700px){
  .main-content{
    flex-direction: column;    
    text-align: center;
  }
}

