



/* ============================= */
/* GLOBAL RESET */
/* ============================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Verdana, Geneva, Tahoma, sans-serif;
}

body{
  background-image:
  linear-gradient(to right, rgba(0,9,30,0.7), transparent),
  url(images/p1.jpg);

  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;

  min-height:100vh;
}


/* ============================= */
/* NAVIGATION */
/* ============================= */

nav{
  display:flex;
  justify-content:space-between;
  align-items:center;

  width:100%;
  padding:1rem 4%;

  position:sticky;
  top:0;

  background:white;
  border-bottom:1px solid rgb(179,214,243);
  box-shadow:5px 5px 10px rgba(0,0,0,0.1);

  z-index:1000;
}

/* Logo */

.logo{
  text-decoration:none;
  color:black;
  text-transform:uppercase;
  font-size:clamp(1rem,2vw,1.5rem);
  font-weight:bold;
}

/* Desktop Links */

.nav-links{
  list-style:none;
  display:flex;
  gap:2rem;
}

.nav-links a{
  text-decoration:none;
  color:black;
  font-size:1rem;
  letter-spacing:1px;
  transition:0.2s;
}

.nav-links a:hover{
  border-bottom:2px solid red;
}

/* Hamburger */

.menu{
  display:none;
  cursor:pointer;
}


/* ============================= */
/* MOBILE SIDEBAR */
/* ============================= */

.sidebar{
  position:fixed;
  top:0;
  right:0;

  width:250px;
  height:100vh;

  display:none;
  flex-direction:column;
  gap:2rem;

  padding:2rem;
  list-style:none;

  background:rgba(255,255,255,0.8);
  backdrop-filter:blur(30px);

  box-shadow:-10px 0 10px rgba(0,0,0,0.1);
}

.sidebar a{
  text-decoration:none;
  color:black;
  font-size:1.2rem;
}

.sidebar a:hover{
  background:rgb(115,115,139);
  padding:.5rem;
}


/* ============================= */
/* HERO + SLIDER SECTION */
/* ============================= */

.intro{
  display:flex;
  justify-content:space-between;
  align-items:center;

  flex-wrap:wrap;

  padding:3rem 6%;
  gap:3rem;
}


/* HERO TEXT */

.hero h1{
  color:wheat;
  font-size:clamp(1.6rem,4vw,3rem);
  margin-bottom:1rem;
}

.hero p{
  max-width:600px;
  color:blanchedalmond;
  font-size:clamp(.9rem,1.2vw,1.2rem);
  line-height:1.6;
}

.hero a{
  display:inline-block;
  margin-top:1.5rem;

  text-decoration:none;
  text-transform:uppercase;

  padding:1rem 1.5rem;

  background:rgb(7,75,121);
  color:white;

  border-radius:5px;
}


/* ============================= */
/* SLIDER */
/* ============================= */

.slides{
  display:flex;
  justify-content:center;
  align-items:center;
}

.wrapper{
  width:100%;
  max-width:390px;
  height:300px;

  position:relative;

  border-radius:20px;
  box-shadow:10px 5px 10px rgba(0,0,0,0.1);
}

/* Slider buttons */

.wrapper button{
  position:absolute;
  top:50%;
  transform:translateY(-50%);

  height:36px;
  width:36px;

  border-radius:50%;
  border:none;

  background:rgb(70,71,71);
  color:white;

  cursor:pointer;
  z-index:10;
}

#prev{
  left:10px;
}

#next{
  right:10px;
}


/* IMAGE CONTAINER */

.image-container{
  width:100%;
  height:100%;
  overflow:hidden;
}

.carousel{
  display:flex;
  height:100%;
  transition:transform .4s ease;
}

.carousel img{
  width:100%;
  height:100%;
  object-fit:cover;

  border:10px solid white;
  border-radius:20px;
}


/* ============================= */
/* FOOTER */
/* ============================= */

footer{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;

  padding:1.5rem 6%;
  margin-top:4rem;

  background:bisque;
}

footer p{
  font-size:.9rem;
}


/* ============================= */
/* TABLETS */
/* ============================= */

@media(max-width:1024px){

.intro{
flex-direction:column;
text-align:center;
}

.wrapper{
max-width:300px;
height:260px;
}

}


/* ============================= */
/* MOBILE */
/* ============================= */

@media(max-width:768px){

.hideOnMobile{
display:none;
}

.menu{
display:block;
}

nav{
padding:1rem;
}

.hero p{
max-width:90%;
}

.wrapper{
max-width:280px;
height:220px;
}

footer{
flex-direction:column;
text-align:center;
gap:1rem;
}

}


/* ============================= */
/* SMALL PHONES */
/* ============================= */

@media(max-width:480px){

.hero h1{
font-size:1.4rem;
}

.hero p{
font-size:.9rem;
}

.wrapper{
max-width:220px;
height:180px;
}

}



