

body {
  margin: 0 0;
  background: url('poze/stropbej.png') no-repeat center center;
  background-attachment: fixed;
  background-size: cover;
  background-color: rgb(249, 248, 240);
}
/* Style the header */
.header {
  background-color: #eeedea;
  width: 100%;
  padding: 20px;
  letter-spacing: 7px;
  text-align: center;
  color:  #5a513a;
}
h2 {
  text-align: center;
  font-style: normal;
  color: #5d4228;
}
.material-icons {
position: relative;
  margin: 10px;
  animation: mymove 160s infinite;
  animation-timing-function:linear;
}
@keyframes mymove {
  from {left: 0px;}
  to {left: 500px;}
}
#motto {
  text-align: center;
  font-style: normal;
  font-size: medium;
  color: #757485;
}
p {
  text-align: justify;
  padding: 1px 70px;
  font-style: normal;
  font-size: small;
  color: #9b9aa6;
}
h1 {
  text-align: justify;
  padding: 2px 70px;
  font-style: normal;
  font-size: small;
  color: #757485;
}
/* Style the top navigation bar */
.topnav {
  overflow: hidden;
  background-color: #c1c1bf;
}

/* Style the topnav links */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 16px 16px;
  text-decoration: none;
}

/* Change color on hover */
.topnav a:hover {
  background-color: #fbf5e5;
  color: rgb(125, 125, 130);
}
/*icon*/
ion-icon {
  font-size: 32px;
  color: #f9f0c5;
}

/* Create three unequal columns that floats next to each other */
.grid-container {
  text-align: justify;
  font-style:normal;
  color: #534f4f;
}
#containerA{
   grid-column: 1 / span 2;
}


#containerB{
  width: 100%;
  background-color: #f7faec;
  font-size: small;
  color: #757485;
  line-height: 20px;
}
ol{ 
  padding: 7%;
}
html {
  scroll-behavior: smooth;
}
.content-text {
   line-height: 20px;
}
.content-text a {
   text-decoration: none;
   color: #5d4228;
    /* transition: all 0.3s ease; */
}

/* Efect la trecerea cu mouse-ul */
.content-text a:hover {
    color: #c78441;
}
/* Left and right column */
ul {
  /* Elimină bulinele/numerotarea */
  list-style: none; 
  
  /* Elimină spațiul de indentare implicit (Browserele folosesc fie margin, fie padding, sau ambele) */
  margin: 20px; 
  padding: 20px; 
}
#T{
  text-decoration: none;
  color: #5d4228;
}
#T:hover{
color: #d4c9a0;
}
#S{
  text-decoration: none;
  color: #c78441;
}
/* Middle column */
.button {
  width: 40px;
  padding: 5px;
  border:none;
  background-color: #bb9a75;
  font-size: 15px;
  color: #fafaf6;
}
img{
  margin: auto;
  display: block;
}

#tabel{
padding: 10px 70px;
}
#TABLE{
  width: 50%;
  margin: 10px 70px;
  font-family: 'Times New Roman', Times, serif;
  font-size: small;
  color: #757485;
}
img{
  border:2px solid #f1f1f1;
}
input {
  border-radius: 50px;
  border-color: #e72d2d;
  color: #c78441;
}

/* Clear floats after the columns */
/*.row::after {
  content: "";
  display: table;
  clear: both;
}*/

/* Style the footer */
.sideleft {
    display: inline-flex;
    position: 0;
    margin: 20px;
    padding: 0px;
} 
/* Change color on hover */
a.schi:hover {
color: wheat;
} 

#F {
  filter: grayscale(200%);
  border-style: none;
  padding: 0%;
  margin: 0;
}
#F:hover {
  filter: none;
}
#W {
  filter: grayscale(200%);
  border: none;
   padding: 0%;
  margin: 0%;
}
#W:hover {
    filter: none;
}
#P {
  filter: grayscale(200%);
  border: none;
  padding: 0%;
  margin: 0%;
}
#P:hover {
  filter: none; 
}

#M {
  filter: grayscale(200%); 
  border: none;
   padding: 0%;
  margin: 0%;
}
#M:hover{
  filter: none;
}

.main {  
   display: inline-flex;
   flex-direction: column;
    margin-top: 10px;
   } 
.schi{
  text-decoration: none;
  color: #9b9aa6;
}
#main  a{
  font-size: 12px;
  font-family: 'Times New Roman', Times, serif;
  text-decoration: none;
  color: #848480;
  }
#main a:hover{
color: #9f9f9a;
  }
  .sideright {  
   display: inline-flex;
   flex-direction: column;
    margin-top: 10px;
   } 
.sideright a{ 
    font-size: 12px;
    text-decoration: none;
    color: #848480
  }

.sideright a:hover{
color: #9f9f9a;
  }

footer {
  grid-column: 1/-1;
  height: 100px;
  margin: 0;
  bottom: 0;
  left: 0;
  background-color: #58370e;
  padding: 8px;
  text-align: center;
  border-color: #58370e;
  border-style: double;
}
/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 780px) {
  *body {
  box-sizing: border-box;
}
#containerB{
  width: 100%;
  max-width: 100%;
  background-color: #f7faec;
  font-size: small;
  color: #757485;
  line-height: 20px;
  padding: 2px;
}
.topnav a{ 
  max-width:100%;
}
section h1, p, pre {
  margin: 2px; 
  padding-left: 2px;
   } 
   .tehnica {
  margin: 0;
  padding: 0;
   } 
   #tabel {
  margin: 2px; 
  padding-left: 2px;
   } 
    #TABLE {
  margin: 2px; 
  padding-left: 2px;
   } 
      }