*{
  margin: 0;
  padding: 0;
  font-family: 'Ubuntu', sans-serif;
}

/* Nav bar si header -- prima sectiune */
.header{
  min-height: 60vh;
  width: 100%;
  background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), url(backgroundCalculator.png);
  background-position: center;
  background-size:cover;
  position: relative;
}

nav{
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
}

nav img{
  width: 150px;

}

.nav-links{
  flex: 1;
  text-align: right;
}

.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;

}

.nav-links ul li a {
  color:#fff;
  text-decoration: none;
  font-size: 16px;
}

.nav-links ul li::after{
  content: '';
  width: 0%;
  height: 2px;
  display: block;
  margin: auto;
  background: #ff5945;
  transition: 0.5s;
}

.nav-links ul li:hover::after{
  width: 100%;
}

nav .fa{
  display: none;
}


.mesaj-principal{
  width: 90%;
  color:#fff;
  position: absolute;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  text-align: center;
}

.mesaj-principal h1{
  font-size: 53px;
}

.sectiuneCalculator{
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}

.calc{
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 50px;
    width:60%;
    height: auto;
    display: block;
    color:black;
    padding: 12px 10px;
    line-height: 3;
    text-align: left;
}

.calc hr{
  width: 100%;
}

.calc h1{
  font-size: 18px;
}

input[name="text1"] {
    width: 50%;
    height:5%;
    font-size: 25px;
    border-top: 1px solid black;
  }

  input[name="text2"] {
    width: 50%;
    height:5%;
    font-size: 25px;
    border-top: 1px solid black;
  }

  input[name="rezultat"] {
    width: 50%;
    height:5%;
    font-size: 25px;
    border-top: 1px solid black;
  }

  input[name="rezultatGrosime"]{
    width: 50%;
    height:5%;
    font-size: 25px;
    border-top: 1px solid black;
  }

  form[name="checkboxes"] input{
    font-size: 25px;
    display: inline-block;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  form[name="checkboxes"] label{
    font-size: 25px;
    display: inline-block;
  }


  input.size{
    width: 30px;
    height: 20px;
  }

/*--------------------------------------------- */




input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

  /* Hide the browser's default checkbox */
  .container input {
    position: absolute;
    top: 0;
    left: 0;
    height: 35px;
    width: 30px;
    background-color: #eee;
  }

  
  /* On mouse-over, add a grey background color */
  .container:hover input ~ .checkmark {
    background-color: #ccc;
  }
  

  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
 
  /* Style the checkmark/indicator */
  .container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  /* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

.footer{
  width: 100%;
  background: linear-gradient(to right,#00093c,#2d0b00);
  color:#fff;
  padding: 100px 0 30px;
  border-top-left-radius:125px;
  font-size: 13px;
  line-height: 20px;

}

.components{
  width: 85%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

.col{
  flex-basis: 25%;
  padding: 10px;

}

.logoFooter{
  width: 80px;
  margin-bottom: 30px;
}

.col h3{
  width: fit-content;
  margin-bottom: 40px;
  position: relative;
}

.col ul li{
  list-style: none;
  margin-bottom: 12px;

}

.col ul li a{
  text-decoration: none;
  color:#fff;
}

.col:nth-child(2) , .col:nth-child(3){
  flex-basis: 15%;
}

hr{
  width: 90%;
  border: 0;
  border-bottom: 1px solid #ccc;
  margin:20px auto;
}

.copyright{
  text-align: center;
}

@media (max-width: 700px) {
  .mesaj-principal h1{
    font-size: 25px;
}

.nav-links ul li{
    display: block;
    margin-top: 20px;
}

.nav-links{
    position: fixed;
    background: #ff5945;
    height: 100vh;
    width: 200px;
    top:0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 1s;
    overflow: hidden;
}

nav .fa{
    display: block;
    color:#fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
}

.nav-links ul{
    padding: 30px;
}

.footer{
  bottom: unset;
}
.col{
  flex-basis: 100%; 
}

.col:nth-child(2) , .col:nth-child(3){
  flex-basis: 100%;
}

.calc{
  width: 100%;
}

.calc h1{
  font-size: 14px;
  width: 100%;
}

input[name="text1"]{
  width: 90%;
}

input[name="text2"]{
  width: 90%;
}

input[name="rezultat"]{
  width: 90%;
}

input[name="rezultatGrosime"]{
  width: 90%;
}
}



@media(max-width:900px){
   
  .mesaj-principal h1{
    font-size: 35px;
}

.nav-links ul li{
    display: block;
    margin-top: 20px;
}

.nav-links{
    position: fixed;
    background: #ff5945;
    height: 100vh;
    width: 200px;
    top:0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 1s;
    overflow: hidden;
}

nav .fa{
    display: block;
    color:#fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
}

.nav-links ul{
    padding: 30px;
}

.footer{
  bottom: unset;
}
.col{
  flex-basis: 100%; 
}

.col:nth-child(2) , .col:nth-child(3){
  flex-basis: 100%;
}

.calc{
  width: 100%;
}

.calc h1{
  font-size: 14px;
  width: 100%;
}

input[name="text1"]{
  width: 90%;
}

input[name="text2"]{
  width: 90%;
}

input[name="rezultat"]{
  width: 90%;
}

input[name="rezultatGrosime"]{
  width: 90%;
}
}
/* --------------------------- */