*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    border: 0;
    outline: 0;
    font-family: europa;
    scroll-behavior: smooth;
    list-style: none;
    
}
:root{
    --radius-1: 1.5rem;
    --dark-color:#2c2c2c;
    --primary-color:#fff;
    --secondary-color:#16553b;
    --light-green:#3f906b;
    --light-white:#fffefee3;
    --color-bg: #000;
}
body{
    
    color: var(--primary-color);
    background: var(--color-bg) url(../images/bg.jpg) no-repeat 50% 50% fixed;
	background-size: cover;
    cursor: none;
}
  
  .main-cursor {
    pointer-events: none;
    position: fixed;
    padding: 0.3rem;
    background-color: #fff;
    border-radius: 50%;
    mix-blend-mode: difference;
    transition: transform 0.3s ease;
    z-index: 2222;
  }
  
a{
    text-decoration: none;
    color: var(--light-green);
}

a:hover {
	color: var(--secondary-color);
}

ul{
    padding-left: 0;
}
section{
    padding: 5rem 0;
}

p{
    color: var(--light-white);
}

.btn{
    color:var(--primary-color);
    background: none;
    border: 1px solid var(--light-green);
    border-radius: var(--radius-1);
    padding: 0.3rem 1.5rem;
    position: relative;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
  
}
.btn:after {
    content: '';
	position: absolute;
	z-index: -1;
	width: 0%;
	height: 100%;
	top: 0;
	left: 0;
	background: var(--secondary-color);
    border-radius: var(--radius-1);
    -webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}
.btn-a::after{
    background: var(--dark-color);
}
.btn:hover:after,
.btn:active:after {
	width: 100%;
}
.logo{
    color: var(--primary-color);
    font-size: 1.5rem;
}
.logo:hover{
    color: var(--primary-color);
}
.logo span{
    color: var(--light-green);
}
nav{
    position: fixed;
    width: 100%;
    z-index: 999999;
    transition: all 0.5s;
}
.nav-onscroll{
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    -moz-backdrop-filter: blur(7px);
    -o-backdrop-filter: blur(7px);
    -ms-backdrop-filter: blur(7px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}
.nav-menu .nav-link{
    color: var(--primary-color);
    position: relative;
    transition: 0.3s ease-in-out;
}
.nav-menu .nav-link:hover{
    color: var(--light-green);
    /* text-decoration: 1px #e6e1e2 line-through; */
}
/* .nav-menu .nav-link.active{
    color: ;
} */
.nav-menu .nav-link:hover::before{
    content: '';
    position: absolute;
    width: 40%;
    height: 2px;
    left: 17px;
    top: 30px;
    background: var(--primary-color);
}
.nav-buttons button{
    background: none;
    color: var(--primary-color);
    padding: 5px 8px
}
.nav-buttons{
    display: none;
}
.banner .introtext .title{
    font-size: 7rem;
    font-weight: 800;
    margin-bottom: 2rem;
}
.banner .introtext h3 {
    margin-bottom: 1.5rem;
}
.banner .introtext h3 span{
    color: var(--light-green);
}
.banner .introtext .text{
    border-left: 1px solid;
    padding: 0 5rem 0 1rem;
    margin-bottom: 1.5rem;
}
.banner-socials{
    position: relative;
}
.banner-socials .social-media{
    position: absolute;
    right:0;
    top:50%;
    transform:translate(-50%, -50%);
    padding: 0;

}
.social-media a{
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background: #2f2e2e;
    text-align: center;
    padding: 6px 3px;
    border-radius: 50px;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 14px;
}
.social-media a:hover{
    background-color: var(--light-green);
    color: var(--primary-color);
}
#typewriter  {
	
}
.cursor {
	border: 1px solid;
    margin-right: 6px;
}

 /* ABOUT */
.subtitle{
    text-transform: capitalize;
    font-size: 6.5rem;
    margin-bottom: 3rem;
    background-color: #fff;
	background-image: linear-gradient(45deg, #464115, #54ad8a, #68fd54);
	background-size: 100%;
	background-repeat: repeat;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent; 
	-moz-background-clip: text;
	-moz-text-fill-color: transparent;
}
.about-text p i{
    color: var(--light-green);
    font-size: 1.5rem;
}


/* SKILLS */
.skill-title{
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light-green);
}

/* CONTACT */
.contact-message{
    padding-right: 6rem;
}
.contact-socials .social-media a{
    margin:  0 0.5rem 0 0;
    background: var(--primary-color);
    color: var(--light-green);
}
.contact-form .inputbox input,
.contact-form .inputbox textarea{
    background: none;
    width: 100%;
    color: #7a7c7d;
    border: 1px solid var(--primary-color);
}
.contact-form .inputbox input{   
    border-radius: var(--radius-1);
    margin-bottom: 2rem;
    padding:0.5rem 1rem;
}
.contact-form .inputbox input:hover,
.contact-form .inputbox textarea:hover{
    border: 1px solid var(--light-green);
}
.contact-form .inputbox input:focus,
.contact-form .inputbox textarea:focus{
    color: var(--light-green);
    border: 1px solid var(--light-green);
}
.contact-form .inputbox input:focus::placeholder,
.contact-form .inputbox textarea:focus::placeholder{
    opacity:0;
}
.contact-form .inputbox textarea{
    padding: 1.5rem 1rem;
    border-radius: var(--radius-1);
    margin-bottom: 2rem;
}
.contact-form .send-btn{
    width: 100%;
    border-radius: 50px;
}
.scroll-btn{
    font-size: 2.5rem;
    color: var(--light-green);
}
.scroll-btn:hover{
    color: var(--secondary-color);
}
/* message  boxes
---------------------------------*/
.msg {
    font-size: 14px;
    margin: 20px 0;
    padding: 11px 10px 11px 45px;
    background-repeat: no-repeat;
    background-position: 13px 10px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.04);
    border-radius: 5px;
}

.msg a.hide {
    float: right;
    overflow: hidden;
    width: 18px;
    height: 18px;
    margin-left: 10px;
    background: url("../images/x.png") 50% 50% no-repeat;
    text-indent: -50em;
    opacity: 0.2;
}
.msg.success {
    border-color: #cbe3b4;
    background-color: #eeffda1c;
    background-image: url("../images/msg-success.png");
    color: #fff;
    background-size: 25px;
}

.msg.error {
    background-color: #6f2e4033;
    background-image: url("../images/msg-error.png");
    color: #ef4437;
    background-size: 25px;
}

.msg ul,
.msg p {
    margin: 0;
    color: #fff;
}

.msg ul {
    list-style: none;
    margin: 8px 0;
}

.msg ul:first-child,
.msg p:first-child {
    margin: 0;
}

.msg ul li {
    margin-left: 0;
}

.msg ul li:before {
    float: left;
    clear: left;
    overflow: hidden;
    width: 8px;
    height: 20px;
    margin-right: 5px;
    content: "-";
}

.box h4 {
    margin: 20px 0 0.5em;
    color: #3f3f3f;
    font: 300 1.538em "Signika", sans-serif;
}

.box p {
    margin-top: 0;
    margin-bottom: 20px;
    padding: 20px 30px 25px;
    border: 1px solid #dfdfdf;
    border-top: 2px solid #747474;
    background-repeat: no-repeat;
    background-position: 20px 30px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.04);
}

.box.info p {
    padding-left: 70px;
    border-color: #c5dce7;
    border-top: 2px solid #747474;
    background-color: #e7f7ff;
    background-image: url("../images/box-info.png");
}

.box.confirm p {
    padding-left: 70px;
    border-color: #cbe3b4;
    border-top: 2px solid #747474;
    background-color: #eeffda;
    background-image: url("../images/box-confirm.png");
}

.box.alert p {
    padding-left: 70px;
    border-color: #e9dab1;
    border-top: 2px solid #747474;
    background-color: #fff9d8;
    background-image: url("../images/box-alert.png");
}

.box.warning p {
    padding-left: 70px;
    border-color: #ebbcb5;
    border-top: 2px solid #747474;
    background-color: #ffe6dc;
    background-image: url("../images/box-warning.png");
}

/* RESPOMSIVE */
@media only screen and (max-width: 1200px){
    .container {
        max-width: 1140px;
        padding: 0 20px;
    }
   
}
@media only screen and (max-width: 992px){
    section {
        padding: 2rem 0;
    }
    .banner .introtext .title {
        font-size: 6rem;
    }
    .banner .introtext .text {
        padding: 0 0 0 1rem;
    }
    .subtitle {
        font-size: 5.5rem;
    }

}
@media only screen and (max-width: 768px){
    .navbar{
        justify-content: space-between !important;
    }
    .nav-menu{
        position: fixed;
        right: 0;
        top: 3.8rem;
        flex-direction: column;
        gap: 0;
        width: fit-content;
        display: none;
        perspective: 250px;
    }
    .nav-menu li{
        width: 100%;
        opacity: 0;
        animation: navKey 500ms ease-in-out forwards;
        transform-origin: top;
    }
    .nav-menu li:nth-child(2){
        animation-delay: 200ms;
    }
    .nav-menu li:nth-child(3){
        animation-delay: 400ms;
    }
    .nav-menu li:nth-child(4){
        animation-delay: 600ms;
    }
    @keyframes navKey {
        to{
            transform: rotateX(0dedg);
            opacity: 1;
        }
    }
    .nav-menu li .nav-link{
        display: block;
        background: var(--secondary-color);
        padding: 1rem 4rem;
        width: 100%;
        border-bottom: 1px solid #000;
        text-align: center;
        box-shadow: -2rem 5rem 5rem rgba(0, 0, 0, 0.3);
    }
    .nav-menu .nav-link:hover::before{
        display: none;
    }
    .nav-buttons{
       display: initial;
       font-size: 1.8rem; 
       z-index: 1;
    }
    .close-btn{
        display: none;   
    }
    .subtitle{
        margin-bottom: 1.5rem;
    }
    .skill-title {
        font-size: 1.3rem;
    }
    .contact-message, .text-md-center{
        text-align: center;
    } 
    .content-center{
        display: flex;
        justify-content: center;
    }
    .call-to-action,
    .about-text{
        padding: 0 4rem;
    }
    .contact-form{
        width: 50%;
    }
    .contact-message {
        padding-right: 1rem;
        margin-bottom: 2rem;
    }

}
@media only screen and (max-width: 576px){
    section {
        padding: 1rem 0;
    }
    .banner{
        padding-top: 6rem;
    }
    
    .subtitle{
        font-size: 3rem;
        text-align: center !important;
        line-height: 2;
        margin-bottom: 0;
    }
    .card-text{
        text-align: justify !important;
    }
    #div1{
        order: 2;
    }
    #div2{
        order: 1;
    }
    #div3{
        order: 3;
    }
    #div4{
        order: 4;
    }
    .contact-form{
        width: initial;
        margin-bottom: 2rem;
    }
    .call-to-action,
    .about-text{
        padding: 0 12px;
    }
    .text-xs-center {
        text-align: center;
    } 

}

