* {
  box-sizing:border-box;
}

body {
  display: flex;
  flex-direction: column;
  max-width: 1600px;
  margin: 0 100px 0 100px;
  background: url('poze/stropbej.png') no-repeat center center;
  background-attachment: fixed;
  background-size: 100%;
 background-color: #58370e;
 position: absolute;
}
/* Style the header */
.header {
  background-color: #eeedea;
  padding: 20px;
  letter-spacing: 7px;
  text-align: center;
  color:  #5a513a;
   width: 100%;
  margin: auto;
}

.material-icons {
position: relative;
  margin: 10px;
  animation: mymove 160s infinite;
  animation-timing-function:linear;
}
@keyframes mymove {
  from {left: 0;}
  to {left: 500px;}
}
h2 {
  text-align: center;
  font-style: normal;
  color: #5d4228;
}
/* Style the top navigation bar */
.topnav {
  overflow: hidden;
  background-color: #c1c1bf;
   width: 100%;
  margin: auto;
}

/* 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 {
  display: flex;
   width: 100%;
  margin: auto;
  text-align: center;
  font-style: normal;
  color: #534f4f;
  padding: 0px;
}

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; 
}

 /* Style the top navigation bar */
img{
  border: 2px;
  border-style:solid; 
  border-color: #f1f1f1; 
  margin: auto;
  display: block;
}

a.A{
  color: #a8a8a6;
}
a.A:hover{
  color:#5a5a58;
}
a.E{
  color: #5d4228;
}
a.E:hover{
  color: #9e662e;
}
.pulsing {
  padding:1px;
}
.continut{
  background-color: #58370e;
  padding:0px;
  height: 300px;
   width: 100%;
  margin: auto;
} 
.sideleft {
display:inline-block;
margin: 50px;
} 
/* Change color on hover */
a.schi:hover {
color: wheat;
} 

#Face {
    display:inline-block;
  filter: grayscale(200%);
  border-style: none;
  padding: 0%;
  margin: 0;
}
#Face:hover {
  filter: none;
}
#What {
     display:inline-block;
  filter: grayscale(200%);
  border: none;
   padding: 0;
  margin: 0;
}
#What:hover {
    filter: none;
}
#Pint {
     display:inline-block;
  filter: grayscale(200%);
  border: none;
  padding: 0%;
  margin: 0%;
}
#Pint:hover {
  filter: none; 
}

#Mail{
     display:inline-block;
  filter: grayscale(200%); 
  border: none;
   padding: 0%;
  margin: 0%;
}
#Mail:hover{
  filter: none ;
}

.main {  
   display:inline-block;
    width:100px;
    text-align: center;
    margin: 10px 100px 50px 450px;
   } 
.schi{
  text-decoration: none;
  color: #9b9aa6;
}
.main a{
  font-size: 12px;
  font-family: 'Times New Roman', Times, serif;
  text-decoration: none;
  padding:2px;
  color: #848480;
  align-items: center;
  }
.main a:hover{
color: #9f9f9a;
  }
 .sideright { 
   display: inline-block;
   margin-left:300px;
   width:200px;
   margin-top:10px;
     }
 
.sideright a{
    display: block;
     width: 180px;
    font-size: 12px;
    text-decoration: none;
    color: #848480;
    margin: 0px 10px 0px 10px;
     align-items: center;
  }

.sideright a:hover{
color: #9f9f9a;
  }
 .drepturi {
display: block;
color: #848480;
font-size: 12px;
width: 30%;
height: 70px;
position:absolute;
margin-left: 500px;
text-align:center;
padding:0;
  }
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width:600px) {
    * {
  box-sizing:border-box;
  margin:0;
  padding:0;
}
  body {
      background: #58370e;
      max-width:100vw;
      max-height:100vh;
     position:relative;
     margin:0;
     padding:0;
  }
 .grid-container {
     max-width:100px;
      font-size:10px;
    text-align:left;
    padding:0;
    margin:0;
    }
     .grid-container div{
    padding:0;
    margin:0;
    width:128px;
    }
   .header {
     max-width:100%;
    }
    .pulsing{
    display: block;
  margin-left: auto;
  margin-right: auto;
  width:100px;
    }
     #puls {
    font-size: 10px;
    text-align:left;
    padding:1px;
    width:70px;
    margin-left:20px;
    margin-top:20px;
    }
    .pulsing img{
    display: block;
  margin-left: auto;
  margin-right: auto;
  width:30%;
    }
 
     .continut{
   display:block;
   max-width: 100vw;
   max-height:100vh;
    font-size:10px;
     margin:0;
     padding:0;
     overflow:scroll;
    }
    .sideleft{
         margin-top:0;
            margin-left:0;
    }
    .sideleft img{
          margin-top:0;
        width:10%;
       height:10px;
    } 
     .main {
         display:block;
         margin-top:0;
         position:relative;
         margin-left:0;
    }
    .main a {
        font-size:10px;
        padding:0px;
        text-align:center;
    }
     .sideright{
         margin-left:0;
         margin-top:0;
         position:relative;
         display:block;
         padding:0;
    }
    .sideright a{
         text-align:left;
    }
     .copy{
         display:block;
        margin-top:0;
        margin-left:7px;
        text-align:left;
        font-size:10px;
        width:300px;
        color:#848480;
        margin-bottom:0;
    } 
}



/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  body {background: blue;}
  * {
  box-sizing:border-box;
}

body {
  display: flex;
  flex-direction: column;
  max-width: 1600px;
  margin: 0 100px 0 100px;
  background: url('poze/stropbej.png') no-repeat center center;
  background-attachment: fixed;
  background-size: 100%;
 background-color: #58370e;
 position: absolute;
}
/* Style the header */
.header {
  background-color: #eeedea;
  padding: 20px;
  letter-spacing: 7px;
  text-align: center;
  color:  #5a513a;
   width: 100%;
  margin: auto;
}

.material-icons {
position: relative;
  margin: 10px;
  animation: mymove 160s infinite;
  animation-timing-function:linear;
}
@keyframes mymove {
  from {left: 0;}
  to {left: 500px;}
}
h2 {
  text-align: center;
  font-style: normal;
  color: #5d4228;
}
/* Style the top navigation bar */
.topnav {
  overflow: hidden;
  background-color: #c1c1bf;
   width: 100%;
  margin: auto;
}

/* 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 {
  display: flex;
   width: 100%;
  margin: auto;
  text-align: center;
  font-style: normal;
  color: #534f4f;
  padding: 0px;
}

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; 
}


img {
  margin: auto;
  display: block;
}



 /* Style the top navigation bar */
img{
  border: 2px;
  border-style:solid; 
  border-color: #f1f1f1; 
}

a.A{
  color: #a8a8a6;
}
a.A:hover{
  color:#5a5a58;
}
a.E{
  color: #5d4228;
}
a.E:hover{
  color: #9e662e;
}
.pulsing {
  padding:1px;
}
.continut{
  background-color: #58370e;
  padding:0px;
  height: 300px;
   width: 100%;
  margin: auto;
} 
.sideleft {
display:inline-block;
margin: 50px;
} 
/* Change color on hover */
a.schi:hover {
color: wheat;
} 

#Face {
    display:inline-block;
  filter: grayscale(200%);
  border-style: none;
  padding: 0%;
  margin: 0;
}
#Face:hover {
  filter: none;
}
#What {
     display:inline-block;
  filter: grayscale(200%);
  border: none;
   padding: 0;
  margin: 0;
}
#What:hover {
    filter: none;
}
#Pint {
     display:inline-block;
  filter: grayscale(200%);
  border: none;
  padding: 0%;
  margin: 0%;
}
#Pint:hover {
  filter: none; 
}

#Mail{
     display:inline-block;
  filter: grayscale(200%); 
  border: none;
   padding: 0%;
  margin: 0%;
}
#Mail:hover{
  filter: none ;
}

.main {  
   display:inline-block;
    width:100px;
    text-align: center;
    margin: 10px 100px 50px 450px;
   } 
.schi{
  text-decoration: none;
  color: #9b9aa6;
}
.main a{
  font-size: 12px;
  font-family: 'Times New Roman', Times, serif;
  text-decoration: none;
  padding:2px;
  color: #848480;
  align-items: center;
  }
.main a:hover{
color: #9f9f9a;
  }
 .sideright { 
   display: inline-block;
   margin-left:300px;
   width:200px;
   margin-top:10px;
     }
 
.sideright a{
    display: block;
     width: 180px;
    font-size: 12px;
    text-decoration: none;
    color: #848480;
    margin: 0px 10px 0px 10px;
     align-items: center;
  }

.sideright a:hover{
color: #9f9f9a;
  }
 .drepturi {
display: block;
color: #848480;
font-size: 12px;
width: 30%;
height: 70px;
position:absolute;
margin-left: 500px;
text-align:center;
padding:5px;
  }

} 

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  body {background: orange;}
} 

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  body {background: #996515;
      position: static;
  }
}
