*{
    padding: 0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
}

body{
    overflow-x: hidden;
    background: linear-gradient(orange, 30%, red);
}

.row{
    width: 100vw;
    min-height: 100vh;
    display: grid;
    grid-template-areas: 
    "header header"
    "sidebar sidebar"
    "section section"
    "article article"
    "service service"
    "contact contact"
    "footer footer";
    grid-template-columns: 200px 1fr;
    grid-template-rows: auto 1fr 1fr auto 1fr 100px;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: content-box;
}
@media screen and (max-width: 678px){
    .row{
        width: 100vw;
        min-height: 100vh;
        display: grid;
        grid-template-areas: 
       "header header"
       "sidebar sidebar"
       "section section"
       "article article"
       "service service"
       "contact contact"
       "footer footer";
       grid-template-columns: 200px 1fr;
       grid-template-rows: auto 1fr 1fr auto 1fr 100px;
       margin: 0;
       padding: 0;
       display: flex;
       flex-direction: column;
    }
}
.container{
    margin: 0;
    padding: 0;
}

#header{
    grid-area: header;
    grid-column: 2/7;
    width: 100%;
    height: 75vh;
}

.hero-section{
    width: 100%;
}

.content-header{
    position: relative;
    width: 60%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    text-align: center;
    padding: 0;
    transform: translateX(50%);
    transform: translateY(30%);
}
.content-header span{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: 700;
    line-height: 40px;
}
.content-header span:nth-child(1){
    font-size: 25px;
    color: greenyellow;
}
.content-header span:nth-child(2){
    font-size: 60px;
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif
}
.content-header span:nth-child(3){
    font-size: 40px;
    color: greenyellow;
}
.content-header span:nth-child(4){
    font-size: 20px;
    color: #fff;
    line-height: 30px;
}

.border{
    position: relative;
    width: 200px;
    height: 200px;
    background: rgba(112, 86, 1, 0.4);
    border-radius: 50%;
    overflow: hidden;
    margin: auto;
    top: 2rem;
}
.border::before{
    position: absolute;
    content: "";
    inset: -10px 50px;
    background: linear-gradient(200deg,red,orange);
    animation: animate 4s linear infinite;
}

.border:hover::before{
   inset: -20px 0px;
   cursor: pointer;
}

@keyframes animate{
    0%{
        transform: rotate(0deg);
    }
    50%{
        transform: rotate(360deg);
    }
}
.border::after{
    content: "";
    position: absolute;
    inset: 4px;
    background: rgb(20,21,22);;
    border-radius: 50%;
}
.content{
    position: absolute;
    inset: 10px;
    border: 1px solid black;
    border-radius: 50%;
    z-index: 13;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.content img{
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: 4;
}
.border:hover .content img{
    opacity: 0;
}
h2{
    position: relative;
    color: blanchedalmond;
    font-size: 14px; 
    text-align: center;
    line-height: 20px;

}

h2::first-line{
    font-size: 16px;
}
.button{
    text-decoration: none;
    color: #fff;
    border: 1px solid green;
    padding: 5px 5px;
    border-radius: 200px;
    z-index: 10;
    font-family: 'Courier New', Courier, monospace;
}
.button:hover{
    background: rgb(1, 49, 1);
    letter-spacing: 0.1em;
}

#header{
    background-image: linear-gradient(to right,rgba(0, 0, 0, 0.9)50%, rgba(156, 113, 3, 0.5)),
                      url("image/imgg.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.switch{
    width: 50px;
    height: 100px;
    position: fixed;
    margin-left: 1000px;
    z-index: 1;
}
.green{
    background: greenyellow;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.red{
    background: red;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.blue{
    background: blue;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}
.orange{
    background: orange;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}
#navcon{
    padding: 5px;
    visibility: hidden;
}
#navcon.open{
    visibility: visible;
}
.color{
    margin-top: 10px;
}
#button{
    font-size: 30px;
    color: #fbfcf8;
    top: -10px;
    animation: gear 2s linear infinite;
}
@keyframes gear{
    100%{transform: rotate(360deg);}
}


@media screen and (max-width: 678px){
    #header{
        grid-area: header;
        grid-column: 2/7;
        width: 100%;
        height: 75vh;
    }
    .border{
        position: relative;
        width: 180px;
        height: 180px;
        background: rgba(112, 86, 1, 0.4);
        border-radius: 50%;
        overflow: hidden;
        margin: auto;
        top: 2rem;
    }

    .hero-section{
        width: 100%;
    }
    
    .content-header{
        position: relative;
        width: 90%;
        display: flex;
        flex-direction: column;
        margin: auto;
        text-align: center;
        transform: translateX(50%);
        transform: translateY(30%);
    }
    .content-header span{
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-weight: 700;
        line-height: 30px;
    }
    .content-header span:nth-child(1){
        font-size: 18px;
        color: greenyellow;
    }
    .content-header span:nth-child(2){
        font-size: 40px;
        color: white;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif
    }
    .content-header span:nth-child(3){
        font-size: 30px;
        color: greenyellow;
    }
    .content-header span:nth-child(4){
        font-size: 18px;
        color: #fff;
    }
    .switch{
        width: 50px;
        height: 100px;
        position: fixed;
        margin:auto;
        z-index: 1;
    }
}

/* HEADER ENDS HEAR */

/* SIDEBAR */

#sidebar{
    grid-area: sidebar;
    grid-row: 1 / 6;
    grid-column: 1;
    background: black;
    position: fixed;
    width: 200px;
    height: 100vh;
    z-index: 1;
}
.nav{
    top: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    display: inline-block;
    padding: 50px;
    color: white;
    font-size: 25px;
}
ul{
    margin: 0;
    padding: 0;
}

ul a{
    color: white;
    text-decoration: none;
    transition: 2s ease;
}
ul a:hover{
    color: greenyellow;
}
ul li{
    padding: 40px 25px 0 0;
    margin: 0;
}
img{
    position: relative;
    left: -10px;
}
.span{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.span::first-letter{
    color: orange;
}

#menu-icon{
    color: white;
    font-size: 40px;
    position: static;
    bottom: 2rem;
    right: -1.2rem;
    visibility: hidden;
}

.fa {
    width: 30px;
    height: 30px;
    font-size: 30px;
    text-align: center;
    text-decoration: none;
}
.fa-facebook {
    color: #fff;
    border-radius: 50%;
    border: 1px solid;
    box-shadow: 0 0 10px black;
    background: linear-gradient(to left, gray, black);
    
}
.fa-facebook:hover{
    color: greenyellow;
}
.fa-twitter {
    color: #fff;
    border-radius: 50%;
    border: 1px solid;
    box-shadow: 0 0 10px black;
    background: linear-gradient(to left, gray, black);
}
.fa-twitter:hover{
    color: greenyellow;
}

/* MEDIA */

@media screen and (max-width: 678px){
    #sidebar{
        grid-area: sidebar;
        grid-row: 1 / 6;
        background: black;
        z-index: 1;
        visibility: hidden;
        height: 100vh;
        width: 130px;
    }
    .nav{
        padding: 50px 10px 0 5px;
        color: white;
        font-size: 25px;
    }
   
    #menu-icon{
        color: white;
        font-size: 40px;
        position: sticky;
        right: 2.5rem;
        visibility: visible;
        color: orange;
    }
    
    .bx{
        border: 1px solid black;
        background: linear-gradient(to top,grey,black);
        box-shadow: 0 0 10px black;
        border-radius: 15px;
    }
    ul a{
        color: white;
        text-decoration: none;
        transition: 2s ease;
    }
    ul a:hover{
        color: turquoise;
    }
    .span{
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    }
    .span::first-letter{
        color: orange;
    }
    .fa {
        width: 30px;
        height: 30px;
        font-size: 30px;
        text-align: center;
        text-decoration: none;
    }
    .fa-facebook {
        color: #fff;
        border-radius: 50%;
        border: 1px solid;
        box-shadow: 0 0 10px black;
        background: linear-gradient(to left, gray, black);
        
    }
    .fa-facebook:hover{
        color: greenyellow;
    }
    .fa-twitter {
        color: #fff;
        border-radius: 50%;
        border: 1px solid;
        box-shadow: 0 0 10px black;
        background: linear-gradient(to left, gray, black);
    }
    .fa-twitter:hover{
        color: greenyellow;
    }
}


/* SIDEBAR ENDS */


#section{
    grid-area: section;
    grid-column: 2/ span 7;
    grid-row: 2;
    background:rgb(19, 15, 4) ;
    color: #fff;
    z-index: -1;
}

h1{
    font-size: 25px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
    text-align: center;
    position: relative
    top: 1rem;
    color:greenyellow;
    z-index: 1;
}
h1::after{
    position: relative;
    content: "";
    top: -10px;
    width: 6rem;
    height: 12px;
    display: block;
    background: blue;
    margin: auto;
    z-index: -1;
}
h3{
    font-size: 16px;
    text-align: center;
    margin-top: 2rem;
}
.box{
    display: flex;
    text-align: center;
    width: 70%;
    height: 100%;
    margin: auto;
    margin-top: 2rem;
}
.art{
    font-size: 16px;
    border: 1px solid black;
    width: 250px;
    height: 250px;
    box-shadow: 0 0 10px black,
                0 0 30px black;
    margin-right: 2rem;
}
.designer{
    color: chartreuse;
}
/* MEDIA QUERY SECTION */

@media screen and (max-width: 678px){
    #section{
        grid-area: section;
        grid-column: 2/ span 7;
        grid-row: 2;
        background:rgb(19, 15, 4) ;
        color: #fff;
        z-index: -1;
    }
    h1{
        font-size: 25px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        text-align: center;
        text-align: center;
        position: relative;
        top: 1rem;
        color:greenyellow;
        z-index: 1;
    }
    h1::after{
        position: relative;
        content: "";
        top: -10px;
        width: 6rem;
        height: 12px;
        display: block;
        background: blue;
        margin: auto;

    }
    h3{
        font-size: 16px;
        text-align: center;
        margin-top: 2rem;
    }
    .box{
        display: flex;
        flex-direction: column;
        text-align: center;
        width: 70%;
        height: 100%;
        margin: auto;
        margin-top: 2rem;
    }
    .art{
        font-size: 16px;
        border: 1px solid black;
        width: 250px;
        height: 250px;
        box-shadow: 0 0 10px black,
                    0 0 30px black;
        margin-top: 2rem;
    }
    .designer{
        color: chartreuse;
    }
   
}

/* SECTION ENDS */

#article{
    grid-area: article;
    grid-column: 2 / span 7;
    grid-row: 3;
    background: rgb(0,1,0);
    color: #fff;
    height: 75vh;
    width: 100%;
}


.bio{
    position: relative;
    top: 5rem;
    width: 100%;
    height: 100%;
    font-size: 18px;
    display: flex;
    justify-content: space-around;
}

.first{
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    left: 0.1rem;
    border-radius: 15px;
}
.image-box{
    width: 200px;
    height: 200px;
    border: 1px solid orange;
    position: relative;
    border-radius: 15px;
}
.collins{
    position: absolute;
    height: 180px;
    width: 200px;
    top: 4rem;
    left: 4rem;
    border-radius: 10px;
}
.pillar{
    width: 50%;
    height: 100px;
    position: relative;
}
.label{
    position: relative;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 25px;
    color: orange;
}
.text{
    line-height: 30px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
}

.btn{
    width: 13rem;
    height: 3rem;
    position: relative;
    top: 2rem;
    font-size: 20px;
    text-decoration: none;
    color: chartreuse;
    border: 1px solid chartreuse;
    padding: 0.2rem 2.6rem;
    border-radius: 20px;
    box-shadow: 0 0 15px black inset;
    transition: 2s ease-in;
}

.btn:hover{
    background: rgb(73, 48, 2);
    color: #fff;
}

@media screen and (max-width: 678px){
    #article{
        grid-area: article;
        grid-column: 2 / span 7;
        grid-row: 3;
        color: #fff;
        height: 75vh;
        width: 100%;
    }
    
    .bio{
        position: relative;
        top: -1rem;
        width: 100%;
        height: 100%;
        font-size: 18px;
        display: flex;
        flex-direction: column;
        margin: auto;
    }
    
    .first{
        position: absolute;
        height: 100%;
        width: 100%;
        object-fit: cover;
        left: 0.1rem;
        border-radius: 15px;
    }
    .image-box{
        width: 150px;
        height: 150px;
        border: 1px solid orange;
        position: relative;
        border-radius: 15px;
        margin: auto;
    }
    .collins{
        position: absolute;
        height: 100px;
        width: 100px;
        top: 4rem;
        left: 4rem;
        border-radius: 10px;
    }
    .pillar{
        width: 350px;
        height: 100px;
        position: relative;
        margin: auto;
        text-align: center;
        top: -5rem;
    }
    .label{
        position: relative;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        font-size: 16px;
        color: orange;
    }
    .text{
        line-height: 20px;
        font-family: 'Times New Roman', Times, serif;
        font-size: 16px;
    }
    
    .btn{
        width: 10rem;
        height: 2.5rem;
        position: relative;
        top: -0.2rem;
        font-size: 20px;
        color: chartreuse;
        border: 1px solid chartreuse;
        padding: 20px 20px -20px 20px;
        border-radius: 20px;
        box-shadow: 0 0 15px black inset;
        transition: 2s ease-in;
    }
    
    .btn:hover{
        background: rgb(73, 48, 2);
        color: #fff;
    }
}

/* END OF ARTICLE */ 

#service{
    grid-area: service;
    grid-column: 2 / span 7;
    grid-row: 4;
    background:rgb(19, 15, 4);
    color: #fff;
    height: 70vh;
    
}

.card-box{
    width: 100%;
    display: flex;
    position: relative;
    top: 2.5rem;
    box-shadow: 0 0 10px black,
                0 0 10px black inset;
    justify-content: center;
    justify-content: space-evenly;
    display: flex;
}
.card{
    width: 300px;
    height: 300px;
    border-radius: 15px;
    filter: saturate(0);
    box-shadow: 0 0 10px black, 0 0 40px black inset;
    transform: skew(-10deg);
}
.card:hover{
    filter: saturate(100%);
}
.image{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    left: 1px;
    border-radius: 15px;
}
.active{
    width: 100%;
    height: 60vh;
}

/* Media */
@media screen and (max-width: 678px){
    #service{
        grid-area: service;
        grid-column: 2 / span 7;
        grid-row: 4;
        background:rgb(19, 15, 4);
        color: #fff;
        height: 40vh;
    }
    .active{
        width: 100%;
        height: 30vh;
    }
    .card-box{
        width: 90%;
        display: flex;
        position: relative;
        top: 2.5rem;
        box-shadow: 0 0 10px black,
                    0 0 10px black inset;
        margin: auto;
    }
    .card{
        width: 300px;
        height: 150px;
        border-radius: 15px;
        filter: saturate(0);
        margin: 0 10px 0 10px;
        box-shadow: 0 0 10px black, 0 0 40px black inset;
    }
    .card:hover{
        filter: saturate(100%);
    }
    .image{
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        left: 1px;
        border-radius: 15px;
    }
}
/* SERVICE ENDS HERE */

#contact{
    grid-area: contact;
    grid-column: 2 / span 7;
    grid-row: 5;
    background: rgb(0,1,0);
    color: #fff;
    width: 100%;
}

.contacts{
    width: 100%;
    height: 55vh;
    display: flex;
    justify-content: center;
    justify-content: space-around;
    margin-top: 3rem;
}
.forms{
    width: 50%;
    height: 50vh;
    position: relative;
    top: 2rem;
    left: 200px;
}
input{
    margin-top: 5px;
}

.input{
    background: linear-gradient(to top,grey,black);
    border-radius: 15px;
    color: #fff;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    padding: 3px 5px;
    box-shadow: 0 0 10px black;
}
.input:hover{
    color: chartreuse;
}

.contact-me li{
    position: relative;
    top: 2rem;
    line-height: 40px;
    font-size: 20px;
    letter-spacing: 2px;
}
.contact-me li:nth-child(1){
    color: orange;
    font-size: 30px;
    font-weight: 500;
    font-family: fantasy;
}

.project::after{
    content: "";
    position: relative;
    display: block;
    width: 45px;
    height: 3px;
    background: peachpuff;
}



@media screen and (max-width: 678px){
    #contact{
        grid-area: footer;
        grid-column: 2 / span 7;
        grid-row: 5;
        background: rgb(0,1,0);
        color: #fff;
        height: 80vh;
    }
    
    .contacts{
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-left: 2em;
        margin-top: -1rem;
    }
    .forms{
        width: 20%;
        position: relative;
        top: 3.5rem;
        font-size: 15px;
        left: 0;
    }
    
    .input{
        background: linear-gradient(to top,grey,black);
        border-radius: 15px;
        color: #fff;
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
        box-shadow: 0 0 10px black;
    }
    .input:hover{
        color: chartreuse;
    }

    .area{
        height: 80px;
        width: 250px;
    }
    .area-one{
        width: 250px;
    }

    .contact-me{
        width: 100%;
        margin-top: 5rem;
    }
    
    .contact-me li{
        position: relative;
        line-height: 30px;
        letter-spacing: 2px;
    }
    .contact-me li:nth-child(1){
        color: orange;
        font-size: 20px;
        font-weight: 500;
        font-family: fantasy;
    }
    
    .project::after{
        content: "";
        position: relative;
        display: block;
        width: 40px;
        height: 3px;
        background: peachpuff;
    }
}

.footer{
    grid-area: footer;
    grid-column: 2 / span 7;
    grid-row: 6;
    background: black;
}
.fa{
    padding: 0;
    margin: 0;
}

.dol{
    color: blanchedalmond;
    justify-content: center;
    background: rgb(15, 13, 0);
    width: 100%;
    height: 100px;
    text-align: center;
    padding-top: 20px;
    box-shadow: 0 0 10px black inset;

}
.dol .fa{
    font-size: 20px;
    padding: 5px 5px 0 5px;
    margin-right: 40px;
}
.fa-angle-double-up{
    transition: 2s ease;
    color: chartreuse;
    font-size: 10em;
    text-shadow: 0 0 10px chartreuse,
                 0 0 40px chartreuse;
    animation: up 2s linear infinite;
}
@keyframes up{
    0%{transform: translateY(0);}
    50%{transform: translateY(30%);}
}
.copy{
    position: relative;
    color: greenyellow;
}

@media screen and (max-width: 678px){
    .fa{
        padding: 0;
        margin: 0;
    }

    .dol .fa{
        font-size: 20px;
        padding: 5px 5px 0 5px;
    }
    .dol{
        color: blanchedalmond;
        justify-content: center;
        background: rgb(15, 13, 0);
        width: 100%;
        height: 100px;
        text-align: center;
        padding-top: 20px;
        box-shadow: 0 0 10px black inset;
    }
}


