:root {
  /* grid cards         ///////// */
  --1bg: #ea562a;
  --2bg: #e8dbd2;
  --3bg: #f5b2b6;
  --4bg: #e3dedd;
  --5bg: #f3dadf;
  --6bg: #e1dede;
  --7bg: #f7ce46;
  --8bg: #000;
}

@font-face {
  font-family: figtree;
  src: url(../fonts/Figtree/Figtree-VariableFont_wght.ttf);
}

@font-face {
       font-family:figtree2 ;
       src: url(../fonts/Figtree/static/Figtree-Light.ttf);
}
body {
  font-family: figtree;
}

header {
  width: 100%;
  height: 100px;
  /* background-color: grey; */
  padding: 0 60px;
  display: flex;
  > * {
    height: 100%;
    /* border: 1px solid black; */
  }
  > figure {
    width: 25%;
    display: flex;
    justify-content: left;
    align-items: center;
    > img {
      width: 50%;
      object-fit: cover;
    }
  }
  > nav {
    width: 60%;
    > ul {
      width: 100%;
      display: flex;
      justify-content: right;
      height: 100%;
      > li {
        /* border: 1px solid red; */
        position: relative;
        &:first-of-type {
          &:hover {
            > a {
              color: #000;
            }
          }

          &::after {
            position: absolute;
            content: "";
            display: flex;
            bottom: 20px;
            left: 5%;
            background-color: black;
            height: 2px;
            width: 90%;
          }
        }
        > a {
          /* border: 1px solid yellow; */
          display: flex;
          height: 100%;
          width: 100%;
          align-items: center;
          padding: 0 20px;
          text-transform: capitalize;
          font-weight: 700;
          transition: 0.4s;
          &:hover {
            color: #ea562a;
          }
        }
      }
    }
  }
  > div {
    width: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    > * {
      /* border: 1px solid red; */
      width: 50%;
      height: 100%;
    }
    > i {
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 30px;
      font-weight: normal;
      &:last-of-type {
        justify-content: left;
      }
    }
  }
}

/* section ///////////////////////////////////////////////////////////////*/

section {
  width: 100%;
  display: flex;
  min-height: 100px;
  padding: 60px 60px;

  > .menu {
    width: 300px;
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    padding: 20px 0;
    /* border: 1px solid green; */
    > * {
      width: 100%;
      /* border: 1px solid red; */
    }
    > p {
      margin-bottom: 50px;
      font-weight: 700;
      font-size: 30px;
      display: flex;
      align-items: center;
      justify-content: left;
    }
    > ul {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      > * {
        width: 100%;
        /* border: 1px solid green; */
      }
      > li {
        > a {
          display: flex;
          width: 100%;
          height: 100%;
          /* background-color: yellow; */
          text-transform: capitalize;
          align-items: center;
          font-weight: 700;
          padding: 10px 0;
          gap: 10px;
          transition: 0.4s;
          &:hover {
            color: #ea562a;
          }
          > span {
            font-size: 18px;
          }
        }
      }
    }
  }
  > .grid-container {
    height: 100vh;
    width: calc(100% - 300px);
    /* border: 1px solid black; */
    display: grid;
    grid-template-columns: repeat(4, 25%);
    grid-template-rows: repeat(4, 25%);
    padding: 10px;
    > .grid-item {
      /* border: 1px solid green; */
      padding: 10px;
      &:first-of-type {
        grid-area: 1 / 1 / span 1 / span 2;
        > figure {
          background-color: var(--1bg);
          padding: 20px 100px;
          justify-content: center;
          > img {
            width: 35%;
            height: 100%;
          }
          > p {
            /* border: 1px solid lightskyblue; */
            color: white;
            font-size: 20px;
            text-transform: capitalize;
            display: flex;
            align-items: center;
            justify-content: center;
            /* width: 65%; */
          }
        }
      }
      &:nth-of-type(2) {
        grid-area: 1 / 3 / span 2 / span 1;
        > figure {
          background-color: var(--2bg);
          
          > img {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }
      }
      &:nth-of-type(3) {
        grid-area: 1 / 4 / span 2 / span 1;
        > figure {
          background-color: var(--3bg);
          > img {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }
      }
      &:nth-of-type(4) {
        grid-area: 2 / 1 / span 1 / span 2;
        > figure {
          background-color: var(--4bg);
          padding: 20px 100px;
          > p {
            color: #000;
            font-size: 20px;
            text-transform: capitalize;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
          }
        }
      }
      &:nth-of-type(5) {
        grid-area: 3 / 1 / span 2 / span 1;
        > figure {
          background-color: var(--5bg);
          > img {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }
      }
      &:nth-of-type(6) {
        grid-area: 3 / 2 / span 2 / span 1;
        > figure {
          background-color: var(--6bg);
          > img {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }
      }
      &:nth-of-type(7) {
        grid-area: 3 / 3 / span 1 / sapn 2;
        > figure {
          background-color: var(--7bg);
          justify-content: space-between;
          padding: 0 20px;
          > img {
            width: 40%;
            height: 100%;
          }
        }
      }
      &:last-of-type {
        grid-area: 4 / 3 / span 1 / span 2;
        > figure {
          background-color: var(--8bg);
          justify-content: space-between;
          padding: 0 20px;
           >.row{
              >h3{
                     color: white;
              }
              >p{
                   color: white;  
              }
          }
          > img {
            width: 40%;
            height: 100%;
          }
        }
      }
      > figure {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        display: flex;
        align-items: center;
        overflow: hidden;
        position: relative;
         >.like{
              position: absolute;
              top: 10px;
              right: 10px;
              width: 50px;
              height: 50px;
              background-color: white;
              border-radius: 50%;
              display: flex;
              align-items: center;
              justify-content: center;
              >i{
                     font-size: 20px;
                     font-family: figtree2;
              }
          }
        &:hover{
              transition: transform .4s ease;
        transform: translateY(-10px);
        }
        
       
        > img {
          object-fit: cover;
          /* border: 1px solid white;*/
        }
        > p {
          /* border: 1px solid hotpink; */
          font-weight: 700;
        }
        > .row {
          /* border: 1px solid teal; */
          width: 60%;
          
          >h3{
              margin-bottom: 15px;
              font-size: 22px;
          }
          >p{
              font-size: 15px;
              font-weight: normal;
          }
        }
      }
    }
  }
}

/* footer /////////////////////////////////////////////////////////////// */

footer{
       width: 100%;
       min-height: 100px;
       padding: 20px ;
       background-color: var(--5bg);
       display: flex;
       justify-content: center;
       gap: 20px;
       >*{
              /* border: 1px solid black; */
       }
       >figure{
              width: 300px;
              height: 300px;
              border-radius: 10px;
              display: flex;
              align-items: center;
              justify-content: center;
              background-color: black;
              position: relative;
              overflow: hidden;
              >div{
                     position: absolute;
                     right: 0;
                     top: 0;
                     width: 280px;
                     height: 100%;
                     background-color: white;
                     display: flex;
                     align-items: center;
                     padding: 40px;
                     >img{
                     width: 100%;
                     height: 100%;
                     object-fit: cover;
                     border-radius: 10px;
              } 
              }
             
       }
       >.footer-text{
              /* background-color: white; */
              padding: 20px;
              display: flex;
              gap: 20px;
              >*{
                     /* border: 1px solid black; */
                     padding: 30px;
                     border-radius: 10px;
              }
              >.intro{
                    /* border: 1px solid red; */
                    padding:30px 10px 30px 0 ;
                     >h3{
                            font-size: 25px;
                            font-weight: 700;
                            color: #000;
                            width: 100%;
                     }
                     >p{
                            font-size: 14px;
                            font-weight: normal;
                            color: rgba(0, 0, 0, 0.702);
                            width: 100%;
                     }
              }
              >.info{
                     
                     display: flex;
                     flex-wrap: wrap;
                     align-content: center;
                     background-color: white;
                     border-radius:10px  ;

                     >*{
                            width: 100%;
                            /* border: 1px solid red; */
                     }
                     >i{
                            gap: 10px;
                            font-weight: 600;
                            display: flex;
                            padding: 10px 0;
                            color:rgba(0, 0, 0, 0.702) ;
                     }
              }
              >.socials{
                     display: flex;
                     flex-wrap: wrap;
                     padding: 0;
                     overflow: hidden;
                     background-color: black;
                     padding: 10px 0;
                     >*{
                            width: 100%;
                     }
                     >i{
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            font-size:20px;
                            color: var(--5bg);
                            transition: .4s;
                            &:hover{
                                   color: #e1dede;
                                   cursor: pointer;
                            }
                     }
              }
       }
       
}