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

html,
body {
  height: 100%;
  width: 100%;
  font-family: gilroy-light, sans-serif;
}

@font-face {
  font-family: gilroy-light;
  src: url("fonts/Gilroy-Light.otf") format("opentype");
}

@font-face {
  font-family: gilroy-bold;
  src: url("fonts/Gilroy-ExtraBold.otf") format("opentype");
}

#main {
  height: 100%;
  width: 100%;
  background: white;
}

nav {
  width: 100%;
  height: 100px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 40px;
}

#nav-left {
  display: flex;
  gap: 0.1rem;
  justify-content: center;
  align-items: center;
}

#nav-left h3 {
  font-size: 17px;
  border: 2px solid black;
  border-radius: 50px;
  padding: 5px 10px;
}

#nav-left i {
  font-size: 16px;
  border: 2px solid black;
  border-radius: 50px;
  padding: 5px 8px;
}

#nav-center h1 {
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
}

#nav-right button {
  padding: 7px 12px;
  border-radius: 50px;
  border: 1.5px solid black;
  font-size: 17px;
}

#btn2 {
  border: none;
  color: white;
  background-color: orangered;
}

#main > h1 {
  margin-top: 3rem;
  font-size: 120px;
  text-transform: uppercase;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

img {
  height: 350px;
  width: 300px;
  object-fit: cover;
  object-position: top;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 20px;
}

#img1 {
  transform: translate(-50%, -50%) rotate(-30deg);
}

#img2 {
  transform: translate(-50%, -50%) rotate(-20deg);
}

#img3 {
  transform: translate(-50%, -50%) rotate(-10deg);
}

#btm-left {
  position: absolute;
  bottom: 5%;
  left: 3%;
}

#btm-right {
  position: absolute;
  bottom: 5%;
  right: 3%;
}

#btm-center {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100px;
  height: 50px;
  border: 2px solid black;
  border-radius: 50% / 100% 100% 0 0;
  overflow: hidden;
  border-bottom: none;
}

#btm-center i {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 30px;
  color: black;
}

#nav-center a{
  text-decoration: none;
  color: black;
}

@media (max-width: 450px) {
    nav {
        padding: 0px 5px;
        flex-direction: row-reverse; /* Reverses the order of navigation items */
        height: 80px;
    }

    #nav-left h3 {
        display: none; /* Hides the Menu heading */
    }

    #nav-left i {
        font-size: 14px; /* Example adjustment for smaller screens */
        margin-right: 1rem;
    }

    #nav-center h1 {
        text-align: left; /* Aligns the center heading to the left */
        margin-left: 1rem;
    }

    #nav-right {
        display: none; /* Hides the login/signup buttons */
    }

    #btn2 {
        display: none; /* Hides the signup button */
    }

    #main > h1 {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate( -50%, -50% ); 
        font-size: 50px; /* Adjusts the font size of the main heading */
    }

    img {
        height: 185px; /* Adjusts the height of the images */
        width: 150px; /* Adjusts the width of the images */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate( -50%, -50% ); 
    }

    #btm-left, #btm-right {
        font-size: 14px; /* Adjusts the font size of the bottom text */
    }

    #btm-center {
        width: 50px; /* Adjusts the width of the bottom center element */
        height: 25px; /* Adjusts the height of the bottom center element */
    }

    #btm-center i {
        font-size: 15px; /* Adjusts the font size of the bottom center icon */
    }
}
