:root {
  --bluegrey: rgb(106, 133, 156);
  --lightblue: rgb(59, 181, 222);
  --buttonbg: rgb(18, 97, 171);
}

@font-face {
  font-family: Roboto;
  src: url(../fonts/Roboto/Roboto-VariableFont_wdth\,wght.ttf);
}
@font-face {
  font-family: Open-Sans;
  src: url(../fonts/Open_Sans/OpenSans-VariableFont_wdth\,wght.ttf);
}
@font-face {
  font-family: Roboto-light;
  src: url(../fonts/Roboto/static/Roboto-Light.ttf);
}
@font-face {
  font-family: open-sans-light;
  src: url(../fonts/Open_Sans/static/OpenSans-Light.ttf);
}
body {
  font-family: "Robot", "Open-Sans", serif;
}

/* Header ////////////////////// */

header {
  > .row {
    > .logo {
      > h1 {
        /* border: 1px solid white; */
        font-family: Roboto-light;
        font-size: 26px;
        font-weight: normal;
        color: rgb(88, 130, 144);
        letter-spacing: 5px;
      }
    }
    > nav {
      > ul {
        justify-content: end;
        align-items: center;
        > li {
          &:last-of-type {
            > a {
              color: #2e2e2e;
              &:hover {
                color: var(--bluegrey);
              }
            }
          }
          > a {
            display: flex;
            height: 100%;
            padding: 0 10px;
            color: rgb(88, 130, 144);
            align-items: center;
            text-decoration: none;
            text-transform: capitalize;
            font-family: Open-Sans;
            font-size: 16px;
            transition: 0.4s;
          }
        }
      }
    }
    > div {
      > span {
        width: 15px;
        height: 15px;
        border: 2px solid #2e2e2e;
        position: relative;
        border-left: none;
        border-right: none;
        &::after {
          position: absolute;
          width: 100%;
          height: 2px;
          top: calc(50% - 1px);
          left: 0;
          content: "";
          background-color: #2e2e2e;
        }
      }
    }
  }
}

/* section one  ////////////////////////////////////////////////////////*/
.section-1 {
  min-height: 100px;
  padding: 100px 0;
  /* background-color: yellow; */
  > .row {
    &:first-of-type {
      /* background-color: red; */
      margin-bottom: 50px;
      > h2 {
        font-family: Roboto-light;
        font-size: 30px;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #2e2e2e;
      }
      > h3 {
        font-family: Open-Sans-light;
        font-size: 18px;
        text-transform: uppercase;
        letter-spacing: 2.5px;
        text-align: center;
      }
    }
    &:last-of-type {
      > .box {
        padding: 30px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 5px;
        border: 0.1px solid rgba(0, 0, 0, 0.336);
        transition: 0.4s;
        &:hover {
          transform: translateY(-10px) scale(0.995);
          box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.236);
        }
        > * {
          /* border: 1px solid black; */
          width: 100%;
        }
        > div {
          width: 100px;
          height: 100px;
          border-radius: 50%;
          border: 1px solid var(--bluegrey);
          padding: 10px;
          > span {
            width: 100%;
            height: 100%;
            border-radius: inherit;
            background-color: var(--bluegrey);
          }
        }
        > h3 {
          font-family: Roboto-light;
          color: grey;
          font-weight: normal;
          font-size: 25px;
          letter-spacing: 2px;
        }
        > p {
          font-size: 13px;
          line-height: 2;
        }
      }
    }
  }
}

/* section two ////////////////////////////// */

.section-2 {
  min-height: 100px;
  padding: 100px 0;
  > .row {
    &:first-of-type {
      /* background-color: red; */
      margin-bottom: 60px;
      > h2 {
        font-family: Roboto-light;
        font-size: 30px;
        text-transform: uppercase;
        letter-spacing: 2px;
      }
      > h3 {
        font-family: Open-Sans-light;
        font-size: 18px;
        text-transform: uppercase;
        letter-spacing: 2.5px;
        text-align: center;
      }
    }
      &:last-of-type{
    >figure{
      height: 500px;
      >*{
        /* border: 1px solid white; */
        width: 100%;
      }
      >img{
        object-fit: cover;
        height: 55%;
        transition: .4s;
        &:hover{
          transform: translateY(-10px);
        }
      }
      >figcaption{
        height: 45%;
        >*{
          width: 100%;
          /* border: 1px solid pink; */
          display: flex;
          justify-content: center;
          text-align: center;
          align-items: center;
        }
        >span{
          font-family: Open-Sans-light;
          font-size: 20px;
          letter-spacing: 3px;
          text-transform: uppercase;
        }
        >p{
          font-family: Roboto-light;
          font-size: 14px;
          letter-spacing: 2px;
          margin-bottom: 10px;
        }
        >a{
          padding: 10px 60px;
          text-transform: uppercase;
          font-size: 15px;
          font-family: Open-Sans-light;
          border-radius: 5px;
          font-weight: 500;
          transition: .4s;
          color: white;
          border: 1px solid white;
          &:hover{
            color: var(--lightblue);
            border:1px solid var(--lightblue);
          }
        }
      }
    }
  }
  }
}
 /* <!-- section three ///////////////////////////////////////////// --> */
 .section-3{
  min-height: 100px;
  padding: 100px 0;
  >.row{
        &:first-of-type {
      /* background-color: red; */
      margin-bottom: 60px;
      > h2 {
        font-family: Roboto-light;
        font-size: 30px;
        text-transform: uppercase;
        letter-spacing: 2px;
      }
      > h3 {
        font-family: Open-Sans-light;
        font-size: 18px;
        text-transform: uppercase;
        letter-spacing: 2.5px;
        text-align: center;
      }
    }
    &:nth-of-type(2){
      margin-bottom: 40px;
      >a{
        text-transform: uppercase;
        font-size: 16px;
        padding: 8px 32px;
        border-radius: 5px;
        background-color: grey;
        font-family: Open-Sans-light;
        transition: .4s;
        font-weight: 600;
        &:first-of-type{
          background-color: var(--buttonbg);
        }
        &:hover{
          background-color: var(--buttonbg);
        }

      }
    }
    &:last-of-type{
      >figure{
        >img{
          width: 100%;
          object-fit: cover;
        }
        >figcaption{
          >h3{
            font-family: Roboto-light;
            font-weight: 600;
          }
          >p{
            color: var(--bluegrey);
            font-family: Open-sans-light;
          }
        }
      }
    }
  }
 }
 /* footer ************************************************************************ */

 footer{
  padding: 40px 0;
  min-height: 100px;
  >.row{
    >div{
     p{
      font-size: 18px;
      font-weight: 600;
      font-family: Roboto;
      &:last-of-type{
        font-weight: normal;
        font-family: Open-Sans-light;
        font-size: 15px;
        color: var(--bluegrey);
      }
    }
  }
  >ul{
    p{
      font-size: 18px;
      font-weight: 600;
      font-family: Roboto;
    }
    >li{
      font-family: Open-Sans-light;
      font-size: 14px;
      font-weight: 700;
      color: #2e2e2e;
      position: relative;
      gap: 10px;
      &::after{
        position: absolute;
        content: '';
        width: 95%;
        height: .1px;
        background-color: var(--bluegrey);
        left: 0;
        bottom:0;
      }
      >img{
        object-fit: cover;
        height: 20px;
        width: 20px;
      }
    }
  }
  }
 }

 /* copyright ***********************************************/

 .copyright{
  width: 180px;
  height: 40px;
  /* border: 1px solid black; */
  position: fixed;
  bottom: 20px;
  right: 15px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  background-color: #fff;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 10% 50%);
  padding-left: 10px;
  >*{
    width: 100%;
    /* border: 1px solid red; */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  >p{
    font-family: Roboto;
    font-weight: 700;
    color: var(--bluegrey);
    font-size: 12px;
  }
  >span{
    font-size: 10px;
    color: var(--buttonbg);
    font-weight: 500;
  }
 }

 /* personal footer ********************************************************************************/
 .personal{
  min-height: 100px;
  padding: 100px 0;
  >.row{
    padding: 0 100px;
       > .box {
        padding: 30px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 5px;
        border: 0.1px solid whitesmoke;
        background-color: var(--bluegrey);
        > * {
          /* border: 1px solid black; */
          width: 100%;
        }
        > figure {
          width: 100px;
          height: 100px;
          border-radius: 50%;
          border: 1px solid whitesmoke;
          padding: 10px;
          > img {
            width: 100%;
            height: 100%;
            border-radius: inherit;
            object-fit: cover;
            object-position: center;
          }
        }
        > h3 {
          font-family: Roboto-light;
          font-weight: 800;
          font-size: 25px;
          letter-spacing: 2px;
        }
        > p {
          font-size: 13px;
          line-height: 2;
          font-family: Roboto;
          color: whitesmoke;
          &:last-of-type{
            font-weight: 700;
            text-transform: capitalize;
          }
        }
        >span{
          font-family: Open-Sans;
          font-weight: 500;
          color: white;
          font-size: 16px;
        }
     }
  }
 }