@font-face {
 font-family: "Acier";
 src: url("../fonts/AcierBAT-Text-Solid.woff") format("woff");
 font-display: swap;
}

@font-face {
 font-family: "Stratos-Semibold";
 src: url("../fonts/Stratos-SemiBold.woff") format("woff");
 font-display: swap;
}


@font-face {
 font-family: "Stratos";
 src: url("../fonts/Stratos-Regular.woff") format("woff");
 font-display: swap;
}

@font-face {
 font-family: "Acier-Noir";
 src: url("../fonts/AcierBAT-Display-Noir.woff") format("woff");
 font-display: swap;
}


* {
  -webkit-font-smoothing : antialiased;
  font-family: 'Stratos';
  box-sizing: border-box;
}

:root {
  --primary: #FA4616;
  --light: #FFEDE8;
  --red: #AB0000;
  --ultra-light: #FFF2EF;;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #FFF2EF;
  font-size: 1vw;
  overscroll-behavior: none;
}

h1, h2, .letter {
  font-family: "Acier";
}

h1 {
  font-size: 95px;
  letter-spacing: 0.03em;
}


.tube {
  font-family: "Acier-Noir";
}

.title {
  padding: 10px 0;
  overflow: hidden;

}

.title .letter {
  display: inline-block;
  line-height: 1em;
  opacity: 0;
}

.hide-desktop {
  display: none;
}

h2 {
  font-size: 63px;
  line-height: 56px;
  letter-spacing: 0.03em;
  color:var(--primary);
  margin-bottom: 12px;
}


.subtitle {
  font-family: "Stratos-Semibold";
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0.03em;
  color: white;
  margin-top: 24px;
}

a {
  color: var(--primary);
  text-decoration: none;
  display: inline-block;
  position: relative;
  padding: 0.2em 0;
  overflow: hidden;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 16px;
}


a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.1em;
  background-color: var(--primary);
  opacity: 1;
  transform: translate3d(-100%, 0, 0);
  transition: opacity 300ms, transform 300ms;
}

a:hover::after,
a:focus::after {
  opacity: 1;
   transform: translate3d(0, 0, 0);
}

.adress-link{
  color: var(--primary);
  display: flex;
  white-space: pre;
}
.adress-link::after {
  background-color: var(--primary);
}
/* Structure */


section, main {
  height: 100vh;
  width: 100%;
  margin: 0 auto;
}

main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.container {
  margin: 0 auto;
  max-width: 1280px;
}

nav {
  padding: 40px 0;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  font-size: 20px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: white;
}

nav a:after {
  background-color: white;
}

nav .right, nav .left, nav .logo  {
  flex: 1;
}

.d-l-none {
  display: none;
}

.d-xs-none {
  display: block;
}

/* HERO */

.hero {
  text-align: center;
  color: white;
  height: 100vh;
  opacity: 0;
  background-image: url(../images/hero-banner.png);
  background-size: cover;
  background-position: center;
  transform-origin: top left;
}

.hero h1 {
  margin-top: 80px;
  margin-bottom: -30px;
}

.hero__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.hero .subtitle {
  width: 100%;
  margin: 0 auto;
}

/* Sections */
.content__subtitle {
  font-family: "Stratos";
  width: 90%;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0.03em;
  color: var(--red);
}

#team-photo {
  margin: 0 auto;
}

.content-illustration {
  position: relative;
}

#team-section .content-illustration{
  width: 80%;
}

.jamiroquai {
  position: absolute;
  right: 20px;
  top: -30px;
}

.cta {
  font-size: 20px;
  line-height: 32px;
  letter-spacing: 0.02em;
  color: var(--primary);
  margin-top: 50px;
  display: flex;
  align-items: center;
}

.cta--hero {
  margin-top: 24px !important;
  display: flex;
  opacity: 1;
  background: white;
  width: fit-content;
  margin: 0 auto;
  color: var(--primary);
  padding: 12px 24px;
  border-radius: 4px;
  border: 2px solid transparent;
  border-radius: 50px;
}

.cta--hero:hover {
  color: white;
  background: transparent;
  border: 2px solid white;
}

.cta--hero:hover svg path{
  fill: white !important;
}

.cta--hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.1em;
  background-color: var(--primary);
  opacity: 0;
  transform: translate3d(-100%, 0, 0);
  transition: opacity 300ms, transform 300ms;
}

.cta--hero:hover::after,
.cta--hero:focus::after {
  opacity: 0;
   transform: translate3d(0, 0, 0);
}

.cta--hero svg {
  margin-right: 12px;
}
.cta--hero svg path {
  fill: var(--primary);
}

.cta span {
  font-family: "Stratos-Semibold";
}

.cta img {
  margin-right: 8px;
}

.arrow {
  display: inline-block;
  margin-top: 80px;
}

.arrow img {
  width: 60px;
}

/* CAVE */

#cave-section {
  height: auto;
  margin-top: 100px;
}

#cave-section h2 {
  width: 90%;
}


#cave-section .content__subtitle {
  width: 100%;
}

#cave-photo {
  width: 70%;
  align-self: flex-end;
}

#cave-photo-mobile {
  display: none;
  width: 100%;
}



/* Degust */
#degust-section {
  margin-top: 100px;
  overflow: hidden;
}

#degust-section .content{
  margin-left: 80px;
}

#degust-section .jamiroquai {
  left: -40px;
  top: -40px;
  transform: rotate(-115deg);
}
#degust-photo {
  width: 100%;
  align-self: flex-end;
}

/* Marquee */

.marquee {
  height: auto;
  background-color: var(--red);
  color: var(--light);
  padding: 40px 0;
}

.marquee div, .marquee div span {
  font-family: 'Acier';
  font-size: 30px;
  letter-spacing: 0.11em;
  color:var(--light);
  white-space: nowrap;
  display: flex;
}


/* Horaires */

.footer {
  background-color: var(--primary);
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer h2 {
  font-size: 95px;
  line-height: 80px;
  letter-spacing: 0.03em;
  color: white;
  margin: 0;
}

.footer a {
  color: white;
}
.footer__adress {
  font-family: "Stratos-Semibold";
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0.03em;
  margin: 40px 0;
  position: relative;
}

.footer__adress img {
  position: absolute;
  right: 130px;
  bottom: -17px;
}

.footer .contact {
  justify-content: space-between;
  display: flex;
  align-items: center;
  margin-top: 16px;
}

.contact .mail, .contact .tel {
  display: flex;
}

.contact .mail, .contact .tel img {
  margin-right: 8px;
}

.footer .contact a {
   font-size: 32px;
}



.footer__openings {
  width: 600px;
  margin: 48px auto;
  font-size: 24px;
  text-transform: uppercase;
}

.day-opening {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  text-align: left;
  margin: 12px 0;
}

.day-opening .hours {
  text-align: right;
}

.dots {
  background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='white' stroke-width='4' stroke-dasharray='2%2c 8' stroke-dashoffset='0' stroke-linecap='butt'/%3e%3c/svg%3e");
  height: 1px;
}

.pulse {
  animation: pulse 1s infinite ease-in-out alternate;
}
@keyframes pulse {
  from { transform: scale(0.9); }
  to { transform: scale(1.1); }
}
