::selection {
  background-color: #379fcd;
  color: #000;
}

/* general */

.ar_letterspacing {
  letter-spacing: 1rem;
}

.ar_letterspacing_small{
  letter-spacing: calc(1rem / 3);
}

.ar_z-index{
  z-index: 2000;
}

.ar_invert_color{
  filter: invert(100%);
}

.ar_montserrat_font {
  font-family: "Montserrat", sans-serif;
}

/* all button hover */

@media (min-width: 792px) {
  .ar_hover_button_big {
    transition: all ease 0.5s;
  }

  .ar_hover_button_big:hover {
    box-shadow: inset 48vw 0 0 0 #1E293B;
    color: #379fcd !important;
  }

  .ar_hover_button_big_reverse {
    transition: all ease 0.5s;
    color: #379fcd !important;
  }

  .ar_hover_button_big_reverse:hover {
    box-shadow: inset -48vw 0 0 0 #2194C7;
    color: #fff !important;
  }

  .ar_hover_button_small {
    transition: all ease 0.5s;
  }

  .ar_hover_button_small:hover {
    box-shadow: inset 24vw 0 0 0 #1E293B;
    color: #379fcd !important;
  }

  .ar_hover_button_small_reverse {
    transition: all ease 0.5s;
    color: #379fcd !important;
  }

  .ar_hover_button_small_reverse:hover {
    box-shadow: inset -24vw 0 0 0 #2194C7;
    color: #fff !important;
  }

  .ar_hover_button_medium {
    transition: all ease 0.5s;
  }

  .ar_hover_button_medium:hover {
    box-shadow: inset 45vw 0 0 0 #1E293B;
    color: #379fcd !important;
  }

  .ar_hover_button_medium_reverse {
    transition: all ease 0.5s;
    color: #379fcd !important;
  }

  .ar_hover_button_medium_reverse:hover {
    box-shadow: inset -45vw 0 0 0 #2194C7;
    color: #fff !important;
  }
}

/* Header */
.ar_hover li:hover a {
  color: #000 !important;
  background-color: #ccc;
}

.ar_nav_hover {
  border-radius: 5px;
  transition: color .3s ease-in-out, box-shadow .4s ease-in-out;
}

.ar_nav_hover:hover {
  box-shadow: inset 100px 0 0 0 #1f8fbf;
  color: #000 !important;
}

.ar_dropdown_color_hover:hover{
  color: #000;
  background-color: #ccc;
}

.ar_scale_hover a i {
  transition: all ease 0.3s;
}

.ar_scale_hover a:hover i {
  scale: 1.3;
}

@media (max-width: 992px) {
  .ar_nav_hover:hover {
    box-shadow: none;
    color: #6f6f6f !important;
  }
  .ar_bcg_color{
    background-color: #020617;
    border: none;
  }
}

.ar_hover {
  transition: all ease 0.3s;
}

.ar_hover:hover {
  text-shadow: #2194C7 0px 0px 13px;
}



/* section 1 */

.ar_font_size {
  font-size: 2.2rem !important;
}

.ar_hover_button {
  transition: all ease 0.5s;
  /* background-color: #00000000 !important; */
}

.ar_hover_button:hover {
  box-shadow: inset 220px 0 0 0 #0F172A;
  color: #379fcd !important;
}

@media (min-width: 992px) {
  .ar_font_size {
    font-size: 2.5rem !important;
  }

  .ar_font_size_sub {
    font-size: 1.2rem !important;
  }
}

@media (min-width: 1200px) {
  .ar_font_size {
    font-size: 3rem !important;
  }

  .ar_font_size_sub {
    font-size: 1.6rem !important;
  }
}

/* splitter */

.ar_line {
  background-color: #fff;
  width: 100%;
  height: 2px;
}

@media (min-width: 1950px) {
  .ar_responsive_px {
    padding: 0 7rem;
  }
}

/* splitter */

/* section carousel */

@media (max-width: 992px) {

  .ar_height {
    height: 550px;
  }
}

@media (max-width: 772px) {

  .ar_height {
    height: 700px;
  }
}

@media (max-width: 600px) {

  .ar_height {
    height: 600px;
  }
}

@media (max-width: 400px) {

  .ar_height {
    height: 550px;
  }
}

/* footer */

.ar_link_hover_footer a {
  transition: all ease 0.3s;
}

.ar_link_hover_footer a:hover {
  text-decoration: underline !important;
  color: #b0b0b0 !important;
}

/* modal style */

.ar_border_radius {
  border-radius: 7px !important;
}













/* reviews.html */

/* general */

.ar_margin{
  margin-bottom: 8rem;
}

/* Griglia Recensioni */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.ar_text_area{
  resize: none;
}

/* Modal Centrata */
.modal-overlay {
    display: none;
    /* JS lo cambierà in flex */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    /* Centro orizzontale */
    align-items: center;
    /* Centro verticale */
}

.modal-box {
    background: white;
    padding: 40px;
    border-radius: 16px;
    width: 95%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

/* Form all'interno */

.form-row {
    display: flex;
    gap: 10px;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    background-color: #e2e2e2;
    border-radius: 8px;
    font-size: 1rem;
}

.admin-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
}

.rev-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.btn-delete {
    background: #ff4444;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
}

#loginForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 300px;
    margin: auto;
}




/* work */

.ar_bcg_img_main{
  width: 100%;
  height: 350px;
  background-image: url("../img/site_1.png");
  background-position: center 0%;
  background-size: cover;
  position: relative;
  /* background-repeat: no-repeat; */
  /* overflow: hidden; */
}

.ar_bcg_img_pdf{
  height: 218px;
}

.ar_bcg_img_main:after{
  content: "";
  border-radius: 0.375rem;
  position: absolute;
  inset: 0;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.75);
  transition: all ease 0.2s;
  z-index: 0;
}

.ar_bcg_img_main:hover::after{
  opacity: 1;
}

.ar_bcg_img_main > div{
  display: none;
  position: absolute;
  inset: 0;
  transition: all ease 0.33s;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.ar_bcg_img_main:hover > div{
  display: flex;
}

.ar_bcg_img_1{
  background-image: url("../img/site_2.png");
}
.ar_bcg_img_2{
  background-image: url("../img/site_3.png");
}
.ar_bcg_img_3{
  background-image: url("../img/site_4.png");
}
.ar_bcg_img_8{
  background-image: url("../img/site_5.jpg");
}
.ar_bcg_img_4{
  background-image: url("../img/Presentation_1.png");
  background-position: center center;
}
.ar_bcg_img_5{
  background-image: url("../img/Presentation_2.png");
  background-position: center center;
}
.ar_bcg_img_6{
  background-image: url("../img/Presentation_3.png");
  background-position: center center;
}
.ar_bcg_img_7{
  background-image: url("../img/Presentation_4.png");
  background-position: center center;
}

@media(min-width: 992px) {
  .ar_bcg_img_main{
    height: 400px;
  }
  .ar_bcg_img_pdf{
    height: 250px;
  }
}

@media(min-width: 1200px) {
  .ar_bcg_img_main{
    height: 700px;
  }
  .ar_bcg_img_pdf{
    height: 306px;
  }
}