*,::before,::after{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

img, video{
	width: 100%;
}


main{
	overflow: hidden;
}

/* Color */
:root{
	--black:  #101010;
	--white:  #F2F2F2;
	--grey:   #f5f5f5;
	--trasparent: rgba(255,255,255,0.5);
	
	--white-sand: #DED5C8;
	--orange: #F27D16;
	--dark-orange: #BF6211;
    
	--blue:   #0087CF;
	--light-blue: #23B7D9;
	--dark-blue:  #081D42;
}



/* Color background */
body {
    background-color: var(--white-sand);
}

/* Text */
/* Text */

h1 {
  font-size: 2.5rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  color: var(--white);
}

h2 {
  font-size: 2rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: var(--black);
}

h3 {
  font-size: 1.75rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  color: var(--black);
}

h4 {
  font-size: 1.5rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  color: var(--black);
}

p {
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 100;
  color: var(--black);
}

a {
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 100;
  color: var(--black);
  text-decoration: none;
}

botton {
text-decoration: none;
}

.titel-w {
    font-size: 3rem;
    color: var(--white);
}

header .a {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 2rem;
	color: var(--black);
  text-decoration: none;
}

header .mobile-menu a {
	font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 2rem;
	color: var(--black);
  text-decoration: none;
}

#countdown h2 {
    font-size: 2.5rem;
    font-family: 'Roboto',sans-serif;
}

#countdown .timer {
    font-size: 5.5rem;
    font-family: 'capture it',Verdana,sans-serif;
}

#memebers .memebers-text .title {
  font-size: 5.5rem;
	font-family: 'Roboto', sans-serif;
  font-weight: 600;
  color: var(--white-sand);
}


#memebers .member-card .h2 {
    font-size: 1.5rem;
    font-weight: 700;
    font-weight: bold;
    color: var(--dark-gray);
}

#memebers .member-card .h3 {
	font-size: 1.25rem;
  font-weight: 400;
  font-weight: bold;
	color: var(--blue);
}

#memebers .member-card .subtitle {
	font-size: 1rem;
  font-weight: 200;
  font-weight: bold;
	color: var(--dark-blue);
}

#memebers .text-wrapper .p {
	font-size: 1.25rem;
  font-weight: bold;
  font-weight: 400;
	color: var(--black);
}

#memebers .text-wrapper .a {
	font-size: 1rem;
  font-weight: bold;
	color: var(--dark-orange);
  text-decoration: none;
text-transform: uppercase;  
}

#btn-up {
    position: fixed;
    bottom:30px;
    right: 30px;
    z-index: 1000;
}

#btn-up button {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 70px;
    height: 70px;
}

#btn-up .arrow-container {
    position: relative;
    width: 70px;
    height: 70px;
}

#btn-up img:last-child {
    width: 70px;
    height: 70px;
}

#btn-up img:first-child {
    width: 60px;
    height: 60px;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg); /* parte verso il basso */
    transition: transform 0.2s linear;
}


footer ,
footer a {
    color: var(--light-blue);
    font-family: 'Roboto Black', sans-serif;
    font-size: 1.75rem;
    text-decoration: none;
}

#bottom-bar .bottom-bar-text {
    font-family: 'Roboto Black', sans-serif;
    font-size: 1rem;
    font-weight: bold;
}

/* Contact */

#contact .btn-contact a {
font-family: 'Roboto Black', sans-serif;   text-decoration: none;
    font-size: 1.5rem;
}

/* MENTION LEGALE */

#mention-legale p {
    font-family: 'Roboto Regular', sans-serif;
}



/* Font */
/* Roboto Black */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto-black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Roboto Regular */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Roboto Light */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Roboto Thin */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto-thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
    font-family: 'Capture It';
    src: url('../fonts/Capture-it.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* Hover */

.text-wrapper {
  display: none; /* sarà gestito da JS */
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.8s ease, opacity 0.4s ease 0.2s;
}

.text-wrapper.reveal {
  max-height: 500px; /* imposta un valore abbastanza grande per contenere il testo */
  opacity: 1;
}


/* Magic box */

#memebers .text-wrapper .magic-box {
  display: inline-block;
  padding: 0.6em 1.2em;
  color: var(--dark-orange);
  border: 1px solid var(--dark-orange);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, border-color 0.5s ease-in-out;
}

#memebers .text-wrapper .magic-box:hover,
#memebers .text-wrapper .magic-box:focus {
  background-color: var(--dark-orange);
  color: var(--white-sand);
  border-color: var(--white-sand);
}

/* Underline reveal */

.underline-reveal {
  position: relative;
  display: inline-block;
  transition: color 0.3s ease 0.6s;
}

.underline-reveal::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%; 
  transform: translateX(-50%);
  height: 2px;
  background-color: var(--light-blue);
  width: 0;
  transition: width 0.5s ease;
}

.underline-reveal:hover::after {
  width: 25%; 
}

.underline-reveal:hover {
  color: var(--light-blue); 
}

/* color-change */

.color-reveal {
  position: relative;
  display: inline-block;
}

.color-reveal::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 0;
  height: 100%;
  background-color: var(--dark-blue); /* Colore che appare */
  z-index: -1;
  transition: width 0.6s ease;
}


.color-reveal:hover::before {
  width: 100%;
}

.color-reveal span {
  position: relative;
  z-index: 1;
  transition: color 0.2s ease 0.6s;
}

.color-reveal:hover {
  color: var(--white-sand); 
}

/* Contrast */

.high-contrast {
    filter: grayscale(100%) !important;
}

.no-contrast {
    filter: none !important;
}

.dont-select {
    user-select: none;
}

.dont-select img {
    -webkit-user-drag: none;
    pointer-events: none; /
}

/* Aria-Label */

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	z-index: -1000;
  }