*{
  margin: 0;
  padding: 0;
  font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color: #FFFFE8;
}

html, body{
  background-color: #7286D3;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header{
  width: 60%;
  height: 6rem;
  border-bottom: 1px solid #FFFFE8;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

  h1{
    margin-bottom: 0.5rem;
  }

  nav img:hover{
    background-color: #FFFFE8;
  }
    #git_ic{
      border-radius: 100%;
    }

    #lin_ic{
      border-radius: 20%;
    }

main{
  width: 100%;
  height: 60%;
}
  #multiplication_table{
    width: 100%;
    height: 95%;
    background: rgb(114,134,211);
    background: linear-gradient(90deg, rgba(114,134,211,1) 50%, rgba(204,113,196,1) 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 4rem;
    padding-bottom: 3rem;
  }
    #multi_left{
      width: 50%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-end;
      text-align: center;
    }

      #multi_left h2{
        width: 50%;
        word-wrap: break-word;
      }
      
      #multi_left p{
        width: 50%;
        word-wrap: break-word;
      }

      #multi_left div{
        margin-top: 2rem;
        width: 50%;
      }

      #multi_left a img:hover{
        background-color: #FFFFE8;
        border-radius: 20%;
      }

    #multi_right{
      width: 40%;
    }

      #multi_right a video{
        border-radius: 10%;
      }


  #techbar{
    width: 100%;
    height: 95%;
    background: rgb(204,113,196);
    background: linear-gradient(90deg, rgba(204,113,196,1) 0%, rgba(114,134,211,1) 50%);  
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 4rem;
    padding-bottom: 3rem;
  }
    #tech_right{
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        text-align: center;
    }
  
      #tech_right h2{
          width: 50%;
          word-wrap: break-word;
      }
        
        #tech_right p{
          width: 50%;
          word-wrap: break-word;
        }

        #tech_right div{
          margin-top: 2rem;
          width: 50%;
        }

        #tech_right a img:hover{
          background-color: #FFFFE8;
          border-radius: 20%;
        }
  
    #tech_left{
        width: 40%;
        display: flex;
        justify-content: end;
    }

      #tech_left img{
        box-shadow: 15px 15px 10px rgb(107, 105, 105);
      }


#end{
  width: 60%;
  height: 30%;
}
  #skills{
    width: 100%;
    display: flex;
  }

    .mobile_wrap{
      width: 50%;
      display: flex;
    }
      .skill{
        width: 50%;
        padding-top: 3rem;
        padding-bottom: 3rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
        .skill_head{
          display: flex;
          align-items: center;
          margin-bottom: 1rem;
        }
          .h3-margin{
            margin-left: 0.5rem;
          }

      .skill hr{
        width: 50%;
      }

      .skill p{
        margin-top: 1rem;
      }

footer{
  padding-top: 1rem;
  padding-bottom: 1rem;
}


@media only screen and (max-width: 1500px){
  header{
    width: 80%;
    height: 10rem;
  }

  main{
    height: 50%;
  }

    #tech_left img{
      width: 100%;
    }

  #end{
    width: 80%;
    height: 38%;
  }

    #skills{
      flex-direction: column;
    }
    
      .mobile_wrap{
        width: 100%;
      }
  
  footer{
    margin-top: 1rem;
  }
}

@media only screen and (max-width: 700px){

  header{
    width: 80%;
    height: 10rem;
  }

  #multiplication_table{
    width: 100%;
    height: 95%;
    flex-direction: column;
  }
    #multi_left{
      width: 100%;
      align-items: center;
      justify-content: center;
    }

      #multi_left a img{
        margin-bottom: 2rem;;
      }

    #multi_right{
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    #techbar{
      width: 100%;
      height: 95%;
      flex-direction: column-reverse;
    }
      #tech_right{
        width: 100%;
        align-items: center;
        justify-content: center;
      }

        #tech_right a img{
         margin-bottom: 2rem;;
        }
  
      #tech_left{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
      }


  #end{
    width: 80%;
  }

    .mobile_wrap{
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    .skill{
      width: 90%;
    }
      
}