/* BODY & HTML */


html, body {
    margin: 0;
    padding: 0;
}

p {
    padding: 15px;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Poppins", sans-serif;
}

#head-image {
    text-align: center;
}

#head-image img {
    padding-top: 20px;
    width: 250px;
    height: 250px;
}

/*FOOTER*/

footer {
    background-color: #222;
    text-align: left;
    margin-top: auto;
    padding-top: 50px;
    padding-bottom: 50px;
}

footer table tr td, footer table tr td a {
    color: white;
}

footer ul {
    list-style: none;
}

.footer-icon {
    width: 20px;
    height: 20px;
    display: block;
    padding-right: 5px;
    filter: invert(100%);
}

/* */

.category-head {
    padding-left: 40px;
    padding-top: 20px;
}

p {
    padding-left: 40px;
}

.center {
    text-align: center;
}

.avatar {
   text-align: right;
    float:right ;
    padding-right: 50px;
}

.avatar img {
    height: 300px;
    width: 300px;

}
/*SKILLS*/
.skills-icon {
    text-align: left;
    padding-left: 40px;
    padding-right: 8px;
    float: left;
    display: flex;
    align-items: center;
}

.skills-container {
    text-align: center;
    display: flex;
    box-sizing: border-box;
    width: 85%;
    max-width: 1000px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;

    transition: box-shadow 0.3s ease, transform 0.3s ease;
}



.skills-icon img {
    height: 80px;
    width: 80px;
}
/* END */
.header {
    font-weight: bold;
    font-size: 1.8em;
    padding-bottom: 20px;
    padding-left: 40px;
}

.link-less {
    color: inherit;
    text-decoration: none;
}

.link-less-glob {
    color: inherit;
    text-decoration: none;
}

.link-less-glob * {
    color: inherit;
    text-decoration: none;
}

table {
     padding-left: 50px;
 }

.mini-icon {
    text-align: center;
}

.mini-icon img {
    width: 20px;
    height: 20px;
    display: block;
    padding-right: 5px;
}

.nowrap {
    white-space: nowrap;
}

nav {
    display: flex;
    top: 0;
    z-index: 1000;
    padding: 12px 20px;
    background-color: #222;
}

#nav-name {
    color: white;
}

.nav-link a {
    white-space: nowrap;
    position: relative;
    color: white;
    padding-top: 10px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    display: flex;
}

.nav-currentpage a {
    padding-bottom: 2px;
    border-bottom: 2px solid white;
    white-space: nowrap;
}

.nav-currentpage a{
    position: relative;
    color: white;
    padding-top: 10px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    display: flex;
}



.ulstyle {
    list-style: none;
    display: flex;
    gap: 30px;
}

.project-container {
    width: 85%;
    max-width: 1000px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    margin: 20px auto;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    align-items: center;
    text-align: center;
    justify-content: center;
    box-sizing: border-box;
    flex-direction: row;
    padding: 12px;
      }

.project-icon {
    text-align: left;
    float: left;
    display: flex;
    align-items: center;
}

.project-icon img {
    height: 100px;
    width: 100px;
}

.project-pad {
    padding-top: 0;
}

.p-project {
    padding-left: 20px;
}

/*BLOG*/

.blog-div {
    justify-content: center;
    flex-direction: column;
    text-align: center;
    border-radius: 10px;
    max-width: 1000px;
    width: 85%;
    box-shadow: rgba(0, 0, 0, 0.3) 0 5px 10px;
    margin-right: auto;
    margin-left: auto;
    display: flex;


    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-date {
    padding: 0;
    text-align: center;
    justify-content: center;
    display: flex;
    font-size: 0.8em;
    color: rgba(0, 0, 0, 0.3);
}

.blog-p {
    padding-left:3px;
    padding-right:3px;
    padding-top:10px;
}

.blog-header {
    text-align: center;
    font-size: 1.5em;
}
/*END*/

/* PC ONLY */
@media (min-width: 600px) {

    .blog-div:hover {
        box-shadow: rgba(0, 0, 0, 0.3) 0 10px 10px ;
        transform: translateY(-3px);
    }

    .project-container:hover {
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-3px);
    }
    .skills-container:hover {
        display: flex;
        box-sizing: border-box;
        width: 85%;
        max-width: 1000px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        transform: translateY(-3px);
    }
    .nav-currentpage a:hover {
        text-shadow: 0 0 3px white;
    }
    .nav-link a:hover {
         padding-bottom: 2px;
         border-bottom: 2px solid white;
         text-shadow: 0 0 3px white;
     }
}

/* MOBILE COMPATIBILITY */
 @media screen and (max-width: 600px) {
     body p {
         font-size: 1.2em;
     }
     .header {
         text-align: center;
         font-weight: bold;
         font-size: 2em;
         padding: 20px;
     }
     #head-image img {
         padding-top: 20px;
         width: 150px;
         height: 150px;
     }
     footer {
         background-color: #222;
         text-align: center;
         margin-top: auto;
         padding-top: 50px;
         padding-bottom: 50px;
     }
     .avatar {
         text-align: right;
         float:right ;
         padding:17px ;
     }

     .avatar img {
         height: 150px;
         width: 150px;

     }
     .category-head {
         padding-left: 40px;
         padding-top: 20px;
        font-size: 2em;
     }
    /*SKILLS - MOBILE*/
     .skills-icon {
         justify-content: center;
         text-align: center;
         float: none;
         margin-bottom: auto;
         margin-left: auto;
         align-items: center;
         width: 100%;
     }

     .project-pad {
         padding-left: 0;
     }

     .skills-container, .project-container {
         align-items: center;
         display: flex;
         justify-content: center;
         flex-wrap: wrap;
         margin-left: auto;
         margin-right: auto;
         transition: none;
         transform: none;
         box-shadow: none;
         box-sizing: border-box;
         width: fit-content;
         border-radius: 10px;
         margin-bottom: 20px;
     }

     .skills-icon img {
         height: 100px;
         width: 100px;
     }

     .ulstyle {
         flex-direction: column;
         gap: 10px;

     }

     .project-icon {
         justify-content: center;
         text-align: center;
         float: none;
         margin-bottom: auto;
         margin-left: auto;
         align-items: center;
         width: 100%;
         padding: 0;
     }

     .project-icon img {
         height: 100px;
         width: 100px;
     }

     .p-project {
         padding-left: 0;

     }

     .project-head {
         padding-left: 0;
     }

     .nav-link a, .nav-currentpage a {
        padding-bottom: 2px;
         padding-top: 0;
         line-height: 1;
         font-size: 1.2em;
         display: inline-block;
     }
     #nav-name {
         color: white;
         font-size: 2em;
     }
     .blog-div {
         box-shadow: none;
         border-radius: 0;
         border-bottom: 3px solid rgba(0, 0, 0, 0.1);
     }
     .blog-date {
         font-size: 1em;
         color: rgba(0, 0, 0, 0.3);
     }
     .blog-header {
         font-size: 2em;
     }
     .blog-p {
         padding-left:3px;
         padding-right:3px;
         padding-top:10px;
     }
 }

