*{
    margin: 0;
    padding: 0;
    font-family: 'Ubuntu', sans-serif;
}

body {
    background-color: #f4efed;
    min-height: 100%;
    min-width: 100%;
    position: absolute;
  }

.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(images/banner.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav{
    display: flex;
    padding: 1% 5%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    padding: 2px 0px;
    width: 250px;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 12px 12px;
    position: relative;
}
.nav-links ul li a{
    color: white;
    text-decoration: none;
    font-size: 18px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f26352;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
.text-box{
    width: 90%;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h1{
    font-size: 40px;
}
.text-box p{
    font-size: 25;
    margin: 15px 0 40px;
}
.code-btn{
    display: inline-block;
    text-decoration: none;
    color: white;
    border-radius: 12px;
    border: 1px solid white;
    padding: 12px 34px;
    font-size: 25;
    font-weight: bold;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.code-btn:hover{
    border: 1px solid #f26352;
    background: #f26352;
    transition: 0.5s;
}

nav .fa-solid{
    display: none;
}

.discord-btn{
    display: inline-block;
    text-decoration: none;
    color: rgb(0, 0, 0);
    border-radius: 12px;
    border: 1px solid rgb(0, 0, 0);
    padding: 12px 34px;
    font-size: 25;
    font-weight: bold;
    background: transparent;
    position: relative;
    cursor: pointer;
    margin-top: 1%;
    margin-bottom: 2%;
}
.discord-btn:hover{
    border: 1px solid #f26352;
    background: #f26352;
    transition: 0.5s;
}

.footer{
    text-align: center;
    position: absolute;
    bottom: 15px;
    width: 100%;
  }

@media(max-width: 770px){
    .text-box h1{
        font-size: 30px;
    }
    .nav-links ul li{
        display: block;

    }
    .nav-links{
        border-radius: 12px;
        position: absolute;
        background: rgba(9, 22, 51, 0.5);
        backdrop-filter: blur(1rem);
        height: 255px;
        width: 250px;
        top: 15px;
        right: 25px;
        text-align: center;
        z-index: 2;
        transition: 1s;
    }
    nav .fa-solid{
        padding: 2px 5px;
        text-align: right;
        display: block;
        color: white;
        margin: 10px;
        font-size: 30px;
        cursor: pointer;
    }
}

@media(max-width: 570px){
    .text-box h1{
        font-size: 20px;
    }
}

/*----- About -----*/

.about{
    margin: auto;
    text-align: center;
    color: rgb(0, 0, 0);
    padding-top: 100px;
    margin-bottom: 100px;
}
.about h1{
    font-size: 30px;
    font-weight: 700;
}
.about p{
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
}

/*---- Code editor -----*/

.header2{
    min-height: 50px;
    width: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(images/banner.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

.coding{
    margin: auto;
    text-align: center;
    color: rgb(0, 0, 0);
    padding-top: 100px;
    min-height: 100%;
}
.coding h1{
    font-size: 30px;
    font-weight: 700;
}
.coding p{
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
}
  
.editor-container {
    width: 900px;
    height: 540px;
    margin: 0px auto;
    position: relative;
    min-height: 100%;
    margin-bottom: 100px;
  }
  
#editor {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    font-size: 20px;
    min-height: 100%;
  }

  /*----- maintenance page forum -----*/

.mforum{
    margin: auto;
    text-align: center;
    color: rgb(0, 0, 0);
    padding-top: 100px;
}
.mforum h1{
    font-size: 30px;
    font-weight: 700;
}
.mforum p{
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
}
/*----- contact page -----*/
.cttxt{
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}
.cttxt h1{
    font-size: 25px;
    font-weight: 700;
}
.cttxt p{
    font-size: 18px;
    font-weight: 400;
}
.plhl{
    padding: 5px;
    padding-top: 2px;
    padding-bottom: 5px;
}
.lb{
    margin-bottom: 6px;
    display: block;
}
.contact-section{
    margin-bottom: 100px;
}

.contact{
    width: 80%;
    margin: auto;
}
.contact-box{
    background: #f3ded3;
    display: flex;
    border-radius: 12px;
}
.contact-text{
    flex-basis: 100%;
    padding: 60px 60px;
}
.contact-text h3{
    margin-bottom: 20px;
    font-weight: 600;
    color: #413f3f;
}
.input-row{
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.input-row .input-group{
    flex-basis: 45%;
}
input {
    width: 100%;
    border: none;
    border-bottom: 2px solid #f26352;
    outline: none;
    background: #f4efed;
    border-radius: 6px;
    cursor: pointer;
}
.textm{
    width: 100%;
    border: none;
    border-bottom: 2px solid #f26352;
    outline: none;
    padding: 10px;
    box-sizing: border-box;
    background: #f4efed;
    border-radius: 6px;
}
.messagec{
    margin-bottom: 6px;
    display: block;
}

.cbtn{
    display: inline-block;
    text-decoration: none;
    color: #f26352;
    border-radius: 12px;
    border: 1px solid #f26352;
    padding: 12px;
    width: 100%;
    font-size: 25;
    font-weight: bold;
    background: transparent;
    position: relative;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0px 5px 15px 0px rgba(181, 42, 0, 0.3);
}
.cbtn:hover{
    border: 1px solid #f26352;
    background: #f26352;
    transition: 0.5s;
    color: #f4efed;
}
.contact-text{
    color: #f26352;
}