@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('https://fonts-3by.pages.dev/roboto-v32-latin/roboto-v32-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('https://fonts-3by.pages.dev/roboto-v32-latin/roboto-v32-latin-500.woff2') format('woff2');
}

/* bebas-neue-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  src: url('./assets/fonts/bebas-neue-v15-latin/bebas-neue-v15-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root{
    /* font */
    --font-family1: 'Roboto';
    --font-family2: 'Bebas Neue';

    /* colors */
    --bg-font-color: rgb(255, 255, 254);
    --logo-color:white;
    --link-color: white;
    --nav-hover-color: orange;
    --bookmark-bgcolor: rgb(255, 179, 38);
    --bookmark-map-border-color: white;
    --bookmark-map-color: white;

    --indicator-gradient : linear-gradient(to left,rgb(243, 105, 0),rgb(255, 179, 38));
}

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

img{
    width: 100%;
    object-fit: cover;
    object-position:center;
}

a{
    text-decoration:none;
    color: var(--link-color);
}

body{
    background-color: grey;
    font-family: var(--font-family1);
}
button{
    cursor: pointer;
}

.nav{
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.logo-text{
    color: var(--logo-color);
    font-weight: 500;
}

.menu{
    display: none;
    font-size: 16px;
    border: none;
    background-color: transparent;
    color: var(--link-color);
}
.nav .navlinks-buttons{
    display: flex;
    gap: 30px;
    
}

.nav .navlinks-buttons .navlinks{
    display: flex;
    gap: 20px;
    align-items: center;
}

.navlinks a h4{
    font-weight: 400;
    text-transform:uppercase;  
}

.navlinks a h4, .buttons .nav-cta i{
    font-size: 16px;
}

.buttons{
    display: flex;
    gap: 15px;
    justify-content: center;
}

.buttons .nav-cta{
    background-color: transparent;
    border: none;
    color: var(--link-color);
}

.navbar-cta{
    position: relative;
    display: block;
}

.navbar-cta h4:after{
    content: "";
    background-color: var(--nav-hover-color);
    height: 15%;
    width: 0%;
    position: absolute;
    bottom: -20%;
    left: 0;
    transition: all .3s ease-in-out;
}

.navbar-cta:hover h4:after{
    width: 100%;
}

main{
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1499856871958-5b9627545d1a?q=80&w=2020&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: calc(100vh - 70px);
    padding-inline:70px;
    gap: 100px;
    /* position: relative; */
    color: white;
    overflow-x: hidden;
}

.left-side{
    width: 500px;
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dash{
    background-color: white;
    width: 30px;
    height: 4px;
    /* margin-bottom: 10px; */
}

.location{
    font-size: 20px;
    font-weight: 400;
    color: var(--bg-font-color);
}

.title{
    font-size: 76px;
    font-family: var(--font-family2);
    color: var(--bg-font-color);
    letter-spacing: 2px;
    font-weight: 500;
    width: 300px;
    line-height: 1;
}
.description{
    font-size: 16px;
    letter-spacing: .1px;
    color: var(--bg-font-color);
}

.bookmark-map{
    display: flex;
    gap: 20px;
}

.bookmark{
    background-color: var(--bookmark-bgcolor);
    border: 2px solid var(--bookmark-bgcolor);
    font-size: 20px;
    padding: 5px 6px;
}

.bookmark:hover{
    background-color: transparent;
}

.map:hover{
    background-color: white;
    color: rgba(0, 0, 0, 0.5);
}
.map{
    font-size: 16px;
    padding: 5px 20px;
    line-height: 1.5;
    background-color: transparent;
    border:2px solid  var(--bookmark-map-border-color);
}
.bookmark-map-cta{
    color: var(--bookmark-map-color);
    border-radius: 25px;
    transition: all .3s ease-in-out;
}

.right-side{
    align-self:end;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}
.img-container{
    overflow: hidden;
}

.img-cards{
    width: 100%;
    display: flex;
    gap: 30px;
    /* overflow-x: hidden; */
    /* padding-left: 30px; */
    padding-block: 30px;
}

.img-cards::-webkit-scrollbar{
    height: 5px;
}
.card{
    background: url('https://images.unsplash.com/photo-1499856871958-5b9627545d1a?q=80&w=2020&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    min-width: 180px;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    display: grid;
    grid-template-rows: 10px 40px 60px;
    align-content: end;
    padding: 10px;
    cursor: pointer;
    filter: drop-shadow(20px 15px 10px rgba(0, 0, 0, 0.495));
}

.card h4{
    font-weight: 400;
    font-size: 14px;
}

.card h2{
    font-family: var(--font-family2);
    letter-spacing: 2px;
    line-height: 1;
}
.navigation{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    max-width: 650px;
}
.navigation-btn{
    display: flex;
    gap: 20px;
}

.arrow-btn{
    border:2px solid white;
    background-color: transparent;
    font-size: 24px;
    border-radius: 50%;
    color: white;
    padding: 20px 22px;
    transition: all .3s ease-in-out;
}

.arrow-btn:hover{
    background-color: white;
    color: rgba(0, 0, 0, 0.3);;
}

.indicator{
    height: 7px;
    width: 100%;
    background-color: rgb(177, 174, 174);
    border-radius: 25px;
    overflow: hidden;
}

.inner-line{
    width: 0%;
    height: 100%;
    background: var(--indicator-gradient);
    transition: all .3s ease-in;
}

.img-num h2{
    font-size: 32px;
    font-family: var(--font-family2);
}


@media (max-width: 1340px){
    .container{
    grid-template-columns:  1fr;
    grid-template-rows: 1fr 1fr ;
    gap: 70px;
}

.arrow-btn{
    padding: 15px 17px;
}
    
}

@media (max-width: 880px){
    .menu{
        display: block;
    }

    .navlinks-buttons{
        position: absolute;
        z-index: -9;
        top: -1000%;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.544);
        width: 100%;
        padding-block:20px;
        transition: all .5s ease-in-out;
    }

    .open-nav .navlinks-buttons{
        z-index: 10;
        top: 100%;
        left: 50%;
    }
    .navlinks{
        flex-direction: column;
    }
    
}

@media (max-width: 600px){
    .container{
    grid-template-columns:  1fr;
    grid-template-rows: 1fr 1fr ;
    padding:30px;
    gap: 50px;
}
.description{
    width: 300px;;
}
     .navigation{
    max-width: 350px;
}
}