/*===== CSS file table ====== 
    1) Header
    2) Hero Section
    3) Toolbox Section
    4) About Section
    5) Work Section
    6) Contact Section
    7) Footer
 =======================*/



/* =========================
    1)  Header
=============================*/
header {
  /* outline: 1px red dotted; */
  padding: 5px 15px 5px 10px;
  display: flex;
  justify-content: space-between;
}

header #logo {
  width: 100px;
}

header #logo img {
  width: 100%;
  padding: 3px;
}

header nav {
  height: 100%;
  display: flex;
  align-items: center;
}

header nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header nav ul li a {
  margin: 3px 10px;
  padding: 3px 5px;
  transition: color .25s;
  position: relative;
}

header nav ul li a:hover {
    color: var(--clr-font-shiny);
}

header nav ul li > a::before {
    content: '';
    background-image: url("../imgs/icon_polygon.svg");
    background-size: cover;
    position: absolute;
    width: 15px;
    height: 15px;
    left: -12px;
    top: 9px;
    opacity: 0;
    transition: opacity .2s;
}

header nav ul li > a:hover::before {
  opacity: 0.9;
}

header nav ul li:last-child a:hover {
    outline: 1px solid var(--clr-font-shiny);
    background: var(--clr-bg-btn);
    border-radius: 5px;
}

/* =========================
    2)  Hero Section
=============================*/
#hero-wrapper {
    /* outline: 1px dotted blueviolet; */
    /* margin: 10px auto 10px 100px; */
    /* padding-left: calc(15% ); */
    text-align: left;
}
#hero-wrapper div {
    margin: 10px;
    padding: 10px;
    font-weight: bolder;
    font-size: clamp(40px, 8vw, 80px);
}
#hero-wrapper .hero-title {
    font-size: 2.3rem;
    font-weight: 500;
    letter-spacing: .2rem;
    color: var(--clr-font-shiny);
}
#hero-wrapper .hero-name{
    font-size: clamp(40px, 8vw, 80px);
    color: var(--clr-font-light);
}
#hero-wrapper .hero-msg{
    color: var(--clr-font-dark);
}
#hero-wrapper .hero-text{
    font-size: 1.8rem;
    letter-spacing: .2rem;
    color: var(--clr-font-dark);
}
/* --- call to action btn ---*/
#hero-wrapper .hero-contact{
    margin: 5px auto;
    padding: 0;
    width: fit-content;
    border: 1px solid var(--clr-font-shiny);
    border-radius: 7px;
    transition: background .2s;
}
#hero-wrapper .hero-contact:hover{
    cursor: pointer;
    background: var(--clr-bg-btn)
}
#hero-wrapper .hero-contact a{
    /* outline: 1px dotted yellow; */
    display: block;
    padding: 10px 20px;
    font-size: 1.6rem;
    font-weight: bold;
    font-family: var(--font-mono);
    color: var(--clr-font-shiny);
}
#hero-wrapper .hero-contact a span{
    /* outline: 1px dotted red; */
    display: inline-block;
    background-image: url("../imgs/smile.svg");
    width: 30px;
    height: 30px;
    transition: background .15s;
}
#hero-wrapper .hero-contact:hover a span{
    background-image: url("../imgs/smile-laugh.svg");
}
/* =========================
    4)  About Section
=============================*/
#about{
    outline: 1px dashed yellow;
    font-size: 1.8rem;
    line-height: 2.5rem;
    width: 100%;
    display: flex;
}
#about p{
    width: 50%;
    padding: 20px 50px;
    border: 2px solid var(--clr-font-shiny);
    border-radius: 15px;
}
#about .my-img{
    background-image: url("../imgs/photo.png");
    background-size: cover;
    /* background-clip: content-box; */
    width: 300px;
    height: 300px;
    margin: auto ;
    border-radius: 20px;
    box-shadow: 15px 13px 20px black;
}
/* =========================
    3)  Toolbox Section
=============================*/
#toolbox{
    outline: 1px dashed fuchsia;
    margin-left: auto;
    margin-right: auto;

    width: 50%;
    display: grid;
    grid-template-columns:1fr 1fr 1fr 1fr;
    gap: 10px;
}
#toolbox div.icon{
    outline: 1px das hotpink;
    min-width: 60px;
    min-height:60px;
    background-color: var(--clr-bg-btn);
    border-radius: 20px;
    overflow: hidden;
    transition: scale .3s, outline .3s;
    position: relative;
}
#toolbox div.icon:hover{
    outline: 2px solid var(--clr-font-shiny);
    transform: scale(105%);
    
}
#toolbox div.icon img{
padding: 15px;
width: 100%;
}
#toolbox div.icon::after {
    content: attr(data-skill);
    position: absolute;
    color: yellow;
    bottom: 3px;
    left: 7px;
    font-size: 1.5rem;
    opacity: 0.1;
    transition: opacity .15s;
}
#toolbox div.icon:hover::after {
    opacity: 1;
}


/* =========================
    5)  Work Section
=============================*/


/* =========================
    6)  Contact Section
=============================*/

/* =========================
    7)  Footer
=============================*/
footer{
    width: 100%;
    /* outline: 1px dotted wheat; */
}
footer > div{
    /* outline: 1px dotted salmon; */
    width: fit-content;
    margin: 10px auto;
    padding: 10px;
    text-align: center;
}
footer div div {
    padding-top: 10px;
    font-size: 1.6rem;
}