/* Resets Padding and margins */
* {
    padding: 0px;
    margin: 0px;
  }

body {
  font-family: 'Orbitron', sans-serif;
    background-color: #0C0F16;

    
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    
}

/* HOME PAGE */
.navbar {
  position: fixed;
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  /* border-style: solid;
  border-color: red; */
  align-items: center;
  background-color: #333A41;

}

.logo{
  width: auto;
}

.logo img{
  height: 60px;
  width: auto;
  padding: 15px;
}

.links{
  text-align: right;
}
.links a{
  font-size: 20px;
  text-decoration: none;
  color: white;
  margin: 0 50px;
}

.accountButton {
  padding: 20px;
  background-color: #FF3366;
  border-radius: 10px;
}


.maincontent {
  min-height: 100dvh;
  color: white;
  display: grid;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 48px;
  font-weight: bold;

  background-image: url("assets/digital-falling-binary-code-numbers-on-white-background-2S6Y4R8.png");
  /* background-size: cover; */
  background-repeat: repeat-x;
  background-color: #0C0F16;
  background-size: cover;

  grid-template-columns: 1fr 1fr 1fr;
  grid-row: 1fr 1fr;

}

.LargeText{
  display: grid;
  font-size: 70px;
  color: #47515c;
  /* border-style: solid; */
  /* border-color: red; */
  text-align: left;
  grid-row: 1/3;
  grid-column: 1/3;
  padding-left: 35px;

}

.letsGetStartedButton{
  font-size: 30px;
  color: #ffffff;
  border: 3px solid #FF3366;
  text-align: center;
  padding: 15px;
  border-radius: 20px;

  grid-row: 2 / 3;
  grid-column: 1 / 2;

  width: fit-content;
  margin-left: 35px;
  text-decoration: none;
}


footer{
  padding: 40px;
  text-align: center;
  color: #777;
  background-color: #11151d;
}

/* Account Page / LOgin */





.maincontent-login {
  min-height: 100dvh;
  color: white;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: bold;



  grid-template-columns: 1fr 1fr 1fr;
  grid-row: 1fr 1fr;


  
  

}

.login-box{

  background-color: rgb(27	31	42);
  border-radius: 20px;

  grid-row: 1;
  grid-column: 2/3;
  width: 850px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;


}


.left-box {
  grid-column: 1;
  border-right: 1px solid white;
  padding: 80px 50px;

}



.right-box {
  grid-column: 2;
  padding: 100px 30px;
  background-color: #FF3366;
  border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;





}
.signup-title {
  font-size: 30px;
}
.signup-subtext {
  font-size: 19px;
  margin-top: 50px;
  font-weight: 200;
}



.signup-button-container {
  margin-top: 43px;
  
}


.signup-button {
  width: 80%;
    background-color: #FF3366;
    border: white 2px solid;
    color: white;
    font-size: 15px;
    border-radius: 10px;
    padding: 10px;
}






.login-box form{
  display: grid;
  grid-template-columns: 1fr ;
  row-gap: 20px;
  
}

.login-box h2 {
    color: white;
    font-size: 28px;
    margin-bottom: 5px;
    text-align: center;
    grid-row: 1/2;

}

.login-box input {
    width: calc(100% - 30px);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #47515c;
    background-color: #0C0F16;
    color: white;
    font-size: 16px;
}

.username {
    grid-row: 2/3;
    grid-column: 1;

}

.password {
    grid-row: 3/4;
    grid-column: 1;

}





.remember {
  grid-row: 4/5;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  column-gap: 9px;
  justify-content: left;
}

.remember input {
  width: 16px;
  height: 16px;
}

.remember label {
  font-size: 14px;
  color: #ccc;
}

.forgot {
  text-decoration: none;
  font-size: 14px;
  color: #ccc;
  justify-self: right;

}




.login-button {
    grid-row: 5/6;
    grid-column: 1;
    padding: 13px;
    background-color: #FF3366;
    color: white;
    font-size: 15px;
    border-radius: 10px;
    margin-top: 10px;
    border: 2px solid #000000;

}





/* Sign Up page */




.maincontent-signup {
  min-height: 100dvh;
  color: white;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: bold;
    padding-top: 40px;




  grid-template-columns: 1fr 1fr 1fr;
  grid-row: 1fr 1fr;


  
  

}

.signup-box{
  display: grid;

  background-color: rgb(27	31	42);
  border-radius: 20px;

  grid-row: 1;
  grid-column: 2/3;
  width: 400px;

  text-align: center;
  padding: 30px;

}

.signup-box form{
  display: grid;
  grid-template-columns: 1fr ;
  row-gap: 15px;
}

.su-submit {
  width: 20%;
  justify-self: center;
  padding: 13px;
  background-color: #FF3366;
  color: white;
  font-size: 15px;
  border-radius: 10px;
  margin-top: 10px;
  border: 1px solid #ffffff;

  }







.signup-box input {
    padding: 15px;
    border-radius: 10px;
    background-color: #0C0F16;
    color: white;
    font-size: 16px;
}




.title {
  font-size: 30px;
}
.sub-title{
  font-size: 13px;
  color: grey;
}


.already-have-account{
  text-align: center;
  font-size: 15px;
  color: grey;
  margin-top: 15px;}

.Log-in {
  font-size: 15px;
  color: rgb(255, 41, 109); 
  text-decoration: none;
}


.su-username {
    border: 1px solid #47515c;

}


.su-email {
  border: 1px solid #47515c;
}


.su-company {
  border: 1px solid #47515c;
}


.su-password {
  border: 1px solid #47515c;
}

.input-error-su {

    border: 1px solid #ff0000;

}



.error-bullets {
  text-align: left;
  margin-left: 30px;
  font-size: 13px;
  color: red;
  font-weight: 400;
}

.error-bullets li {
  padding-top: 6px
}






/* Account page */


.maincontent-account {
  min-height: 100dvh;
  color: white;
  display: grid;
  place-items: center;

  display: grid;
  justify-items: center;
  align-content: start;
  padding-top: 150px;
  background-image: url("assets/background.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  
}

.account-container {
  width: 85%;
  display: grid;
  grid-template-rows: auto auto;
  row-gap: 25px;
}



.welcome-card {

  border: 1px solid #47515c;
  border-radius: 10px;
  background-color: rgb(27, 31, 42);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;

  padding: 25px 35px;
  column-gap: 60px;
  /* row-gap: 12px; */
    
  }


.welcome-text {
  grid-row: 1/2;
  grid-column: 1;
  /* border: 2px solid red; */

  font-size: 56px;


}

.welcome-subtext {
  grid-row: 2/3;
  grid-column: 1;
  /* border: 2px solid red; */

  font-size: 25px;
color: #b8c2cc;
}

.logout {
 grid-row: 1/3;
  grid-column: 2;
  align-self: center;
  background-color: #FF3366;
  border-radius: 10px;
  padding: 12px;

}
.logout a{
    text-decoration: none;
      font-size: 25px;
      color: white;


}



.stats-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 20px;
}



.rank_card {
  text-decoration: none;
}

.stat-card {
  background-color: rgb(27, 31, 42);
  border: 1px solid #47515c;
  text-align: center;
  padding: 20px;
  border-radius: 10px;

}

.stat-title {
  font-size: 30px;
  color: #717e8c;
}

.stat-num {
  font-size: 20px;
  color: white;

}











/* Operations */



.operation-title {
  font-size: 20px;
}


.operation-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  row-gap: 20px;
}

.operations-card {
  background-color: rgb(0, 0, 10);
  border: 1px solid #47515c;
  text-align: center;
  /* padding: 20px; */
  border-radius: 10px;
  display: grid;
  grid-template-rows: auto auto auto auto;
    grid-template-columns: auto auto auto 1fr auto auto;
  padding: 20px 0px;
  padding-left: 20px;

}




.operation-name {
  grid-row: 1;
  grid-column: 1/6;

  font-size: 22px;
  font-weight: bold;
  text-align: left;
}


.Op-code {
    grid-row: 1;
    grid-column: 6;
      opacity: 0.6;

    text-align: right;
font-weight: lighter;
padding-right: 10px;
}

.operation-description {
  grid-row: 2;
  grid-column: 1 / 6;
    text-align: left;
  font-size: 16px;
  margin: 5px 0px;
  color: #d6e3ee;
}



.stat1,
.stat2,
.stat3 {
  text-align: left;
    justify-self: start; 

  font-size: 14px;
  background-color: rgb(30, 59, 30);
  color: rgb(194, 206, 194);
  border-radius: 8px;
  padding: 6px 12px;
  margin-top: 10px;
  margin-right: 5px;

}

.stats-row {
  grid-row: 3;
  grid-column: 1 / 3;
  display: grid;
  grid-auto-flow: column;
  justify-content: start;
  column-gap: 10px;
}


.tags {
  margin-top: 10px;
  grid-row: 4;
  grid-column: 1/4;
  font-size: 19px;
}

.tags span{
padding-right: 20px;
}

.status-active {
color: #0ff07c;
}



.op-view {
  grid-row: 4;
  grid-column: 6;
  text-align: right;
  text-decoration: none;
  /* border: rgb(0, 207, 155) 2px solid; */
  border-radius: 10px;
    justify-self: end; 
    padding: 10px;

}



/* 


.moderate{
  grid-row: 2/3;
  grid-column: 1/2;
  text-align: left;
  font-size: 14px;
  color: #b8c2cc;
  justify-self: start; 
  background-color: rgb(183, 149, 36);
  color: rgb(240, 236, 7);
  border-radius: 11px;
  padding: 5px 8px;
  margin: 8px 0px;
}


.hard{
  grid-row: 2/3;
  grid-column: 1/2;
  text-align: left;
  font-size: 14px;
  color: #b8c2cc;
  justify-self: start; 
  background-color: rgb(156, 45, 45);
  color: rgb(255, 0, 0);
  border-radius: 11px;
  padding: 5px 8px;
  margin: 8px 0px;
} */



/* Challenges */

.challenges-card-complete {
  background-color: rgb(27, 31, 42);
  border: 1px solid #327c3d;
  text-align: center;
  /* padding: 20px; */
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto 1fr auto;
  padding: 20px 25px;

}

.challenge-points {
  grid-row: 1;
  grid-column: 3/4;
  text-align: right;
    color: #00f7ff;
font-size: 16px;
}



















.leaderboard-mainContainer {
  margin-top: 150px;
  color: white;
  /* border: 2px solid white; */


}


.leaderboard-table {
  font-size: 30px;
  color: white;
  width: 70%;
  border-collapse: collapse;
  margin: 0px auto;
  
  background-color: rgb(27, 31, 42);
  border: 3px solid #47515c;

}



th, td {
  text-align: left;
  padding: 20px;
}


tr:nth-child(even) {
  background-color: #8bcad583;
}




.logged_in {
  font-weight: bolder;
  color: gold;
}









/* Op1 Mission briefing */

.body-op1 {
  background-color: rgb(3, 12,16);
}

.navbar-op {
  position: fixed;
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  /* border-style: solid; */
  /* border-color: red; */
  align-items: center;
  background-color: rgb(3, 12,16);
  color: white;
  border-bottom: 1px white solid;
  padding-bottom: 15px;

}

.logo-op{
  width: auto;
}

.logo img{
  height: 60px;
  width: auto;
  padding: 15px;
}

.links-op{
  text-align: right;
}
.links-op a{
  font-size: 20px;
  text-decoration: none;
  color: white;
  margin: 0 50px;
}

.accountButton-op {
  padding: 10px;
  background-color: #FF3366;
  border-radius: 10px;
}


.logo-op img{
  height: 50px;
  width: auto;
}


.breadcrumb-start {
  color: rgb(174, 164, 164);
}

.breadcrumb-start a{
  text-decoration: none;
    color: rgb(174, 164, 164);

}

.op-intro-Container {
color: white;
margin-top: 90px;
display: grid;
  background-color: rgb(3, 12,16);
  
  


grid-template-rows: auto auto auto auto;
padding-top: 10px;
padding-left: 50px;
padding-bottom: 30px;
border-bottom: rgb(73, 73, 73) 1px solid;
}


.activeOp {
  grid-row: 1;
  color: #327c3d;
    padding: 10px 0px;

}

.Op-title{
  grid-row: 2;
}
.op-sub-Description {
  grid-row: 3;
  color: #8b99aa;
  padding-bottom: 10px;
  padding-top: 5px;

}

.op-progressbar{
  grid-row: 4;
  padding: 10px 0px;
  
}

.op-progressbar progress {
  width: 400px;
}

.fraction{
  color: #0ff07c;
  padding-left: 50px;
}
.completed{
  color: #ffff;
}




.MissonTasks-container {
display: grid;
grid-template-columns: 1fr 1fr;
/* overflow-y: auto;  */
}



.Mission_tasks {
  color: #ffff;
  padding: 0px 30px;
  padding-top: 10px;
  font-size: large;
  font-weight: bolder;
}







.tasks {
  grid-column: 1;   
  border: 1px solid #47515c;
  margin: 10px;
  border-radius: 10px;


}

.challenge-card {
background-color: rgb(28,31,41);
  border: 1px solid #47515c;
  text-align: center;
  border-radius: 10px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto auto;
  padding: 10px 0px;
  padding-left: 20px;
  margin: 10px 20px;

  color: #ffff;
}


.ChallengeID {
  grid-row: 3;
  grid-column: 1;
  padding-right: 40px;
}


.ChallengeName{
  grid-column: 2;
  grid-row: 1;
  text-align: left;
  font-size: 20px;
  font-weight: 600;
}

.challenge-status {
  text-align: right;
  justify-self: end; 
  font-size: 14px;
  background-color: rgb(8, 28, 30);
  color: rgb(102, 207, 37);
  border: rgb(32, 72, 62) solid 1px;
  border-radius: 50px;
  padding: 6px 12px;
  /* margin-top: 5px; */
  margin-right: 15px;
  grid-column: 2;
  grid-row: 1;

}

.ChallengeDescription{
  grid-row: 2;
  grid-column: 2;
  text-align: left;
  padding: 5px 0px;
  color: #bdc6ca;
  font-weight: 400;
}


.challenge-stat1,
.challenge-stat2,
.challenge-stat3 {
  text-align: left;
    justify-self: start; 

  font-size: 14px;
  background-color: rgb(30, 59, 30);
  color: rgb(194, 206, 194);
  border-radius: 8px;
  padding: 6px 12px;
  margin-top: 10px;
  margin-right: 5px;

}

.challenge-stats-row {
  grid-row: 3;
  grid-column: 2;
  display: grid;
  grid-auto-flow: column;
  justify-content: start;
  column-gap: 10px;
  padding-bottom: 10px;

}






.challenge-difficulty-easy {
  text-align: left;
  justify-self: start; 
  font-size: 14px;
  background-color: rgb(30, 59, 30);
  color: rgb(194, 206, 194);
  border-radius: 8px;
  padding: 6px 12px;
  margin-top: 10px;
  margin-right: 5px;

}



.challenge-difficulty-moderate {
  text-align: left;
  justify-self: start; 
  font-size: 14px;
  background-color: rgb(183, 149, 36);
  color: rgb(240, 236, 7);
  border-radius: 8px;
  padding: 6px 12px;
  margin-top: 10px;
  margin-right: 5px;

}




.challenge-difficulty-hard {
  text-align: left;
  justify-self: start; 
  font-size: 14px;
  background-color: rgb(156, 45, 45);
  color: rgb(255, 0, 0);
  border-radius: 8px;
  padding: 6px 12px;
  margin-top: 10px;
  margin-right: 5px;

}


















 .challenge-form {
  grid-row: 4/5;
  grid-column: 2;  
    display: grid;
  grid-template-columns: 1fr auto; 
  
  
 }
 



.challenge-input{
  display: inline-block;
  justify-content: start;
  width: 100%;


}

.challenge-input input{
 
  
  width: 100%;
  padding: 13px;
  border-radius: 8px;
  border: 1px solid #47515c;
  background: #0f141c;
  color: white; 
    
}




.challenge-submit {

 display: inline-block; 
 padding-left: 50px;
 padding-right: 30px;

}


.challenge-submit input {


  background-color: #00f7ff;
  padding: 13px 25px;
  border: none;
  border-radius: 5px;
 color: #020c13;
 font-weight: bold;
 
 
}


.Dropdown-Container {
  grid-row: 4;
  grid-column: 1/3;
  text-align: left;
  border: 1px solid #47515c;
  border-radius: 10px;
  margin-right: 20px;
  background: #313e52;
   padding: 10px;


}
.Dropdown-Container summary {
  color: rgb(100,217,244);

  
}

.Challenge-instructions {
  text-align: left;
    border: 1px solid #47515c;
  border-radius: 10px;
  padding: 10px;
  padding-left: 20px;
  font-size: 15px;
  font-weight: 300;
  background-color: #0f141c;
  margin-top: 10px;
  display: grid;
  grid-template-columns: auto auto;
  


}



.yourMission {
  margin-top: 15px;
}

.mission {
    text-align: left;
    border: 1px solid #47515c;
  border-radius: 10px;
  padding: 10px;
  padding-left: 20px;
  font-size: 15px;
  font-weight: 300;
  background-color: #0f141c;
  margin-top: 10px;
  margin-bottom: 20px;
}

.mission span{
  padding-left: 10px;
}



.launch-button {

  grid-row: 4;
   border-radius: 8px;
  text-align: right;
    justify-self: start;
    margin-top: -20px;
    margin-top: -30px;
    
}


.launch-button-a {
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  text-align: end;
  font-size: 40px;

}

















.briefing {
  grid-column: 2;
  background-color: rgb(13,22,33);
  border: 1px solid #47515c;
  border-radius: 10px;
  margin: 10px 30px;
  margin-bottom: 30px;
  padding: 15px;
  display: grid;
  grid-template-columns: 300px 1fr;
  /* grid-template-rows: auto auto auto auto; */
    gap: 10px;

  color: white;
  align-self: start;
  /* https://www.w3schools.com/cssref/css3_pr_align-items.php */

}

.briefing-title {
  grid-column: 1;
  grid-row: 1;
  font-size: 18px;
  font-weight: lighter;

}

.main-op-title {
  grid-column: 2;
  grid-row: 2;
  font-size: 28px;
  font-weight: bold;
}

.title-threat {
    grid-column: 2;
  grid-row: 2;
  padding-left: 20px;
  padding-top: 5px;

}

.threat-Level {
  color: #ef3b3b;
padding-top: 10px;
}

.Overview {
  grid-column: 1;
  font-weight: lighter;
}

.op-description {
  grid-column: 1/3;
}


.briefing img {
  width: 100%;
  grid-column: 1;
  grid-row: 2;
  border-radius: 10px;
}



.goal {
  
  padding: 20px;
  font-style: italic;
  /* border: 1px red solid; */
  background: #1e2f43 ;
  border-radius: 5px;
  border-left: rgb(94, 205, 253) 4px solid;
}










/* Challenge card Locked */


.challenge-status-locked {
  text-align: right;
  justify-self: end; 
  font-size: 14px;
  background-color: rgb(17, 17, 17);
  color: rgb(167, 167, 167);
  border: rgb(67, 67, 67) solid 1px;
  border-radius: 50px;
  padding: 6px 12px;
  /* margin-top: 5px; */
  margin-right: 15px;
  grid-column: 2;
  grid-row: 1;

}


/* Complete */






.challenge-submit-complete input {


  background-color: #105557;
  color: #03131d;
  padding: 13px 25px;
  border: none;
  border-radius: 5px;
 font-weight: bold;
 
 
}


.challenge-submit-complete {

 display: inline-block; 
 padding-left: 50px;
 padding-right: 30px;

}

.challenge-status-complete
{ text-align: right;
  justify-self: end; 
  font-size: 14px;
  background-color: rgb(17, 17, 17);
  color: rgb(22, 83, 40);
  border: rgb(67, 67, 67) solid 1px;
  border-radius: 50px;
  padding: 6px 12px;
  /* margin-top: 5px; */
  margin-right: 15px;
  grid-column: 2;
  grid-row: 1;

}

.incorrect-flag {
  padding-left: 5px;
  padding-top: 5px;
  color: red;
}

.correct-flag {
  padding-left: 5px;
  padding-top: 5px;
  color: rgb(18, 181, 0);
}