* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

html,
body {
    width: 100%;
    height: 100%;
}

.main {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

nav {
    width: 100%;
    height: 10vh;
    background: #C88E57;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
}

.part1 {
    width: 100%;
    height: 100vh;
    background: #C88E57;
    position: relative;
    color: #fff;
}

.part2 {
    width: 100%;
    height: 100vh;
    background: blue;
}

.part1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.top,
.bottom {
    text-align: center;
    position: absolute;
    /* to get 3d view while rotating the text the higher the value the small and better it shows */
    perspective: 800px;
}

.top {
    top: 4%;
}

.bottom {
    bottom: 8%;
}

.top h1,
.bottom h1 {
    font-size: 5rem;
    line-height: 5.5rem;
    font-family: "Bona Nova SC", serif;
    font-weight: 500;
    color: #fff;
}

.top {
    perspective-origin: top;
    /* now instead to rotate from the middle it rotate from the top */
}

.bottom {
    perspective-origin: bottom;
    /* now instead to rotate from the middle it rotate from the bottom */
}

.bottomContent,
.topContent {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: all cubic-bezier(0.19, 1, 0.22, 1) 1s;
}


.bottomContent p {
    width: 50%;
}

.middle {
    width: 50%;
    height: 40%;
    background: orange;
    background-image: url("https://images.unsplash.com/photo-1729553035668-3156225f07dc?fm=jpg&q=60&w=3000&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHx0b3BpYy1mZWVkfDQyfENEd3V3WEpBYkV3fHxlbnwwfHx8fHw%3D");
    background-position: center;
}