/*Sets the default style for the html elements ,this will ofer a consistent and predictable style which then will improve usability and maintanility of the website as it will offer consistent rendering across different browsers*//* general propreties for the whole website , text rendering makes sure the font gets rendered properly */
*{
  margin:0;
  padding: 0;
  box-sizing: border-box;
  background-color: #fff;
  color:#000;
  text-rendering: optimizeLegibility; 
  font-size: 16px;
  font-family: 'Titillium Web','Arial',sans-serif;
  font-weight: 300;
}


body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  color: white;
  background-image: linear-gradient(rgba(0,0,0,.2),rgb(0,0,.9)),url(/resources/img/background.jpg);
}

/* this ensures that the width of the rows will not be bigger then 1140px even if the device is bigger,also it sets the rows to be centered in the screen*/
.row {
  max-width: 1140px;
  margin: 0 auto;
}

/*Header area */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  padding:30px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background:#fff ;
  border-bottom: 4px solid #ed07b7;
  z-index: 99;
}


h1 {
  font-size: 400%;
  color:#6920b0;
  font-weight: 400;

}

h2 {
  font-size: 150%;
  color: #ed07b7;
  font-weight: 400;
}


.page-name{
  font-size: 40px;
  color: #6920b0;
  user-select: none;
  font-weight: 600;
}

.span-click{
  font-size: 150%;
  color: #ed07b7;
  font-weight: 600;
}
.span-and{
  color: #555;
  font-size: 100%;
  font-weight: 500;
}
.span-connect{
  font-size: 150%;
  color: #6920b0;
  font-weight: 600;
}

.nav-bar{
  margin-right: 30px;
}
.nav-bar a {
  position: relative;
  font-size:20px ;
  color: #6920b0;
  text-decoration: none;
  font-weight: 500;
  margin-left: 50px;
}

.nav-bar a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width:100%;
  height: 3px;
  background: #ed07b7;
  border-radius: 5px;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform .7s;
}
.nav-bar a:hover::after {
  transform-origin: left;
  transform: scaleX(1);
} 
/*Header end */

/*Login Button page centered*/
.btnlogin {
  position: absolute;
  width: auto;
  min-width: 130px;
  height: auto;
  min-height: 50px;
  margin-top: 60%;
  background: transparent;
  border: 2px solid #fff;
  outline: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1em;
  color: #fff;
  font-weight: 500;
  transition: .5s; 
}

.btnlogin:hover{
  background: #ed07b7;
  color:#fff;
  border: 2px solid #6920b0;
}
/*Login Button page centered*/

/*Welcome text page center*/
.position-welcome{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-70%);
}
.welcome {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:transform .5s ease ,height .5s ease;
}

.logo{
  max-width: 60%;
  max-height: 60%; 
}
/*Welcome text page center*/

/*Login and Register containers */
.wrap {
  position: relative;
  width: 400px;
  height: 440px;
  background:  #fff;
  border: 2px solid #6920b0;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,.5);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transform: scale(0);
  transition:transform .5s ease ,height .2s ease;
  
}
/*Login and Register containers */

/*Transition effects for the containers*/
.welcome.remove-welcome {
  transform: scale(0);
}
.wrap.active-show {
  transform: scale(1);
}

.wrap.active {
  height: 520px;
}

/*Tranisition effects for the log in and registartion continued*/
.wrap .form-box.log-in{
  transition: transform .18s ease;
  transform: translateX(0);
}

.wrap.active .form-box.log-in{
  transition: none;
  transform: translateX(-400px);
}

.wrap .form-box.register{
  position: absolute;
  transition: none;
  transform: translateX(400px);
}
.wrap.active .form-box.register{
  transition: transform .18s ease;
  transform: translateX(0);

}
/*Tranisition effects for the log in and registartion continued*/
/*Transition effects for the containers*/


.wrap .close-icon{
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  font-size: 2em;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index:1 ;
}


/*Log in and registration forms*/
.form-box h2 {
  font-size: 2em;
  color: #6920b0;
  text-align: center;
}
.input-box {
  position: relative;
  width: 100%;
  height: 50px;
  border-bottom:2px solid #555;
  margin: 30px 0;
}
.input-box label{
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  font-size: 1em;
  color: #555;
  font-weight: 500;
  pointer-events: none;
  transition: .5s;
}

.input-box input:focus~label,
.input-box input:valid~label {
  top: -5px;
}
.input-box input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1em;
  color: #555;
  font-weight: 600;
  padding: 0 35px 0 5px;
}


.input-box .icon {
  position: absolute;
  right: 8px;
  font-size: 1.2em;
  color: #555;
  line-height: 57px;
} 

.options {
  font-size: .9em;
  color: #6920b0;
  font-weight: 500;
  margin: -15px 0 15px;
  display: flex;
  justify-content: space-between;
}
.options label input {
  accent-color: #162938;
  margin-right: 6px;
}
.options a {
  color: #555;
  text-decoration: none;
  margin-left: 30px;
}
.options a:hover{
  color: #6920b0;
}

.button{
  width: 100%;
  height: 40px;
  background: #6920b0;
  border: none;
  outline: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
  color: #fff;
  font-weight: 500;
}
.login-registration{
  font-size: .9em;
  color: #555;
  text-align: center;
  font-weight: 500;
  margin: 20px 0 10px;
}
.login-registration p a {
  color: #6920b0;
  text-decoration: none;
  font-weight: 600;
}

.login-registration p a:hover {
  text-decoration: underline;
}
/*Log in and registration forms*/



/*Footer Css*/
.footer{
  position: fixed;
  left:0;
  bottom:0;
  height: 16%;
  width: 100%;
  border-top: 4px solid #6920b0;
  background: white;
  border-bottom:4px solid #555;
}
.footer-nav{
  margin-left: -80%;
  margin-top: 40px;
}
.footer-nav li{
  list-style: none;
  display: inline-block;
  margin-left: 20px;
  
}
.footer-nav li a:link,
.footer-nav li a:visited{
  color: #555;
  text-decoration: none;
  font-weight: 500;
}


.footer-mid{
  margin-top: 40px;
}

.footer-mid li{
  list-style: none;
  display: inline-block;
}

.footer-mid li a:link,
.footer-mid li a:visited{
  color: #555;
  text-decoration: none;
  font-weight: 500;
}

.footer-contact{
  margin-top: 10px;
  margin-left: 200px;
}

.footer-contact li{
  list-style: none;
  display: flex;
  margin-top: 15px;
  color: #555;
  font-weight: 00;
}

.footer-contact li a{
  display: flex;
  margin-right: 10px;
}

.footer-company-name{
  margin-left: 40%;
  color: #6920b0;
}

.h1-edits{
  float: center;
}
/*Footer Css*/