:root{
    --primarycolor1:rgb(255, 0, 55);
    --primarycolor:rgb(255, 123, 0);
    /* --primarycolor:rgb(43, 236, 4); */

}
html,body{
    /* scroll-behavior: smooth; */
}
body {
    background: #000;
    color: white;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-family: 'Lato', sans-serif;
    overflow-x: hidden;
    /* scroll-behavior: smooth; */
}
.nocopy {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
   }
.borderline{
    width: 50%;
    background: var(--primarycolor);
    height: 1px;
    
}
.btn{
    display: inline-block;
    color: white;
    align-self: center;
    padding:10px 15px;
    font-size: 1rem;
    box-shadow: rgb(0,0,0,0.5) 2px 2px 5px 2px;
    /* border-radius: 10px; */
}
.btn-main{
    background: var(--primarycolor);
    transition: all 0.7s ease-in-out;
}
.btn-main:hover{
    opacity: 0.7;
    transform: translate(2px,2px);
}
p{
    line-height: 1.4rem;
}
li{
    list-style: none;
    /* padding: 5px; */
}
a{
    text-decoration: none;
    font-weight: bold;
}
.leadtext{
    color: var(--primarycolor);
}
.container {
    max-width: 1200px;
    margin:auto;
    /* text-align: center; */
}
.logo a{
    color: white;
    /* font-size: rem; */
}
.logo a h2{
    font-size: 1.5rem;
}

#overlay {
    background: black;;
    color: #f4f4f4;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100vw;
    font-size: 1.5rem;
    z-index: 99999999999;
    display: grid;
    place-items: center;
    animation: animate1 1s linear;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}
@keyframes animate1 {

    0%{
        /* opacity: 1; */
       transform: translateY(0);
    }
    50%{
        /* opacity: 0.5; */
        transform: translateY(-50vh);
    }
    100%{
        /* opacity: 0; */
        transform: translateY(-100vh);
    } 
    
}
#overlay p{
    width: max-content;
    /* position: relative; */
}
#overlay .line{
    height: 3px;
    background: #333;
    width: 120px;
    margin-top: -10px;
    position: relative;
}

#overlay .line::after{
content: '';
position: absolute;
height: 100%;
width: 100%;
background: var(--primarycolor);
top: 0px;
animation: animate2 1s 1 forwards;
}

@keyframes animate2 {
    0%{
        width: 0%;
    }
    100%{
        width: 100%;

    }
}
#navbar{
    position: fixed !important;
    background: rgb(0,0,0,0.5);
    top: 0px;
    z-index: 26;
    width: 100%;
    /* display: none; */
}
.logo span{
    display: inline-block;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: var(--primarycolor);
}
#mainnav{
    /* margin-top: 20px; */
    display: flex;
    justify-content: space-between;
}
#mainnav ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#mainnav ul li a{
    color: white;
    padding: 0 0px;
    margin-right: 20px;
}
#mainnav ul li .current{
    color: var(--primarycolor);
}
#mainnav ul li a:hover{
    border-bottom: var(--primarycolor) 2px solid;
}

/* showcase */
#landing{
    background: url(../img/Cover1.jpg) no-repeat center center/cover;
    height: 100vh;
    width: 100%;
    background-color: rgb(0,0,0,0.5);
    background-blend-mode: overlay;
    /* border-bottom: var(--primarycolor) 1px solid; */
}
.content{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}
.content h1{
    position: relative;
    text-align: center;
    font-size: 4rem;
    margin: 0;
    font-weight: 900;
    
}
.content h1::before{
    content: "Hello";
    position: absolute;
    top: -2rem;
    font-size: 50%;
    color: var(--primarycolor);

}
.content p{
    padding: 0rem 5rem;
    margin-top: 2rem;
    line-height: 1.2rem;
}
/* #about{
    background: red;
} */
#about .grid{
    display: grid;
    grid-template-rows: repeat(2,1fr);
    grid-gap: 1rem;
    margin-bottom: 1rem;
    height: 500px;
}
.profile-content{
    text-align: justify;
    
}
.profile-img{
    background: url("../img/Profile.jpg") center center/cover;
    height: 300px;
    width: 300px;
    border-radius: 50%;
    margin: auto;
    margin-top: 10px;
    /* margin-top: 1rem; */
    align-self: center;
    transform:translateY(60px);
}
#about .grid .profile-content{
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#about .grid .profile-content h1{
    position: relative;
    width: max-content;
}
.profile-content >h1::before{
content: "";
position: absolute;
bottom: -10px;
left: 0;
width: 100%;
height: 3px;
/* transform: translateX(-100px); */
background:white;
animation:animate 5s linear infinite;
}
@keyframes animate {
    0%{
        width: 0%;
    }
    50%{
        width: 100%;
        background: var(--primarycolor);

    }
    100%{
        width: 0%;
        /* background: var(--primarycolor); */
        background: white;

    }
}


/* Contact Page */

#contact{
    /* border-top: var(--primarycolor) solid 1px; */
    text-align: center;
    background: black;
    height: 450px;
    margin-top: 6rem;
}
#contact form{
    display: flex;
    flex-direction: column;
}

.formwrap{
    margin-bottom: 1rem;
    color: white;
    background: black;
    border:none;
    border-bottom: var(--primarycolor) 1px solid;
    padding: 20px;
}
.formwrap:focus{
    outline: none;
    border-bottom: white 1px solid;
}

input[type='submit']{
    background: var(--primarycolor);
    /* outline: none; */
    border: none;
    padding: 5px;
    width: 70%;
    align-self: center;
    color: white;
}
input[type='submit']:hover{
    opacity: 0.6;
}
textarea {
    height: 80px;
}

#footer{
    display: block;
    background: var(--primarycolor);
    padding: 10px 0;
    text-align: center;
}

#social{
    position: fixed;
    top:50%;
    height: 100px;
    width: 20px;
    z-index: 2;
    display: grid;
}
#social a{
    color: var(--primarycolor);
}
#portfolio{
    margin-top: 10rem;
    margin-bottom: 1rem;
    /* background: yellow; */
}
#port{
    position: relative;
    margin-top: 5rem;
}
/* #imggrid{
    margin: 4rem ;
    display: grid;
    grid-gap:10px;
    grid-template-columns: repeat(4,1fr);
}

.imgholder{
    height: 250px;
    width: 250px;
    background: white;
} */
#port input{
    opacity: 0;
    display: block;
    margin-bottom: 5px;
    
}
#galleryhead{
    background: var(--primarycolor);
    padding: 10px;
    /* border-radius: 50px; */
    display: flex;
    flex-direction: row;
    align-items:center;
    justify-content: space-around;
    /* margin-top: 5rem; */
}
#galleryhead label{
    display: block;
    margin-left: 5px;
    cursor: pointer;
}
#galleryhead label:hover{
    /* padding: inherit; */
    /* background:black; */
    color: black;
    font-weight: bold;
}
.imgholder{
    position: relative;
}
.imgholder img{
    position: absolute;
    height: inherit;
}
.imgcont{
    height: 250px;
    width: 230px;
    position: relative;
    margin: 5px;
    /* background: red; */
    display: none;
}
#imgflex{
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;    
    /* grid-template-columns: repeat(5,1fr); */
}
#imgflex img{
    position: absolute;
    top: 0;
    left: 0;
    height: inherit;
    width: inherit;
    /* max-height: 200px;
    flex:1 1 150px; */
    object-fit: cover;
    transition: all ease 0.5s;
    
} 


#imgflex img:hover{
    border-bottom: 0.1px var(--primarycolor) solid;
    margin-top: 10px;
    opacity: 0.7;
    cursor: pointer;
}

#port #travel:checked ~ #imgflex .landscapes{ display: block;}
#port #mobile:checked ~ #imgflex .mobile{ display: block;}
#port #theme:checked ~ #imgflex .theme{ display: block;}
#port #commercial:checked ~ #imgflex .commercial{ display: block;}
#port #travel:checked ~ #galleryhead label[for="travel"]{ color: black;}
#port #mobile:checked ~ #galleryhead label[for="mobile"]{ color: black;}
#port #theme:checked ~ #galleryhead label[for="theme"]{ color: black;}
#port #commercial:checked ~ #galleryhead label[for="commercial"]{ color: black;}
#popup{
    position: fixed;
    top:0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgb(0,0,0,0.5);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    display: none;
    /* visibility: hidden; */
    /* transform: translateX(-100vw); */
}
#popup img{
    /* position: relative; */
    margin-top: 5vh;
    transform: scale(90%);
    max-height: 90vh;
    max-width: 80vw;
    align-self: center;
    
}


    
.close{
    position: fixed;
    top: 7%;
    opacity: 0.7;
    font-size: 1.5rem;
    /* background: red; */
    padding: 10px;
    border-radius: 50%;
    right: 17%;
    z-index: 1000000;
    cursor: pointer;
    transition: transform 1s ease-in-out;
}
.close:hover{
    transform: rotate(360deg);
}

.right{
    position: fixed;
    top: 50%;
    right:15%;
    opacity: 0.6;
    transition: all 1s ease-in-out;
    cursor: pointer;
    

}
 .left{
    position: fixed;
    top: 50%;
    left:15%;
    opacity: 0.6;
    transition: all 1s ease;
    cursor: pointer;
}
.right:hover,
.left:hover{
    transform: scale(1.5);
}


/* 
#popup img:hover ~ .right,
#popup img:hover ~ .left{
    opacity: 0.6;
} */