*{
    margin:0;
    padding:0;
    color: #ffffff;
}
 
body{
    background-image: linear-gradient(to bottom right,#008BEA,#BF15EA);
    background-repeat: no-repeat;
    background-size:cover;
    background-attachment: fixed;
    font-family: 'Montserrat', Helvetica;
    font-size: 1rem;
    height: 100%;
    width: 100%;
    animation:anime 1s ease-in-out;
}
@keyframes anime{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

.dark-mode{
    background-image: linear-gradient(to bottom right,#2d18a5,#2a215a);
    color: #ffffff;
}

main{
    background-color:rgba(255,255,255,0.2);
    margin:5rem;
    border:1px solid #ffffff62;
    border-radius: 10px;
    box-shadow: 4px 4px #00000013;
    padding: 1rem;
}

header{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0.5rem;
}

header .dark-light-mode img{
    height: 2rem;
    width: 2rem;
    cursor: pointer;
}
#hamburger{
    display:none ;
    height: 2rem;
    width: 2rem;
    margin-right: 60%;
    cursor: pointer;
}
main nav li{
    text-decoration: none;
    display: inline-block;
}
main nav li a{
    text-decoration: none;
    padding-right:1rem;
}
.active{
    color: #40EA15;
}
.nav-toggler{
    display: block;
}
.dark-nav{
    background: none;
}
.hero-section{
    margin-top: 1.5rem;
    display: grid;
    animation:anime 1s ease-in-out;
}
.hero-section-wrapper{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.hero-section .intro{
    grid-row: 1/2;
    grid-column: 1/2;
    padding:2rem;
    line-height: 2rem;
}
.hero-image{
    grid-row: 1/2;
    grid-column: 2/3;
}
.hero-image img{
    width:20rem;
    height:22rem;
}
.hero-section .intro button {
    border-radius:6px;
    padding:0.7rem;
    width:9rem;
    outline: none;
    border: none;
    background-color:#40EA15;
    color:#FFFFFF;
    font-family: 'Montserrat';
    margin-top: 3rem;
    font-weight: 600;
}
.hero-section .intro a {
    text-decoration: none;
}
.hero-section button:hover{
    cursor:pointer;
}


.about-me-section{
    display: none;
    margin:3rem 5rem;
    padding:0 0 3rem 0;
    animation:anime 1s ease-in-out;
}
.about-me-section p{
    margin-top: 3rem;
    line-height: 2rem;
}


.services-section{
    display: none;
    margin:3rem 5rem;
    padding: 0 0 3rem 0;
    animation:anime 1s ease-in-out;
}
.services-section p{
    margin-top: 3rem;
}
.services-wrapper{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: auto;
    place-items: center;
}
.web-dev, .graphics, .ui-ux{
    width:15rem;
    margin-top: 3rem;
    padding: 2rem;
    text-align: center;
  }
.web-dev .image-wrapper, .graphics .image-wrapper, .ui-ux .image-wrapper{
    background-color: rgba(255,255,255,0.2);
    box-shadow: 4px 4px #00000010;
    border: 1px solid #ffffff65;
    border-radius: 50%;
    width:12rem;
    height:12rem;
    margin: 2rem auto; 
}
.web-dev img{
    height:12rem;
    width:12rem;
}
.graphics img{
    height:9rem;
    width:10rem;
    margin: 1.1rem 1rem;
}
.ui-ux img{
    height:11rem;
    width:11rem;
}


.skills-section{
    display: none;
    margin:3rem 5rem;
    padding: 0 0 3rem 0;
    animation:anime 1s ease-in-out;
}
.skills-section p{
    margin-top: 3rem;
}
.skills-wrapper{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-template-rows: auto;
    margin-top: 3rem;
    padding: 2rem;
    place-items: center;
    text-align: center;
    gap: 2rem;
  }
  
.html .image-wrapper, .css .image-wrapper, .js .image-wrapper, .wordpress .image-wrapper, 
.photoshop .image-wrapper, .ai .image-wrapper, .figma .image-wrapper
{
    background-color: rgba(255,255,255,0.2);
    box-shadow: 4px 4px #00000010;
    border: 1px solid #ffffff65;
    border-radius: 50%;
    width:8rem;
    height:8rem;
    margin-top: 1rem;
    position: relative;
}
.html img{
    height:5rem;
    width:5rem;
    position: absolute;
    top:18%;
    left:20%;
}
.css img{
    height:5rem;
    width:5rem;
    position: absolute;
    top:18%;
    left:20%;
}
.js img{
    height:5rem;
    width:5rem;
    position: absolute;
    top:18%;
    left:20%;
}
.wordpress img{
    height:5rem;
    width:5rem;
    position: absolute;
    top:18%;
    left:20%;
}
.photoshop img{
    height:5rem;
    width:5rem;
    position: absolute;
    top:18%;
    left:20%;
}
.ai img{
    height:5rem;
    width:5rem;
    position: absolute;
    top:18%;
    left:20%;
}
.figma img{
    height:4rem;
    width:4rem;
    text-align: center;
    position: absolute;
    top:25%;
    left:25%;
}


.projects-section{
    display: none;
    margin:3rem 5rem;
    padding: 0 0 3rem 0;
    animation:anime 1s ease-in-out;
}
.projects-section p{
    margin-top: 3rem;
}
.projects-section a{
    text-decoration: none;
}
.projects-wrapper{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: auto;
    place-items: center;
    gap: 1rem;
    justify-content: center;
}

.star-clinic img, .smart-winners img, .tribute img, .phoenix-tech img {
    width:11rem;
    height:8rem;
    border-radius: 10px;
}

.star-clinic, .smart-winners, .phoenix-tech, .tribute{
    width:11rem;
    height:11.5rem;
    margin-top: 3rem;
    background-color: rgba(255,255,255,0.2);
    border: 1px solid #ffffff65;
    box-shadow: 4px 4px #00000010;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 10px;
}

.smart-winners, .star-clinic, .tribute, .phoenix-tech {
    margin-right: 1.7rem;
}

.projects-wrapper-2{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: auto;
    place-items: center;
}
.flyer{
    width:11rem;
    height:11rem;
    margin-top: 3rem;
    background-color: rgba(255,255,255,0.2);
    border: 1px solid #ffffff65;
    box-shadow: 4px 4px #00000010;
    text-align: center;
    padding: 1.5rem 1.5rem 3rem 1.5rem;
    border-radius: 10px;
}
.flyer img{
    width:9rem;
    height:9rem;
    border-radius: 10px;
}
/*.logo{
    width:11rem;
    height:11rem;
    margin-top: 3rem;
    background-color: rgba(255,255,255,0.2);
    border: 1px solid #ffffff65;
    box-shadow: 4px 4px #00000010;
    text-align: center;
    padding: 1.5rem 1.5rem 3rem 1.5rem;
    border-radius: 10px;
}
.logo img{
    width:9rem;
    height:9rem;
    border-radius: 10px;
}
*/
/*.projects-wrapper-3{
    display: flex;
    justify-content: center;
}*/
.ui-ux-design{
    width:11rem;
    height:11rem;
    margin-top: 3rem;
    background-color: rgba(255,255,255,0.2);
    border: 1px solid #ffffff65;
    box-shadow: 4px 4px #00000010;
    text-align: center;
    padding: 1.5rem 1.5rem 3rem 1.5rem;
    border-radius: 10px;
}
.ui-ux-design img{
    height:8rem;
    width:10rem;
    margin: 1rem 0.5rem;
}


.companies-section{
    display: none;
    margin:3rem 5rem;
    padding: 0 0 3rem 0;
    animation:anime 1s ease-in-out;
}
.companies-section a{
    text-decoration: none;
}
.companies-wrapper{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: auto;
    place-items: center;
    text-align: center;
}
.regine .image-wrapper{
    width:8rem;
    height:8rem;
    margin-top: 3rem;
    background-color: rgba(255,255,255,0.2);
    border: 1px solid #ffffff65;
    box-shadow: 4px 4px #00000010;
    text-align: center;
    padding: 1.5rem 1.5rem 3rem 1.5rem;
    border-radius: 10px;
}
.regine img{
    height:7rem;
    width:7rem;
    margin: 1rem 0.5rem;
}
.make-digi .image-wrapper{
    width:8rem;
    height:8rem;
    margin-top: 3rem;
    background-color: rgba(255,255,255,0.2);
    border: 1px solid #ffffff65;
    box-shadow: 4px 4px #00000010;
    text-align: center;
    padding: 1.5rem 1.5rem 3rem 1.5rem;
    border-radius: 10px;
}
.make-digi img{
    height:7rem;
    width:7rem;
    margin: 1rem 0.5rem;
}


.contact-section{
    display: none;
    margin:3rem 5rem;
    padding: 0 0 3rem 0;
    animation:anime 1s ease-in-out;
}
.contact-contents{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.telephone-container{
    display: flex;
    align-items: center;
}
.telephone-wrapper{
    width:4rem;
    height:4rem;
    margin-right: 2rem;
    border-radius: 50%;
    position: relative;
    background-color: rgba(255,255,255,0.2);
    border: 1px solid #ffffff65;
}
.telephone-wrapper img{
    height:2.5rem;
    width:2.5rem;
    position: absolute;
    left:20%;
    top:15%;
}
.email-container{
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}
.email-wrapper{
    width:4rem;
    height:4rem;
    margin-right: 2rem;
    border-radius: 50%;
    position: relative;
    background-color: rgba(255,255,255,0.2);
    border: 1px solid #ffffff65;
}
.email-wrapper img{
    height:2rem;
    width:2.5rem;
    position: absolute;
    left:20%;
    top:20%;
}

.social-icons{
    display: flex;
    margin-top: 2rem;
}
.facebook-wrapper, .twitter-wrapper{
    margin-left: 1rem;
}
.linkedin-wrapper{
    width:4rem;
    height:4rem;
    margin-right: 2rem;
    border-radius: 50%;
    position: relative;
    background-color: rgba(255,255,255,0.2);
    border: 1px solid #ffffff65;
}
.linkedin-wrapper img{
    height:2.5rem;
    width:2.5rem;
    position: absolute;
    left:20%;
    top:20%;
}
.facebook-wrapper{
    width:4rem;
    height:4rem;
    margin-right: 2rem;
    border-radius: 50%;
    position: relative;
    background-color: rgba(255,255,255,0.2);
    border: 1px solid #ffffff65;
}
.facebook-wrapper img{
    height:2.5rem;
    width:2.5rem;
    position: absolute;
    left:20%;
    top:20%;
}
.twitter-wrapper{
    width:4rem;
    height:4rem;
    margin-right: 2rem;
    border-radius: 50%;
    position: relative;
    background-color: rgba(255,255,255,0.2);
    border: 1px solid #ffffff65;
}
.twitter-wrapper img{
    height:2.5rem;
    width:2.5rem;
    position: absolute;
    left:20%;
    top:20%;
}
.contact-image img{
    height:25rem;
    width:25rem;
}



/*--------------------------------------------MOBILE------------------------------------------------------------*/
@media screen and (max-width:600px){
    main{
        margin:1rem;
        padding: 0 0 7rem 0;
    }
    main #hamburger{
        display: block;
        padding: 0.5rem;
        margin-right:75%;
    }
    main nav{
        position: absolute;
        z-index: 1;
        text-align: center;
        margin-top: 1.4rem;
        background-image: linear-gradient(rgba(0,139,234,0.7), rgba(0,139,234,0.7));
        width: 100%;
    }
    main nav li{
        padding: 0.5rem;
        border-bottom: 1px solid #ffffff3b;
        display: none;
        animation: menu-anime 0.3s ease-in-out;
    }
    @keyframes menu-anime {
        from{
            margin-left: -1000px;
        }
        to{
            margin: 0;
        }
    }
    main nav li:nth-child(7){
        border-bottom: none;
    }
    .dark-nav{
        background-image: linear-gradient(rgba(45,24,165,0.7), rgba(45,24,165,0.7));
    }

    .hero-section {
        margin: 0;
    }
    .hero-section-wrapper{
        flex-wrap: wrap-reverse;
        justify-items: center; 
    }
    .hero-section .intro{
        grid-row:2/3;
        grid-column: 1/2;
        padding: 1rem;
    }
    .hero-section .intro h1{
        font-size: 1.75rem;
        text-align: center;
    }
    .hero-section .intro h3{
        font-size: 1rem;
        text-align: center;
    }
    .hero-section .intro button{
        margin: 2rem auto 0 auto;
        text-align: center;
        display: flex;
        justify-content: center;
    }
    .hero-section .hero-image{
        grid-row:1/2;
        grid-column: 1/2;
    }
    .hero-image img{
        width:15rem;
        height:18rem;
    }

    .about-me-section{
        margin: 1rem;
    }

    .services-section{
        margin: 3rem 0;
        padding:0;
    }
    .services-wrapper{
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .web-dev, .graphics, .ui-ux{
        padding: 0;
        text-align: center;
      }
      .web-dev .image-wrapper, .graphics .image-wrapper, .ui-ux .image-wrapper{
        width:12rem;
        height:12rem;   
    }

    .skills-wrapper {
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: auto;
        justify-content: center;
        gap: 1rem;
        padding: 0;
    }
    .skills-wrapper h3{
        font-size: 1rem;
    }
    .html .image-wrapper, .css .image-wrapper, .js .image-wrapper, .wordpress .image-wrapper, 
    .photoshop .image-wrapper, .ai .image-wrapper, .figma .image-wrapper
    {
        width:6rem;
        height:6rem;
    }
    .html img, .css img, .js img, .wordpress img, .photoshop img, .ai img, .figma img{
        width: 4rem;
        height: 4rem;
    }

    .projects-section{
        margin: 3rem 0;
    }
    .projects-wrapper{
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .projects-wrapper-2{
        grid-template-columns: 1fr;
    }
    .amalitech, .interstellar-tech, .tech-blog, .star-clinic, .tribute, .phoenix-tech {
        margin-right: 0;
    }

    .companies-section{
        margin: 3rem 0;
    }
    .companies-wrapper{
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-section{
        margin: 1rem;
    }
    .contact-contents{
        flex-wrap: wrap-reverse;
        margin:0;
        justify-content: center;
    }
    .contact-contents .contact-image img{
        height:15rem;
        width:15rem;
    }
    .telephone-wrapper, .email-wrapper, .facebook-wrapper, .twitter-wrapper, .linkedin-wrapper{
        margin-right: 0.5rem;
    }
    .email-container, .telephone-container, .social-icons{
        justify-content: center;
    }
    #mail{
        font-size: 0.7rem;
    }
    .telephone-wrapper{
        width:3rem;
        height:3rem;
    }
    .telephone-wrapper img{
        height:2rem;
        width:2rem;
    }
    .email-wrapper{
        width:3rem;
        height:3rem;
    }
    .email-wrapper img{
        height:1.5rem;
        width:1.7rem;
    }
    .linkedin-wrapper{
        width:3rem;
        height:3rem;
    }
    .linkedin-wrapper img{
        height:2rem;
        width:2rem;
        left: 17.7%;
        top:18%;
    }
    .facebook-wrapper{
        width:3rem;
        height:3rem;
    }
    .facebook-wrapper img{
        height:2rem;
        width:2rem; 
        left: 17.7%;
        top: 18%;
    }
    .twitter-wrapper{
        width:3rem;
        height:3rem;      
    }
    .twitter-wrapper img{
        height:1.8rem;
        width:2rem;
    }
}



/*------------------------------------------------TABLET---------------------------------------------------------------*/

@media screen and (min-width:601px) and (max-width:850px){
    main{
        margin:2rem;
        padding: 0 0 3rem 0;
    }
    .hero-section .intro {
        padding:1rem;
    }
    .hero-image img{
        width:18rem;
        height:22rem;
    }

    .about-me-section{
        margin: 2rem;
    }

    .services-section{
        margin: 1rem;
    }
    .services-wrapper{
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: auto;
        }
    .web-dev, .graphics, .ui-ux{
        width:15rem;
        margin-top: 3rem;
        padding: 0;
    }    

    .skills-section{
        margin: 1rem;
    }
    .skills-wrapper{
        grid-template-columns: repeat(3,1fr);
    }

    .projects-section{
        margin: 1rem;
    }
    .projects-wrapper{
        grid-template-columns: repeat(2,1fr);
    }

    .companies-section{
        margin: 1rem;
    }

    .contact-section{
        margin: 1rem;
    }
    .contact-contents{
        margin:0;
        justify-content: center;
        flex-wrap: wrap-reverse;
    }
}



/*------------------------------------------------MEDIUM-LARGE SCREEN---------------------------------------------------------------*/

@media screen and (min-width:851px) and (max-width:1200px){
    main{
        margin:2rem;
        padding: 0 0 3rem 0;
    }
    .hero-section .intro {
        padding:1rem;
    }
    .hero-image img{
        width:18rem;
        height:22rem;
    }

    .about-me-section{
        margin: 4rem;
    }

    .services-section{
        margin: 1rem;
    }
    .services-wrapper{
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: auto;
        }
    .web-dev, .graphics, .ui-ux{
        width:15rem;
        margin-top: 3rem;
        padding: 0;
    }    

    .skills-section{
        margin: 1rem;
    }
    .skills-wrapper{
        grid-template-columns: repeat(3,1fr);
    }

    .projects-section{
        margin: 1rem;
    }
    .projects-wrapper{
        grid-template-columns: repeat(2,1fr);
    }

    .companies-section{
        margin: 1rem;
    }

    .contact-section{
        margin: 1rem;
    }
    .contact-contents{
        margin:0;
        justify-content: center;
    }
    .contact-contents .contact-image img{
        height:18rem;
        width:18rem;
    }
}



