/* Start Global Rules */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

:root {
  /* --main-color: #108a00; */
/* #022A30 */
/* #022A30 */
/* #B6CBCE */
/* #EEF3DB */

  /* --main-color: #ffffff; */
  --main-color: rgba(3, 63, 71, 0.8);
  /* --main-text-color: #1f2937; */
  --main-text-color: #EEF3DB
;
  --secondry-color: #06b6d4, ;
  /* --primary-color: #dae3e7; */
  --primary-color: #022A30;
  --text-color-green: rgba(20, 168, 0, 6.5);
  --text-color-light: rgba(0, 0, 0, 0.1);
  --main-color-alt: #0866ff;
  --main-btn-color:green;
  --github-btn-color: #1F883D;
  --google-btn-color: blue;

  --main-transition: 0.3s;

  --main-padding-top: 100px;
  --main-padding-bottom: 100px;

  --main-margin-top: 130px;
  --main-margin-bottom: 130px;

  --small-main-padding-top: 100px;
  --small-main-padding-bottom: 100px;

  --small-main-margin-top: 100px;
  --small-main-margin-bottom: 100px;

  --section-background: #ececec;

  --large-font-size: 20px;
  --medium-font-size: 18px;
  --small-font-size: 14px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Neue Montreal", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: var(--primary-color);



}

a {
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
  margin: var(--main-margin-top) 0px;

}

.myheading {
  text-align: center;
  font-weight: bold;
  font-size: 40px;
  font-weight: bolder;
  padding: 15px 10px;
  border: 1px solid var(--text-color-light);
  width: 260px;
  margin: 0px auto;
  background-color: var(--main-color);
  border-radius: 20px;
  color: var(--main-text-color);


}

@media (max-width: 768px) {

  /* .myheading {
   margin-top: 200px;
   margin-bottom: 200px;
  } */
}

@media (max-width: 768px) {


  .myheading {
    font-size: 40px;
    width: 200px;
    margin: 0px auto;
  }
}



/*/////////////////////////////////////////*/
.modal {
  display: none;
  position: fixed;
  z-index: 100000;
  /* padding-top: 10px; */
  left: 0;
  top: 70px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);


}

.modal_content {
  text-align: center;
  border: 1px solid var(--text-color-light);
  width: 50%;
  height: 100%;
  border-radius: 10px;
  margin: 0 auto;
  background-color: var(--primary-color);

}

.modal_header {


  height: 10%;
  border: 1px solid var(--text-color-light);
  position: relative;
  color: var(--main-text-color);
}
.modal_body{
   height: 90%;
   
}

.fa-times {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 18px;
  cursor: pointer;
  color: var(--main-text-color);
}

@media (max-width: 768px) {

  .modal_content {

    width: 90%;


  }

  .modal_header {
    min-height: 60px;

  }

  .modal_header h1 {
    font-size: 22px;
    padding: 20px 10px;
  }

 

}

/*/////////////////////////////////////////*/




/* start modal */
/* .form_container{
  border: 20px solid red;

} */
/* .form_container h1{
  margin-left: 15%;
  color: red;
} */

.form{
  padding: 80px 20px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  background-color: var(--main-color);
 
  border-radius: 10px;
  border: 1px solid var(--main-color);
  overflow-y: auto;
}

.form_group {
  display: flex;
  flex-direction: column;
  width:80%;
  
  text-align: left;
  align-items: left;
  margin: 0 auto;


}
.form_group .input_with_label{
  width: 100%;
  display: flex;
  text-align: center;
  align-items: center;
  
 
}

.form_group label{
  width: 20%;
  text-align: center;
  
  margin-bottom: 15px;
  color: var(--main-text-color);

}
.form_group input{
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  border-radius:5px ;

}
.form_group textarea{
  width: 100%;
  margin-bottom: 15px;
padding: 10px;
border-radius:5px ;
}

.form_group .error_message{
  color: red;
  text-align: left;
  align-items: left;
  margin-left: 16%;
  margin-bottom: 10px;
  
}
.form .success_message{
  color: green;
  text-align: left;
  align-items: left;
  padding: 20px 0;
  font-weight: bold;
  margin-left: 6%;
  
}
.btn{
  padding: 15px;
  background-color: var(--main-btn-color);
  border-radius: 7px;
  margin-top: 10px;
  width: 250px;
  cursor: pointer;
  color: var(--main-text-color);
}
.btnregister{
background-color: var(--main-btn-color);
}
.github{
  background-color: var(--github-btn-color);
}
.google{
  background-color: var(--google-btn-color);
}

@media (max-width: 768px) {


  .form {
   
    justify-items: center;
    width: 100%;
    padding: 10px 10px 100px 10px;
    flex-direction: column;
    font-size: var(--small-font-size);

  }
  .form_group {
  flex-direction: column;
  
  }
  .form_container h1{
    margin-left: 0%;
  }

  .form_group .input_with_label{
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: left;
   
  }
  .form_group label{

    width: 100%;
    text-align: left;
    
    
  
  }
  .form_group input{
    width: 100%;
    text-align: left;
   
  
  }

  .form_group textarea{
    width: 100%;
    text-align: left;
  }
  .form_group .error_message{
    color: red;
    margin-left: 0%;
  }


  .form .success_message{
 
    margin-left: 10%;
    
  }

}

/* end modal2 */




/* End Global Rules */
nav {
  position: fixed;
  top: 0;
  /* Anchors it to the top of the screen */
  left: 0;
  width: 100%;
  /* Stretches it across the viewport width */
  height: 70px;
  z-index: 1000;
  /* Ensures it's above other content */
  display: flex;
  flex-direction: row;
  text-align: center;
  align-items: center;
  justify-content: space-between;
  background-color: var(--main-color);
  padding: 15px;
  color: var(--main-text-color);
  border-radius: 3px;
  font-size: var(--medium-font-size);
  /* font-weight: bold; */
  /* font-family: "Veronika Burian", "José Scaglione"; */
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);

  /* border-bottom: 1px solid #777; */



}

.brand {
  font-weight: bold;
  cursor: pointer;
  font-size: var(--large-font-size);
}
.brand a{
  color: var(--main-text-color);
}


@media (max-width: 768px) {
  .brand {

    font-size: var(--medium-font-size);
  }

  #menubar {
    font-size: var(--medium-font-size);
  }

}


.brand:hover {
  font-weight: bolder;
}


#menubar {
  display: none;
}

.links ul {
  display: flex;


}

.links ul li {
  padding: 25px 8px;
}

.links ul li a {
  color: var(--main-text-color);
  /* padding: 22px; */
  cursor: pointer;


}


.links ul li:hover {

  border-bottom: 2px solid var(--text-color-green);

}


/* Styles for mobile and smaller */
@media (max-width: 992px) {
  .links {
    display: none;
  }

  #menubar {
    display: inline-block;
    cursor: pointer;
    font-weight: bold;
    margin-left: 7px;
  }

  nav {
    position: fixed;
    top: 0;
    /* Anchors it to the top of the screen */
    left: 0;
    width: 100%;
    /* Stretches it across the viewport width */
    height: 70px;
    z-index: 1000;
    /* Ensures it's above other content */
    display: flex;
    flex-direction: row;
    text-align: center;
    align-items: center;
    justify-content: space-between;
   
  }

  .mylinks {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 0px;
    top: 70px;
    width: 100%;
    max-height: 300px;
    overflow-y: scroll;

  }

  .mylinksul {
    display: flex;
    flex-direction: column;
    background-color: var(--main-color);


  }

  .links ul li {
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
  }

  .links ul li a {
    display: inline-block;
    width: 100%;
  }

 


}


/* start language  */
.language {

  position: relative;
  cursor: pointer;
  display: none;
}

.langitems {
  display: none;
  position: absolute;
  top: 70px;
  right: 15px;
  background-color: var(--main-color);
  min-width: 250px;
  z-index: 1000000000000;
}

.langitems #sub-menu1 {
  display: flex;
  flex-direction: column;
}

.toggle_block {
  display: block !important;
}

.toggle_none {
  display: none !important;
}

.langitems ul li {
  padding: 15px 10px;

  border: 1px solid rgba(0, 0, 0, 0.1);
  ;
}

.langitems ul li a {
  color: var(--main-text-color);
  margin-left: 5px;
}

.langitems ul li form {
  display: inline;

}

@media (max-width: 992px) {
  .language {
    display: inline-block;
    position: relative;
  }

  .language2 {
    display: none;

  }

  .lang2_li {
    display: none;
  }

}

@media (max-width: 768px) {
  .language2 {
    display: none;

  }

  .lang2_li {
    display: none;
  }

  .language {
    display: inline-block;
    position: relative;
  }

  .langitems {
    min-width: 150px;
  }

  .langitems {
    display: none;
    position: absolute;
    top: 70px;
    right: 15px;
    background-color: var(--main-color);
    /* min-width: 150px; */
    width: 250px;
    margin: 0px auto;
  }

  .langitems ul li i {
    font-size: var(--small-font-size);
  }

  .langitems ul li a {
    font-size: var(--small-font-size);
  }

}


.language2 {

  position: relative;
  cursor: pointer;

}

.langitems2 {
  display: none;
  position: absolute;
  top: 70px;
  right: 15px;
  background-color: var(--main-color);
  min-width: 250px;
}

.langitems2 #sub-menu12 {
  display: flex;
  flex-direction: column;
}

.toggle_block {
  display: block !important;
}

.toggle_none {
  display: none !important;
}

.langitems2 ul li {
  padding: 15px 10px;

  border: 1px solid rgba(0, 0, 0, 0.1);
  ;
}

.langitems2 ul li a {
  color: var(--main-text-color);
  margin-left: 5px;
}

.langitems2 ul li form {
  display: inline;

}

/* end language  */






/* start footer */

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-column-gap: 20px;
  background-color: #000000;
  color: var(--primary-color);
  padding: 100px 20px 100px 20px;
  margin-top: 100px;
  color: var(--main-text-color);

}

.footer h1 {
  color: var(--text-color-green);
}

.footer .links_footer ul li a {
  color: var(--main-text-color);
  line-height: 1.5;
  font-weight: bold;
}

.footer .services_footer span {
  font-size: 20px;
  display: block;
  line-height: 1.5;
}

.footer .contacts_me i {
  color: var(--text-color-green);
  font-size: var(--medium-font-size);
  margin: 10px;
  /* cursor: pointer; */
}




@media (max-width: 992px) {

  .footer {
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 20px;

    color: var(--primary-color) !important;


    justify-items: center;
    text-align: left;

  }

  .footer h1 {
    text-align: center;
  }

  .footer .contacts_me .social {
    text-align: center;
    justify-items: center;
  }

  .footer .footer_about_me {
    width: 100%;
  }

  .footer .links_footer {
    width: 100%;
  }

  .footer .services_footer {
    width: 100%;
  }

  .footer .contacts_me {
    width: 100%;
  }

}

@media (max-width: 768px) {

  .footer {
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 20px;
    color: var(--main-text-color)!important;
    justify-items: center;
    text-align: left;

  }

  .footer h1 {
    text-align: center;
  }

  .footer .contacts_me .social {
    text-align: center;
    justify-items: center;
  }

  .footer .footer_about_me {
    width: 100%;
  }

  .footer .links_footer {
    width: 100%;
  }

  .footer .services_footer {
    width: 100%;
  }

  .footer .contacts_me {
    width: 100%;
  }

}

.copy_right {
  background-color: #000000;
  color: var(--main-text-color);
  font-size: var(--large-font-size);
  text-align: center;
  align-items: center;
  padding-bottom: 10px;
  /* font-weight: bold; */
}

@media (max-width: 992px) {
  .copy_right {

    font-size: var(--small-font-size);
  }

}




/* comment */
/* end footer */


/* end footer */