:root {
    /* colors */
    --cl-white: hsl(0, 0%, 100%);
    --cl-black: hsl(0, 0%, 0%);
    --cl-Dark-gray: hsl(0, 0%, 55%);
    --cl-very-dark-gray: hsl(0, 0%, 41%);
    --cl-black: hsl(0, 0%, 0%);
    /* font size */
    --fs-1: 1rem;
    --fs-2: 1.2rem;
    --fs-3: 1.4rem;
    /* font weight */
    --fw-300: 300;
    --fw-400: 400;
    /* content width */
    --wd-2: 2em;
    --wd-4: 4em;
    --wd-6: 6em;
    --wd-8: 8em;
    --wd-10: 10em;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
}
html {
    font-size: 10px;
}
ul li {
    list-style: none;
}
a {
    text-decoration: none;
}
/* ****************** header ************* */
/* ******* navbar ******** */
.hero__bg {
    background-image: url('./images/mobile/image-hero.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    
}
.center__div {
    display: grid;
    justify-content: center;
    grid-template-rows: 1fr 1fr;
}

.center__div .navbar {
    display: flex;
    justify-content: space-between;
    margin-top: 2em;
    width: 90vw;
}
/* ****** navbar links ******* */
.navbar__item ul li {
    list-style: none;
}
.navbar__item {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: -200px;
    transition: left 0.5s linear;
    min-height: 100vh;
    background-color: black;
    display: flex;
    align-items: center;
}
.show__item .navbar__item {
    left: 0;
} 
.navbar__item .list a{
    text-decoration: none;
    color: var(--cl-white);
    font-size: calc(var(--fs-1) * 2.5);
    text-transform: uppercase;
    padding: 5px 20px;
    margin: 10px 10px;
    display: block;
}
.navbar__item ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}



/* logo */
.navbar .logo img {
    width: calc(var(--wd-10) * 1.5);
    cursor: pointer;
}
.navbar .menu__icon img {
    cursor: pointer;
    padding: 3px;
    transition: transform 0.3s linear;
}
.navbar .menu__icon img:hover {
    transform: rotate(90deg);
}
/* main title */
.main__title {
    color: var(--cl-white);
    font-size: calc(var(--fs-1) * 2);
    border: 2px solid var(--cl-white);
    word-wrap: break-word;
    width: 90vw;
}
.main__title h1 {
    padding: 1rem;
    text-transform: uppercase;
}


/* *************** first section ***************/
#first__section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--cl-white);
}
#first__section .center__div {
    max-width: 80vw;
    display: flex;
    flex-direction: column;
    gap: 4em;
    text-align: center;
}
#first__section .image__div img {
    max-width: 80vw;
}
.center__div .describtion h1{
    text-transform: uppercase;
    margin-bottom: 1em;
    font-size: calc(var(--fs-3) * 2);
    font-weight: var(--fw-300);
}
.center__div .describtion p{
    font-size: var(--fs-2);
    line-height: 1.6em;
    color: var(--cl-Dark-gray);
    font-weight: var(--fw-400);
}
/* ************** second section *********** */
#second__section {
    min-height: 100vh;
    background-color: var(--cl-white);
    padding-top: 5em;
    display: grid;
    justify-content: center;
}
#second__section .describe {
    margin-bottom: 4em;
}
#second__section .describe h1 {
    text-align: center;
    font-size: calc(var(--fs-3) * 2.5);
    font-weight: var(--fw-400);
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--cl-Dark-gray);
}

#second__section .grid__items {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center; 
    gap: 2em;
}
#second__section .grid__item {
    width: 90vw;
    height: 20vh;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    transition: opacity 0.2s linear;
    cursor: pointer;
    position: relative;
    opacity: 1;
}
#second__section .grid__item::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.068);
    z-index: 0;
}
#second__section .grid__item:hover {
    opacity: .7;
}
#second__section .grid__items h3 {
    font-size: calc(var(--fs-2) * 2);
    color: var(--cl-white);
    width: 5em;
    text-transform: uppercase;
    margin-left: 1em;
    margin-bottom: .8em;
    font-weight: 400;
}

#second__section .see__all {
    text-align: center;
    margin: 2em;
}
#second__section .see__all a {
    text-decoration: none;
    color: var(--cl-Dark-gray);
    font-size: calc(var(--fs-3) * 1.4);
    border: 2px solid var(--cl-very-dark-gray);
    display: inline-block;
    padding: 10px 50px;    
    letter-spacing: .17em;
}
/* ************************* footer section ********************* */
#footer__section {
    padding-top: 5vh;
    padding-bottom: 5vh;
    min-height: 30vh;
    background-color: var(--cl-black);
    display: grid;
    justify-content: center;
    align-items: center;
}
#footer__section .center__div__footer {
    text-align: start;
    display: flex;
    flex-direction: column;
    gap: 2em;
}
#footer__section .center__div__footer .navbar__item__footer ul{
    display: flex;
    flex-direction: column;
    gap: 3em;
}
#footer__section .center__div__footer .navbar__item__footer ul a {
    font-size: calc(var(--fs-2) * 1.3);
    color: var(--cl-white);
}
#footer__section .center__div__footer .social__links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
}
#footer__section .center__div__footer .copy__rights {
    color: var(--cl-white);
}

