.mobile{
    display: none;
}

* {
  font-family: "Epilogue", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
body {
  margin: 0px auto;
  width: 100%;
  background-color: hsl(0, 0%, 98%);
  height: 100vh;
}
header {
    display: flex;
    align-items: center;
    padding: 0.6rem 2rem;
    flex-direction: column;
    padding-bottom: 0px;
    height: 90%;
}
nav {
    display: flex;
    justify-content: center;
    width: 100%;
    flex-direction: row;
}
nav>ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 2rem;
    width: inherit;
    align-items: center;
}

nav>ul>li {
    position: relative;
}
nav>ul>li>a, li>button>span {
    text-decoration: none;
    color: hsl(0, 0%, 41%);
    font-weight: 700;
    font-size: 14px;
}
nav>ul>li>a:hover {
    color: hsl(0, 0%, 8%);
}
nav>ul>li>ul {
    position: absolute;
    top: 100%;
    /* max-width: 100px; */
    width: 100px;
    min-width: 83px;
    left: -30px;
    background-color: hsl(0, 0%, 100%);
    padding: 15px 15px;
    display: none;
    flex-direction: column;
    gap: 1rem;
    text-decoration: none;
    list-style: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
nav>ul>li:hover>ul {
    display: flex;
}
.dropdown-content li {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
}
nav>ul>li>ul>li>a {
    color: hsl(0, 0%, 41%);
    font-weight: 400;
    font-size: 14px;
    text-decoration: none;

}

nav>ul>li>ul>li>a:hover ,.register:hover {
    color: hsl(0, 0%, 8%);
    border-color: hsl(0, 0%, 8%);
}
nav>ul>li>ul>li>a:active {
    color: hsl(0, 0%, 8%);
}

nav>ul>li>ul>li>a:focus {
    outline: 2px solid hsl(0, 0%, 8%);
    outline-offset: 2px;
}
nav>ul>li>ul>li>a:focus-visible {
    outline: 2px solid hsl(0, 0%, 8%);
    outline-offset: 2px;
}

nav>ul>li>ul>li>a:focus:not(:focus-visible) {
    outline: none;
}
nav>ul>li>ul>li>a:active {
    color: hsl(0, 0%, 8%);
}
nav .dropdown {
    border: none;
    /* padding: 10px; */
    background-color: transparent;
    font-size: 18px;
}
nav>ul>li:hover>button> img  {
    rotate: 180deg;
}
.register {
    background-color: hsl(0, 0%, 100%);
    padding: 5px 18px;
    border-radius: 11px;
    border: 1px solid hsl(0, 0%, 41%);
    color: hsl(0, 0%, 41%);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}


.login{
    margin-left:auto;
}
/* Hero section */
.hero {
    display: flex;
    flex-direction: row;
    width: 85%;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background-color: hsl(0, 0%, 98%);
    margin-top: 30px;
}
.hero .image {
    flex: 1;
    flex-basis: 50%;
}
.hero .text{
    flex-basis: 50%;
    text-align: left;
    padding-left: 45px;
}
.hero h2 {
    font-size: 4.5rem;
    color: hsl(0, 0%, 8%);
    margin-bottom: 1rem;
    line-height: 60px;
    
}
.hero p {
    font-size: 1.2rem;
    color: hsl(0, 0%, 41%);
    margin-bottom: 1.5rem;
    width: 80%;
}
.hero img {
    width: 75%;
    height: auto;
    max-width: 500px;
    border-radius: 7px;
}
.hero button {
    background-color: hsl(0, 0%, 8%);
    color: hsl(0, 0%, 100%);
    padding: 9px 20px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 1rem;
}
.hero button:hover {
    background-color:hsl(0, 0%, 98%);
    color: hsl(0, 0%, 8%);
    border: 0.4px ;
    border-style: outset;
    border-color: hsl(0, 0%, 8%);
    font-weight: bolder;
}
.hero button:focus {
    outline: 2px solid hsl(0, 0%, 8%);
    outline-offset: 2px;
}
.small-image{
    display: flex;
    gap: 25px;
    flex-direction: row;
    aspect-ratio: 22;
    margin-top: 80px;
    width: 80%;
}
