﻿@import url('https://fonts.googleapis.com/css2?family=Lato&family=Poppins&display=swap');

:root{
  --primary-bg-color: #131417;
  --secondary-bg-color: #1e1f26;
  --text-color: #ffffff;
  --font-family: 'Poppins', sans-serif;


  /* Navigation Bar */
  --nav-bg-color: #1e1f26ad;;
  --nav-text-color: #ffffff;
  --nav-font-family: 'Lato', sans-serif;

  /* Button */
  --button-signup-bg: #3ab061;
  --button-signup-hover-bg: #47cf73;
  --button-login-bg: #444857;
  --button-login-hover-bg: #5a5f73;
  --button-text-color: #ffffff;
  --button-font-family: 'Lato', sans-serif;

  /* Footer */
  --footer-bg-color: #0c0c0c;
  --footer-text-color: #d9d9d9;
  --footer-font-family: 'Poppins', sans-serif;
  --footer-heading-color: #1a1a1a;
  --footer-btn-color: #3ab061;
  --footer-btn-hover-color: #47cf73;
  --footer-line-separator-color-after: #3ab061;
  --footer-line-separator-color-before: #1a1a1a;

  /* Social Media Colors */
  --instagram-color: #f12020;
  --linkedin-color: #0073ff;
  --github-color: #333333;
  --social-icon-hover-color: #ffffff;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: var(--primary-bg-color);
}
/* Scrollbar styling */
::-webkit-scrollbar-thumb{
  background: #c7c7c7;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #c7c7c7;
  border-radius: 2px;
}

::-webkit-scrollbar{
  background: rgb(59, 59, 59);
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-corner{
  background: #000000;
}
/*   *  *  *  NAVIGATION BAR START   *  *  *  */

/* CodeMap Logo */
.Logo{
  color: var(--text-color);
  text-align: center;
  font-size: 20px;
  text-decoration: none;
  font-family: var(--nav-font-family);
  margin:30px 0 20px 0;
  letter-spacing: 3px;
  font-weight: 600;
}

/* Introduction text "TRY OUR ONLINE EDITOR" */
#intro{
  color: #aaaebc;
  font-size: 9px;
  justify-content: center;
  text-align: center;
  margin: 0 0 15px 0;
  word-spacing: 2px;
  letter-spacing: 1.5px;
  font-family: var(--nav-font-family);
  font-weight: 600;
}

/* Left Navigation bar */
nav {
    background-color: var(--nav-bg-color);
    border: 2px solid var(--nav-bg-color);
    width: 188px;
    height: 100%;
    display: flex;
    flex-direction: column;
    float: left;
    position: fixed;
    box-sizing: border-box;
    z-index: 1;
    backdrop-filter: blur(5px);
}

/* Start Coding Button */
.Start-coding {
    margin: 0px auto;
    font-family: var(--font-family);
    display: inline-block;
    text-decoration: none;
    color: var(--text-color);
    padding: 3px;
    border-radius: 6px;
    position: relative;
    overflow: hidden; 
}

.Start-coding::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 250%;
    height: 150%;
    background: linear-gradient(115deg, #4fcf70, #fad648, #a767e5, #12bcfe, #44ce7b);
    background-size: 50% 100%;
    border-radius: inherit;
}

.Start-coding:hover::before {
    animation: animate_border .75s linear infinite;
}

.Start-coding span {
    display: block;
    background-color: #000000;
    padding: 13px 20px;
    border-radius: 3px;
    position: relative;
    z-index: 2;
}

@keyframes animate_border {
    to {
        transform: translateX(-50%)
    }
}

/* Top Navigation bar */
/* Search Bar */
.Search {
  padding: 00px 8px 20px 00px ;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
}
.input {
min-width: 80px;
max-width:1200px;
height: 37px;
border: none;
outline: none;
padding: 2px 7px;
border-radius: 3px;
color: var(--text-color);
font-size: 1rem;
background-color: var(--secondary-bg-color);
font-weight: 700;
}
.input::placeholder{
  color: #868ca0;
}
.top-bar{
padding-left: 200px;
}

/* Buttons */
.btn-nav{
color: var(--button-text-color);
font-size: 1rem;
cursor: pointer;
padding-inline: 7px;
padding-block: 2px;
margin-block: 4;
border: 1px solid transparent;
border-radius: 3px;
text-decoration: none;
font-family: var(--button-font-family);
float: right;
margin-right: 8px;
padding: 10px;
position: relative;
top: 20px;
font-weight: 400;
}
#btn-login{
  background: var(--button-login-bg);
}
#btn-login:hover{
  background: var(--button-login-hover-bg);
}
#btn-signup{
  background: var(--button-signup-bg);
}
#btn-signup:hover{
  background: var(--button-signup-hover-bg);
}


/*   *  *  *  NAVIGATION BAR END   *  *  *  */



/*   *  *  *  Content START   *  *  *  */

.content-middle-box{
  display: flex;
  flex-wrap: wrap;
}
.left-middle-box{
  padding-left: 110px;
  padding-right: 10px;
  color: var(--text-color);
  font-family: var(--font-family);
}

.left-middle-box h1{
  font-size: 3em;
  font-weight: 900;
  text-shadow: 1px 1px 1px rgb(0, 0, 0),2px 2px 1px rgb(0, 0, 0),3px 3px 1px rgb(0, 0, 0),4px 4px 1px rgb(0, 0, 0),5px 5px 0.1px black;
  display: block;
  width: 80%;
}
.left-middle-box p{
  line-height: 1.3;
  color: var(--text-color);
  font-size: 15px;
  font-weight: 500;
  text-shadow: 1px 1px 0.5px rgb(0, 0, 0);
  /* padding-right: 40%; */
}
.left-middle-box p span{
  font-weight: 600;
}
.left-middle-box h2{
  color: var(--text-color);
  text-shadow: 2px 2px 1px rgb(0, 0, 0);
  font-size: 20px
}
.left-middle-box li{
  color: var(--text-color);
  font-size: 14px
}
.left-middle-box ul{
  margin-bottom:50px; 
  list-style-type: disc;
}
/* HTML BOX */
.right-midle-box .preview1{
  position: fixed;
  right: 5%;
  top: 67%;
  backdrop-filter: blur(3px);
  /* z-index: 1; */
}
/* CSS BOX */
.right-midle-box .preview2{
  position: fixed;
  right: 15%;
  top: 51%;
  backdrop-filter: blur(3px);
  /* z-index: -1; */
}
.right-midle-box .preview3{
  position: fixed;
  right: 20%;
  top: 74%;
  backdrop-filter: blur(3px);
  /* z-index: -1; */
}


/*   *  *  *  Content END   *  *  *  */



/*   *  *  *  Footer START   *  *  *  */

footer{
  margin-top: 50px;
  color: var(--footer-text-color);
  position: relative;
  bottom: 0px;
  width: 100%;
  background: var(--footer-bg-color);
  font-family: var(--footer-font-family);

}
.main-content{
  display: flex;
}
.main-content .box{
  flex-basis: 50%;
  padding: 10px 20px;
}
.box h2{
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
}
.box .content{
  margin: 20px 0 0 0;
  position: relative;
}
.box .content:before{
  position: absolute;
  content: '';
  top: -10px;
  height: 2px;
  width: 100%;
  background: var(--footer-line-separator-color-before);
}
.box .content:after{
  position: absolute;
  content: '';
  height: 2px;
  width: 15%;
  background: var(--footer-line-separator-color-after);
  top: -10px;
}
.left .content p{
  text-align: justify;
}
.left .content p span{
  font-weight: 600;
}
.left .content .social{
  margin: 20px 0 0 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.left .content .social a{
  padding: 0 2px;
}
.left .content .social a span{
  height: 40px;
  width: 40px;
  background: var(--text-color);
  line-height: 40px;
  text-align: center;
  font-size: 28px;
  border-radius: 5px;
  transition: 0.3s;
}
.left .content .social a .fa-instagram{
  color: var(--instagram-color);
  background: var(--social-icon-hover-color);
}
.left .content .social a .fa-instagram:hover{
  color: var(--social-icon-hover-color);
  background: var(--instagram-color);
}

.left .content .social a .fa-linkedin-in:hover{
  color: var(--social-icon-hover-color);
  background: var(--linkedin-color);
}
.left .content .social a .fa-linkedin-in{
  color: var(--linkedin-color);
  background: var(--social-icon-hover-color);
}

.left .content .social a .fa-github{
  color:  var(--github-color);
  background: var(--social-icon-hover-color);
}
.left .content .social a .fa-github:hover{
  color: var(--social-icon-hover-color);
  background: var(--github-color);
}


.center .content .text{
  font-size: 1.0625rem;
  font-weight: 500;
  padding-left: 10px;
}

.right form .text{
  font-size: 1.0625rem;
  margin-bottom: 2px;
  color: #656565;
}
.right form .msg{
  margin-top: 10px;
}
.right form input, .right form textarea{
  width: 100%;
  font-size: 1.0625rem;
  background: #151515;
  border: 1px solid #222222;
  color: #ffffff;
  font-family: var(--footer-font-family);
}
.right form input:focus,
.right form textarea:focus{
  outline-color: #3498db;
}
.right form textarea{
  height: 100px;
  resize: none;
}
.right form input{
  height: 35px;
}
.right form .btn-footer{
  margin-top: 10px;
}
.right form .btn-footer button{
  height: 40px;
  width: 101%;
  border: none;
  outline: none;
  background: var(--footer-btn-color);
  font-size: 1.0625rem;
  font-weight: 500;
  cursor: pointer;
  transition: .3s;
  color: #ffffff;
}
.right form .btn-footer button:hover{
  background: var(--footer-btn-hover-color);
}
.bottom center{
  padding: 5px;
  font-size: 0.9375rem;
}
.bottom center span{
  color: #656565;
}
.bottom center a{
  color: var(--footer-btn-color);
  text-decoration: none;
}
.bottom center a:hover{
  text-decoration: underline;
}
@media screen and (max-width: 900px) {
  footer{
    position: relative;
    bottom: 0px;
  }
  .main-content{
    flex-wrap: wrap;
    flex-direction: column;
  }
  .main-content .box{
    margin: 5px 0;
  }
}
.main-content-footer{
  padding-left: 200px;
}

/*   *  *  *  Footer END   *  *  *  */


/*   *  *  *  Meadia Query Start   *  *  *  */

.hamburger{
  display: none;
  cursor: pointer;
}

/* Media Query For Responsiveness */

@media(max-width:768px){
  nav{
    position: fixed;
    width: 100%;
    height: 70px;
    top: 0;
    z-index: 2;
  }
  .Logo{
    font-size: 18px;
    font-weight: 600;
    position: absolute;
    left: 10px;
    margin-top: 20px;
    letter-spacing: 2px;
  }
  #intro{
    font-size: 6px;
    left: 20px;
    margin-top: 45px;
    position: absolute;
  }
  .Start-coding{
    position: absolute;
    right: 0;
    margin: 10px 20px 20px 0;
    font-size: 12px;
  }
  .bar{
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background-color: white;
    border-radius: 5px;
  }
  .hamburger{
    display: block;
    margin: auto auto;
  }
  .hamburger.active .bar:nth-child(2){
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1){
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
  }

  .top-bar{
    position: fixed;
    top: -100%;
    display: flex; 
    flex-direction: column;
    background-color: var(--nav-bg-color);
    width: 100%;
    height: 150px;
    transition: 0.3s;
    padding-left: 0px;
    align-items: center;
    z-index: 1;
    backdrop-filter: blur(5px);
  }
  .Search{
    padding-bottom: 25px;
    width: 180px;
  }
  .input{
    background-color: #444857;
    color: #fff;
  }

  .top-bar.active{
    top: 70px;
  }

  .btn-nav{
    margin-bottom: 8px;
    width: 180px;
  }
  #btn-login{
    margin-top: -15px;
  }

  .left-middle-box{
    padding: 10px;
    position: relative;
    top: 20px;
  }
  
  .left-middle-box h1{
    padding-right: 10px;
    font-size: 38px;
    width: 100%;
  }

  .left-middle-box li{
    color: #ffffff;
  }
  .left-middle-box ul{
    margin-bottom:50px; 
    list-style-type: circle;
  }
  
  .right-midle-box .preview1{
    top: 63%;
    right: 2%;
  }
  .right-midle-box .preview2{
    top: 45%;
    right: 10%;

  }
  .right-midle-box .preview3{
    top: 73%;
    right: 15%;
  }

  .main-content-footer {
    padding-left: 0px;
}
}