/*Font: Roboto Mono Regular 400*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap");

:root {
  --header-height: 4rem;

  /*Colors*/
  --hue: 174;
  --sat: 63%;
  --first-color: #9fd356;
  --first-color-alt: hsl(var(--hue), var(--sat), 36%);
  --title-color: hsl(var(--hue), 12%, 15%);
  --text-color: #342e37;
  --body-color: #ccc9e7;
  --container-color: #5387ef;

  /*Font*/
  --body-font: 'Open Sans', sans-serif;
  --h1-font-size: 1.5rem;
  --normal-font-size: .938rem;
  --tiny-font-size: .625rem;

  /*z index*/
  --z-tooltip: 10;
  --z-fixed: 100;

  --backgroundAutunno: url("../images/seasonsBackground/autumnBackground.jpg");
  --backgroundEstate: url("../images/seasonsBackground/summerBackground.jpg");
  --backgroundInverno: url("../images/seasonsBackground/winterBackground.jpg");
  --backgroundPrimavera: url("../images/seasonsBackground/springBackground.jpg");

    --vote1: rgb(127, 187, 255);
    --vote2: rgb(53, 135, 61);
    --vote3: rgb(104, 183, 51);
    --vote4: rgb(140, 179, 114);
    --vote5: rgb(152, 107, 72);
    --vote6: rgb(107, 58, 37);
    --vote7: rgb(190, 117, 44);
    --vote8: rgb(224, 166, 24);
    --vote9: rgb(224, 93, 2);
    --vote10: rgb(191, 25, 3);
}

@media screen and (min-width: 968px) {
  :root {
    --h1-font-size: 2.25rem;
    --normal-font-size: 1rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  /*margin: var(--header-height) 0 0 0;*/
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: #e5e3f8;
  color: var(--text-color);
}

#nav-menu ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*CSS classes*/
.section {
  padding: 4.5rem 0 2rem;
}

.section__title {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  text-align: center;
  margin-bottom: 1.5rem;
}

.section__height {
  height: 100vh;
}

/*LAYOUT*/
.container {
  /*max-width: 968px;
  margin-left: 1rem;*/
  margin-right: 1rem;
}

/*HEADER*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--container-color);
  z-index: var(--z-fixed);
  transition: .4s;
}

/*NAV*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: end;
  align-items: center;
}

.nav__img {
  width: 32px;
  border-radius: 50%;
}

.nav_title {
  color: #ffffff;
  font-weight: 600;
  padding-left: 20px;
}

.container-logo {
  display: flex;
  height: 75%;
  background-color: #ffffff;
  aspect-ratio : 1 / 1;
  align-items: center;
  justify-content:center;
  border-radius: 50%;
}

.nav_logo{
  display: flex;
  height: 100%;
  align-items: center;
  justify-content:center;

}

.nav__menu {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #0fa3b1;
    box-shadow: 0 -1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
    width: 100%;
    height: 4rem;
    /*padding: 0 1rem;*/
    display: grid;
    align-content: center;
    border-radius: 1.25rem 1.25rem 0 0;
    transition: .4s;
}

@media screen and (max-width: 767px) {


  #containerStats{
    margin-top: 100px;
  }
}

.nav__list,
.nav__link {
  display: flex;
}

.nav__link {
  flex-direction: column;
  align-items: center;
  row-gap: 4px;
  color: #fff;
  font-weight: 600;
}

.nav__list {
  justify-content: space-around;
  margin-top: 0;
  margin-bottom: 0rem;
  padding-left: 0rem;
}

.nav__name {
  font-size: var(--tiny-font-size);
  /* display: none;*/
  /* Minimalist design, hidden labels */
}

.nav__icon {
  font-size: 1.5rem;
}

/*Active link*/
.active-link {
  position: relative;
  color: var(--first-color);
  transition: .3s;
}

.eventContainerAutumn {
  border-radius: 20px;
  background-image: var(--backgroundAutunno);
  /*url("../images/seasonsBackground/autumnBackground.jpg");*/
  background-size: cover;
  min-width: 200px;
  height: 200px;
  box-shadow: 10px 10px 10px 5px;
  margin-bottom: 40px;
  margin-right: 1%;
  margin-left: 1%;
  transition: transform .3s; /* Animation */
}
.eventContainerSpring {
  border-radius: 20px;
  background-image: var(--backgroundPrimavera);
  /*url("../images/seasonsBackground/autumnBackground.jpg");*/
  background-size: cover;
  min-width: 200px;
  height: 200px;
  box-shadow: 10px 10px 10px 5px;
  margin-bottom: 40px;
  margin-right: 1%;
  margin-left: 1%;
  transition: transform .3s; /* Animation */
}
.eventContainerWinter {
  border-radius: 20px;
  background-image: var(--backgroundInverno);
  /*url("../images/seasonsBackground/autumnBackground.jpg");*/
  background-size: cover;
  min-width: 200px;
  height: 200px;
  box-shadow: 10px 10px 10px 5px;
  margin-bottom: 40px;
  margin-right: 1%;
  margin-left: 1%;
  transition: transform .3s; /* Animation */
}
.eventContainerSummer {
  border-radius: 20px;
  background-image: var(--backgroundEstate);
  /*url("../images/seasonsBackground/autumnBackground.jpg");*/
  background-size: cover;
  min-width: 200px;
  height: 200px;
  box-shadow: 10px 10px 10px 5px;
  margin-bottom: 40px;
  margin-right: 1%;
  margin-left: 1%;
  transition: transform .3s; /* Animation */
}

.eventContainer-wrapper {
  background: rgba(0,0,0,0.3);
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  height: 100%;
  border-radius: 20px;
}

.eventContainer:hover{
  transform: scale(1.03); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

.text-card {
  color: white;
}

/* Change background header */
.scroll-header {
  box-shadow: 0 1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
}

/* MEDIA QUERIES */
/* For small devices */
/* Remove if you choose, the minimalist design */
@media screen and (max-width: 320px) {
  .nav__name {
    display: none;
  }

  #containerStats{
    margin-top: 100px;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .nav__list {
    justify-content: center;
    column-gap: 8rem;
  }

  #containerStats{
    margin-top: 100px;
  }
}

@media screen and (min-width: 767px) {
  body {
    margin: 0;
  }

  .section {
    padding: 7rem 0 2rem;
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
    /* 4.5rem */
  }

  .nav__img {
    display: none;
  }


  .nav__name {
    font-size: var(--normal-font-size);
    /* display: block; */
    /* Minimalist design, visible labels */
  }

  /* First design, remove if you choose the minimalist design */
  .active-link::before {
    content: '';
    position: absolute;
    bottom: -.75rem;
    width: 4px;
    height: 4px;
    background-color: var(--first-color);
    border-radius: 50%;
  }

  #containerStats{
    margin-top: 100px;
  }
  /* Minimalist design */
  /* .active-link::before{
        bottom: -.75rem;
    } */
}

/* for large devices */
@media screen and (min-width: 1024px) {
  /* .container {
    margin-left: auto;
    margin-right: auto;
  } */
}


.card-date {
  padding-top: 5px;
  width: 60px;
  text-align: center;
}
.row-card-date{
  padding-top: 5px;
  width: 100%;
  justify-content: right;
  display: flex;
}

.tag {
  background: #cccccc;
  border-radius: 50px;
  font-size: 12px;
  margin: 0;
  color: #fff;
  padding: 2px 10px;
  text-transform: uppercase;
  cursor: pointer;
}
.tag-teal {
  background-color: #47bcd4;
}
.tag-pink {
  background-color: #cd5b9f;
}

.bg-purple{
    background: #ccc9e7;
}

.forgotten-psw{
    font-size: 13px;
}

.btn-primary-fe{
    background: #9fd356;
}

.btn-secondary-fe{
    background: #fa824c;
    color:white;
}

.btn-primary-fe-alt{
    border:solid 0.5px #9fd356;
}

.btn-secondary-fe-alt{
    border:solid 0.5px #fa824c;
}

a{
    color: #0fa3b1;
}

.color-orange{
    color: #fa824c;
}

.color-green{
    color: #9fd356;
}

header{
    background: #0fa3b1 !important;
}

.valutazione-home{
    border-radius: 25px;
}

@media screen and (max-width: 500px) {
    .profile-header {
        width: 12%;
    }
}

@media screen and (max-width: 600px) {
    .profile-header {
        width: 10%;
    }
}

@media screen and (min-width: 601px) {
    .profile-header {
        width: 8%;
    }
}
@media screen and (min-width: 900px) {
    .profile-header {
        width: 7%;
    }
}

@media screen and (min-width: 1200px) {
    .profile-header {
        width: 5%;
    }
}

/* The container */
.valutazioni {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 15px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */
.valutazioni input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.valutazioni:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the radio button is checked, add the background */
.valutazioni.color-v10 input:checked ~ .checkmark {
    background-color: var(--vote1);
}
.valutazioni.color-v9 input:checked ~ .checkmark {
    background-color: var(--vote2);
}
.valutazioni.color-v8 input:checked ~ .checkmark {
    background-color: var(--vote3);
}
.valutazioni.color-v7 input:checked ~ .checkmark {
    background-color: var(--vote4);
}
.valutazioni.color-v6 input:checked ~ .checkmark {
    background-color: var(--vote5);
}
.valutazioni.color-v5 input:checked ~ .checkmark {
    background-color: var(--vote6);
}
.valutazioni.color-v4 input:checked ~ .checkmark {
    background-color: var(--vote7);
}
.valutazioni.color-v3 input:checked ~ .checkmark {
    background-color: var(--vote8);
}
.valutazioni.color-v2 input:checked ~ .checkmark {
    background-color: var(--vote9);
}
.valutazioni.color-v1 input:checked ~ .checkmark {
    background-color: var(--vote10);
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.valutazioni input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.valutazioni .checkmark:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.profile-dropdown{
    text-align: right;
}

.border-v10 {
    border-left: 0.45rem solid var(--vote1) !important;
    border-right: 0.45rem solid var(--vote1) !important;
    border-top: 1px solid var(--vote1) !important;
    border-bottom: 1px solid var(--vote1) !important;
}

.border-v9 {
    border-left: 0.45rem solid var(--vote2) !important;
    border-right: 0.45rem solid var(--vote2) !important;
    border-top: 1px solid var(--vote2) !important;
    border-bottom: 1px solid var(--vote2) !important;
}

.border-v8 {
    border-left: 0.45rem solid var(--vote3) !important;
    border-right: 0.45rem solid var(--vote3) !important;
    border-top: 1px solid var(--vote3) !important;
    border-bottom: 1px solid var(--vote3) !important;
}

.border-v7 {
    border-left: 0.45rem solid var(--vote4) !important;
    border-right: 0.45rem solid var(--vote4) !important;
    border-top: 1px solid var(--vote4) !important;
    border-bottom: 1px solid var(--vote4) !important;
}

.border-v6 {
    border-left: 0.45rem solid var(--vote5) !important;
    border-right: 0.45rem solid var(--vote5) !important;
    border-top: 1px solid var(--vote5) !important;
    border-bottom: 1px solid var(--vote5) !important;
}

.border-v5 {
    border-left: 0.45rem solid var(--vote6) !important;
    border-right: 0.45rem solid var(--vote6) !important;
    border-top: 1px solid var(--vote6) !important;
    border-bottom: 1px solid var(--vote6) !important;
}

.border-v4 {
    border-left: 0.45rem solid var(--vote7) !important;
    border-right: 0.45rem solid var(--vote7) !important;
    border-top: 1px solid var(--vote7) !important;
    border-bottom: 1px solid var(--vote7) !important;
}

.border-v3 {
    border-left: 0.45rem solid var(--vote8) !important;
    border-right: 0.45rem solid var(--vote8) !important;
    border-top: 1px solid var(--vote8) !important;
    border-bottom: 1px solid var(--vote8) !important;
}

.border-v2 {
    border-left: 0.45rem solid var(--vote9) !important;
    border-right: 0.45rem solid var(--vote9) !important;
    border-top: 1px solid var(--vote9) !important;
    border-bottom: 1px solid var(--vote9) !important;
}

.border-v1 {
    border-left: 0.45rem solid var(--vote10) !important;
    border-right: 0.45rem solid var(--vote10) !important;
    border-top: 1px solid var(--vote10) !important;
    border-bottom: 1px solid var(--vote10) !important;
}

.bg-v10{
    background: var(--vote1);
}

.bg-v9{
    background: var(--vote2);
}
.bg-v8{
    background: var(--vote3);
}
.bg-v7{
    background: var(--vote4);
}
.bg-v6{
    background: var(--vote5);
}
.bg-v5{
    background: var(--vote6);
}
.bg-v4{
    background: var(--vote7);
}
.bg-v3{
    background: var(--vote8);
}
.bg-v2{
    background: var(--vote9);
}
.bg-v1{
    background: var(--vote10);
}

.tag-date{
    background: #9fd356;
}

.tag-equipe{
    background: #fa824c;;
}

.valutazione-home p{
    font-size: 13px;
}


.nav__link:hover {
    color: #9fd356 !important;
}

a:hover{
    color: #9fd356 !important;
}

.square:before{
    content: "";
    display: block;
    padding-top: 100%;  /* initial ratio of 1:1*/
}

.popover-header{
    border-bottom: none;
    background: #84dae2;
}

.accordion-button:not(.collapsed) {
    background: #84dae2;
    color: black;
    font-weight: 600;
}

.card{
    border:none;
}

.card-img-top{
    width:215px;
}

.delete-vote{
    position: absolute;
    right:10px;
}

.breadcrumb-item:before{
    color: white !important;
}

.breadcrumb-item span{
    color: white !important;
}

.breadcrumb-item a{
    color: white !important;
}

.card-vote a{
    color: white !important;
    text-decoration: underline !important;
}
