@import url('https://fonts.cdnfonts.com/css/devil-breeze');
@import url('https://fonts.cdnfonts.com/css/poppins');
@import url('https://fonts.cdnfonts.com/css/bimbo');

:root {
  /*========== Colors ==========*/
  --first-color: #890304; 
  
  /*========== Font and typography ==========*/
  /* #890304, #ff0808 purple: #25042b #341539 */
  
  --normal-font-size: 1.25rem;
}


body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background-color: #0b000c;
  color: #eef8ce;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  background-image:
  url(img/bg.png),
  repeating-linear-gradient(
    to right, transparent 0 500px, #73814B33 500px 501px
  );
  background-size: 100%;
}
*::-webkit-scrollbar {
  width: 0;
}
a {
  color: #eef8ce; 
}
* {
  padding: 0;
  margin: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}
.section {
  width: 100%;
  min-height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-fit {
  width: min(1200px, 90vw);
  margin: auto;
  /* min-height: 100vh; */
  position: relative;
  padding-block: 7em;
}


/* *****NAV**** */

nav {
  padding: 4vh 4vw;
  width: 100%;  
  display: flex;
  align-items: center;
  position: relative;
  z-index: 9998;
  justify-content: space-between;
  position: fixed;
  background-color: #25042bb0;
}
nav img {
  width: 200px;
}

#nav-part2 {
  display: flex;
  align-items: center;
  gap: 1vw;
}

#nav-part2 h4,
.sidebar h4 {
  padding: 10px 20px;
  border: 1px solid #fffff0;
  border-radius: 50px;
  font-weight: 500;  
  transition: all ease 0.4s;
  position: relative;
  font-size: 18px;
  overflow: hidden;
}

#nav-part2 h4::after,
.sidebar a h4::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color:  #890304;
  left: 0;
  bottom: -100%;
  border-radius: 50%;
  transition: all ease 0.4s;
}

#nav-part2 h4:hover::after,
.sidebar a h4:hover::after {
  bottom: 0;
  border-radius: 0;
}

#nav-part2 a,
.sidebar a {
  color: #fffff0;
  text-decoration: none;
  position: relative;
  z-index: 9;
}

#nav-part2 h4:hover a,
.sidebar a h4:hover {
  color: #fff;
}

.sidebar{
  display: none;
}
.sidebar.open{
  position: fixed;
  top: 0; 
  right: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  display: flex;
  z-index: 9999;
  gap: 2rem;
  padding: 2vh 20vw;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: .5s ease-in-out;
}
.sidebar h3,
.sidebar h4 {
  width: 100%;
}
.sidebar a{
  width: 100%;
}
.menu-button{
  display: none;  
}
.menu-button i,
.sidebar h3 i {
  font-size: 9vw;
  color: #FFFFF0;
}

/* ***BODY*** */

#banner {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 15vh 0 8vh 0;
}

#banner .content-fit {
  padding-block: 0em;
}
#banner .title {
  color: #FFFFF0;
  font-size: 15em;
  font-family: "devil breeze";
  font-weight: bold;
  position: relative;
  text-align: center;
  z-index: 1;
}
#banner .title::before {
  content: attr(data-before);
  position: absolute;
  top: 0.5em;
  inset: 0.66em 0 0 0;
  z-index: -1;
  color: #890304;
}
.decorate1 {
  font-size: 1rem;
  width: 40vw;
}
/* ***LEAF*** */


.section .decorate2,
.section .decorate3 {
  position: absolute;
  z-index: -1;
  width: 70vw; 
  bottom: -5rem; 
  right: 0;  
}


.section .decorate2 {
  bottom: 10vh;
  left: 0;
  width: 40vw;
}
/* ****INTRO**** */


#intro .content-fit {
  display: flex;
  gap: 20%;
  justify-content: space-between;
  align-items: center;
}
.section .number {
  font-family: "devil breeze";
  font-size: 7em;
  font-weight: bold;
  text-decoration: underline;
}
.section .content-fit .title {
  font-family: "devil breeze";
  font-size: 5em;
  font-weight: bold;
}

/* *****Description***** */


#description .content-fit {
  padding-right: 30%;
}
#description .number {
  font-size: 4em;
  text-decoration: underline;
}
#description .title {
  font-size: 6.5em;
  font-weight: 500;
}


/* *****BUTTON***** */


.cover,
.cover2 {
  height: 3rem;
  display: grid;
  place-items: left;  
  font-size: var(--normal-font-size);
  margin-top: 4rem;
}
.cover2 {
  place-items: center;
  margin-top: 5rem;
}

/*=============== MAGIC BUTTON ===============*/
.button {
  position: relative;
  background-color: var(--first-color);
  color: #fff;
  padding: .9rem 2.20rem;
  border-radius: 3rem;
  transition: .4s;
  width: fit-content;
}

.button::after {
  content: '';
  width: 80%;
  height: 40%;
  background: linear-gradient(80deg, 
            #ff0808 10%, 
            #890304 48%);
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  margin: 0 auto;
  border-radius: 3rem;
  filter: blur(12px);
  z-index: -1;
  opacity: 0;
  transition: opacity .4s;
}

.button__text {
  position: relative;
  z-index: 10;
}

.button img {
  position: absolute;
  inset: 0;
  margin: auto;
  pointer-events: none;
  transition: .6s;
  opacity: 0;
}

/* Move 3D geometric elements */
.button__cone {
  width: 18px;
  transform: translate(-25px, -6px) rotate(55deg);
  filter: blur(.5px);
}

.button__torus {
  width: 38px;
  transform: translate(7px, -14px) rotate(80deg);
}

.button__icosahedron {
  width: 36px;
  transform: translate(34px, -4px) rotate(-45deg);
  filter: blur(.9px);
}

.button__sphere {
  width: 30px;
  transform: translate(-5px, 15px) rotate(40deg);
}

/* View shadow gradient */
.button:hover::after {
  opacity: 1;
}

/* Button scale */
.button:hover {
  transform: scale(1.3);
}

/* View 3D geometric elements */
.button:hover img {
  opacity: 1;
}

.button:hover .button__cone {
  transform: translate(-38px, -10px) scale(1.2);
}

.button:hover .button__torus {
  transform: translate(7px, -32px) scale(1.1);
}

.button:hover .button__icosahedron {
  transform: translate(50px, -20px) scale(1.1);
}

.button:hover .button__sphere {
  transform: translate(-14px, 20px) scale(1.1);
}


/* ****CONTACT**** */


#contact .content-fit {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
#contact .number {
  font-size: 4em;
  margin-bottom: 1em;
}
#contact table {
  width: min(800px, 90vw);
  padding-top: 2em;
  font-size: 2em;
  margin: auto;
}
#contact table td {
  padding-block: 0.5em;
  border-bottom: 1px dashed #445022;
}
#contact table td:nth-child(1) {
  text-align: left;
  font-weight: 500;
}
#contact table td:nth-child(2) {
  text-align: right;
  font-weight: 200;
}
#contact .sign {
  font-family: 'Bimbo', sans-serif;
  font-size: 10em;
}



#container3D {
  position: fixed;
  inset: 0;  
  z-index: 10;
  pointer-events: none;
}


@media screen and (max-width: 1023px){
  
  #intro .content-fit {
    flex-direction: column;
  }
}
@media screen and (max-width: 800px){
  nav img {
    width: 150px;
  }
  #banner {    
    gap: 0;
    padding: 8vh 0 8vh 0;
  }
  #banner .title {
    font-size: 22vw;
  }
  #banner .title::before {    
    inset: 0.66em 0 0 0;
    
  }
  #intro .content-fit {
    flex-direction: column;
    gap: 20%;
  }
  .section .number {
    font-size: 5em;
    margin-bottom: 2rem;   
  }
  #intro .content-fit .title {
    font-size: 10vw;
  }
  #intro .content-fit{
    align-items: start;
  }
  
  #description .content-fit {
    padding-right: 0;
  }
  #description .content-fit .title{
    font-size: 13vw;
    font-weight: 500;
  }
  #contact table {
    font-size: 1em;
  }
  #contact .sign {
    font-size: 2em;
  }
  #container3D {
    /* position: fixed; */
    display: none;
  }
  #description .number {
    font-size: 5em;
  }
  .section .decorate2 {
    bottom: 25vh;
    left: 0;
    width: 80vw;
  }
  .section .decorate1 {
    bottom: 18vh;
    right: -10vw;
    width: 78vw;
  }
  .section .decorate3 {
    bottom: 3rem;
  }
 
 
  
}


@media(max-width: 800px){
  .hideOnMobile{
    display: none;
  }
  .menu-button{
    display: block;
  }
   
}
@media(max-width: 400px){
  .sidebar{
    width: 100vw;
  }
}