Friend's Accessory website

The drawn pic is the format id like to achieve on the website! I think I have the navbar down and am currently trying to make the slideshow beside the H2HATSH2. appreciate some help.

HTML

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="AleeshahomeSTYLE.css">
    <link rel="preconnect" href="https://fonts.gstatic.com">
    <link href="https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500&family=Righteous&display=swap" rel="stylesheet">
    <title>Aleesha Homepage</title>
</head>
<body>
    <!--Navbar-->
    <header>
            <nav>
                <ul class="nav-links">
                    <li><a class="nav-link" href="Hats.html">Hats</a></li>
                    <li><a class="nav-link" href="About Me.html">About Me</a></li>
                    <li><a class="nav-link" href="Jewlery.html">Jewlery</a></li>
                </ul>
            </nav>
    </header>
    <!--MAIN-->
    <main>
    <!--BANNER-->
        <section class="banner">
            <div class="container">
                <div class="banner-content">
                    <h1>ALEESHA</h1>    
                </div>
            </div>
        </section>
    <!--HATS-->
        <section class="hats">
            <div class="hat-text">
                <H2>HATS</H2>
            </div>
            <div id="slider">
                <figure>
                    <img src="/Aleesha/Pics/Slideshow/Hats/slide1.jpg" alt="Black Reptile Hat">
                    <img src="/Aleesha/Pics/Slideshow/Hats/slide2.jpg" alt="Cheeta Squence Hat">
                    <img src="/Aleesha/Pics/Slideshow/Hats/slide3.jpg" alt="White Thug Life Bucket Hat">
                    <img src="/Aleesha/Pics/Slideshow/Hats/slide4.jpg" alt="yellow W worn blue hat">
                    <img src="/Aleesha/Pics/Slideshow/Hats/slide1.jpg" alt="Life is Fantastic yellow hat">
                </figure>
            </div>
        </section>
    </main>
</body>
</html>```

CSS

*{

box-sizing: border-box;
padding: 0;
margin: 0;

}

body{

font-family: 'Comfortaa', cursive;

}

ul{

list-style-type: none;

}

a{

text-decoration: none;
color: black;

}

h1{

font-family: 'Righteous', cursive;
font-size: 4rem;

}

img{

width: 100%;

}

header{

height: 8vh;
width: 90%;
margin: 0 auto;

}

.nav-links{

height: 8vh;
width: 0 auto;
display: flex;
justify-content: space-around;
align-items: center;

}

.nav-link:hover{

border-bottom: 4px black solid;

}

.banner{

background-image: url(/Aleesha/woman\ wit\ hat.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
width: 100%;
height: 30vh;
margin-bottom: 2vh;

}

.hats{

display: flex;
height: 40vh;

}

.hat-text{

border: 2px dotted;
flex: 1;
display: flex;

}

h2{

width: 100%;
border: 2px dotted;
font-size: 8rem;
align-items: center;

}

#slider {

flex: 1.8;
overflow: hidden;

}

#slider figure {

position: relative;
width: 500%; 
margin: 0;
left: 0;
animation: 20s slider infinite;

}

#slider figure img {

width: 100%; 
float: left;
max-width: 20%;
min-height: 100%;
object-fit: contain;       

}

@keyframes slider {

0% { left: 0; } 
20% { left: 0; }
25% { left: -100%; }
45% { left: -100%; }
50% { left: -200%; }
70% { left: -200%; }
75% { left: -300%; }
95% { left: -300%; }
100% { left: -400%; }

}