* {
    padding: 0;
    margin: 0;
    text-transform: capitalize;
    scroll-behavior: smooth;
    box-sizing: border-box;
    transition: .3s;
    font-family: "Poppins", sans-serif;
    font-weight: normal;
}

body {
    max-width: 1800px;
    margin: auto;
}

/* header */

header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 5%;
    border: .5px solid rgb(139, 138, 138);
    align-items: center;
    z-index: 999;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 20px;
    height: 20px;
}

.logo h1 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
    font-size: large;

}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: black;
    text-decoration: none;

}

.search_bar {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: .5rem 1rem;
}

.search_bar button {
    padding: .6rem .8rem;
    background-color: black;
    color: white;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.search_bar .search {
    border: 1px solid black;
    border-radius: 20px;
    padding: 5px;
    align-items: center;

}

.search input {
    width: 200px;
    height: 22px;
    border: none;
    outline: none;
}


/*    hero section    */
.hero {
    width: 100%;
    height: 90vh;
    display: flex;
    padding: 1rem 5%;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.leftContainer {
    padding: 1rem 2rem;

}

.leftContainer h1 {
    margin-bottom: 1rem;
}

.leftContainer p {
    width: 20rem;
    margin-bottom: 1rem;

}

.leftContainer button {
    padding: .5rem 2rem;
    background-color: orangered;
    color: white;
    border: none;
    border-radius: 20px;
    width: 15rem;
    cursor: pointer;
}


.rightContainer {
    display: grid;
    grid-template-columns: 300px 300px;
    grid-template-rows: 50% 50%;
    gap: 15px;
    height: 80%;

}

.rightContainer .img1 {
    margin-top: 50px;
    grid-row: span 2;
    height: 80%;
}

.rightContainer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

/* this is section 2 */

.destinations {
    width: 100%;
    height: 100vh;
    padding: 1rem 5%;
    align-items: center;
}

.destinations h1 {
    margin-bottom: 20px;
}

.destinations .places {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;

}


.places a {
    text-align: center;
    text-decoration: none;
    justify-content: space-between;
    color: black;
}

.places button {
    border: 1px solid black;
    border-radius: 20px;
    padding: .5rem 2rem;
    background: #fff;
    cursor: pointer;
}

.destinations .image {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.destinations .image .i_1 {
    display: flex;
    flex-direction: column;
    gap: 10px;

}

.destinations .image .i_1 img {
    width: 20rem;
    height: 30rem;
    border-radius: 20px;
    object-fit: cover;
}

.destinations .image .i_1 h6 {
    font-size: large;
}

.destinations .image .i_1 p {
    font-size: small;
}

/* section 3 */

.destinations .container {
    display: flex;
    width: 100%;
    height: 90vh;
}

.destinations .left-container {
    width: 50%;
    height: 90vh;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 10px;
}

.destinations .left-container img {
    width: 40rem;
    height: 23rem;
    border-radius: 20px;
}

.destinations .left-container p {
    width: 32rem;
    font-size: 15px;
}

.destinations .container .right-container {
    display: flex;
    flex-direction: column;

}

.destinations .container .right-container .blog {
    display: flex;
    margin: 10px 10px;
    gap: 1rem;
}

.destinations .container .right-container .blog img {
    width: 10rem;
    height: 10rem;
    border-radius: 20px;

}

.card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card p {
    font-size: small;
}

/* section 4 */

.box {
    display: flex;
}

.destinations .left-container .user {
    display: flex;
    gap: 1rem;
}

.destinations .left-container .user img {
    width: 50px;
    height: 50px;
    border-radius: 50px;
}

.destinations .left-container .review {
    width: 40rem;

}

.destinations .rightBox {
    display: flex;
    width: 50%;
    gap: 20px;

}

.destinations .rightBox .imgLeft img {
    width: 25rem;
    height: 30rem;
    border-radius: 20px;
}

.destinations .rightBox .imgRight {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: space-between;
    height: 61vh;
}

.destinations .rightBox .imgRight img {
    width: 15rem;
    height: 20rem;
    border-radius: 20px;
}



.rightBox .imgRight button {
    border: 1px solid black;
    border-radius: 20px;
    padding: .5rem 2rem;
    align-items: center;
    background-color: #fff;
    cursor: pointer;

}

/* section 5 */

.newsletter {
    background: url(desert.jpg);
    padding: 1rem 5%;
    background-size: cover;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
}

.newsletter h1 {
    color: white;
    font-size: 70px;
    text-align: center;

}

.newsletter .email input {
    width: 200px;
    height: 30px;
    border: none;
    outline: none;
    border: 1px solid black;
    border-radius: 20px;
    padding: 5px;
    align-items: center;

}

.newsletter .email {
    align-items: center;
}

.newsletter .email button {
    padding: .5rem 2rem;
    background-color: orangered;
    color: white;
    border: none;
    border-radius: 20px;
    width: 8rem;
    cursor: pointer;
}

.newsletter p {
    color: white;
    width: 60rem;
    text-align: center;
}

/*        footer          */

footer {
    width: 100%;
    height: 30vh;
    justify-content: space-between;
    color: black;
}

.footerTop {
    display: flex;
    padding: 1rem 5%;
}

.footer-col {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 2rem 4rem;
}

.footer-col .social {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: left;
    gap: 5px;
}

.footer-col .brand {
    display: flex;
    gap: .5rem;
}


.footer-col .brand img {
    width: 20px;
    height: 20px;
}

.social i {
    font-size: 30px;
}

.footer .social {
    display: flex;
    justify-content: space-between;
}

.footer .social a {
    text-decoration: none;
    justify-content: space-between;
    color: black;

}

.footer .social .links h1 {
    font-size: x-large;
}

.footer .social .links {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 6rem;
    gap: 5px;
}

.footerBottom {
    background-color: black;
    color: white;
    padding: 1rem 5%;
}

