* {
  margin: 0px;
  padding: 0px;
}

h1 {
  font-size: 3.5em;
  font-family: "Noto Sans", sans-serif;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0.2em;
  padding: 0.15em;
  color: #fff;
  text-align: center;
}

.title {
  background: rgba(0, 36, 160, 0.9);
  position: relative;
  top: 6em;
}

body {
  background: url(../imagenes/fondo1.jpg);
}

header,
main,
footer {
  width: 100%;
  max-width: 120%;
  margin: 1.25em auto;
}

header nav {
  background: rgba(82, 143, 213, 0.75);
  border: 0.2em solid rgb(82, 143, 213);
  height: 3.5em;
  position: relative;
  max-width: 100%;
}

header nav ul {
  list-style: none;
}

header nav ul li {
  float: left;
  font-size: 20px;
}

header nav ul li a {
  padding: 10px 30px;
  display: block;
  color: #fff;
  text-decoration: none;
}

header nav ul li a:hover {
  background: #75acec;
  border-radius: 60%;
}

main .articles {
  width: 68.5%;
  margin-right: 1.5%;
  float: left;
}

main .articles article {
  padding: 20px;
  background: #fff;
  margin-bottom: 20px;
  border-radius: 1em;
}

aside {
  width: 30%;
  background: #0b0b3b;
  float: left;
  padding: 20px;
  box-sizing: border-box;
  max-height: 20%;
  border-radius: 1em;
  margin-bottom: 1em;
}

aside h3,
label {
  color: #fff;
}

aside a {
  font-size: 23px;
  text-decoration: none;
  margin: 0px 20px;
  background: #3ba7e1;
  color: #fff;
  padding: 10px 20px;
  box-shadow: 0px 5px 0px #1d64a6;
  margin-right: auto;
  margin-left: auto;
  display: block;
  text-align: center;
}

aside a:hover {
  box-shadow: 0px 2px 0px #1d64a6;
  position: relative;
  top: 3px;
}

aside a:active {
  box-shadow: none;
  position: relative;
  top: 5px;
}

form {
  width: 75%;
  border: 1px solid #ccc;
  margin: 10px;
  padding: 20px;
}

label {
  font-size: 0.75em;
  display: block;
  width: 100%;
}

select {
  margin-bottom: 20px;
  width: 100%;
  padding: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #ccc;
}

input {
  margin-bottom: 20px;
  width: 100%;
  padding: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #ccc;
}

input:focus {
  border: 1px solid #1668c4;
}

input[type="submit"] {
  margin-bottom: 0px;
  background: #1668c4;
  color: #fff;
  border: none;
}
input[type="submit"]:hover {
  background: #4a88f4;
  cursor: pointer;
}

footer {
  background: #000;
  color: #fff;
  clear: both;
  padding: 10px 0px;
  text-align: center;
}

main {
  clear: both;
}

.logotipo img {
  border: 10px solid rgba(0, 36, 160, 0.9);
  border-radius: 5%;
  position: relative;
  bottom: 0.5em;
  display: inline-block;
  background: #fff;
}

h2,
h3,
h4 {
  font-family: "Rubik", sans-serif;
  font-weight: normal;
}
body p {
  font-family: "Lato", sans-serif;
}

.u,
.dos,
.tres,
.quatre,
.cinc,
.sis,
.set {
  background: rgba(169, 188, 245, 0.5);
  color: #000000;
  border-radius: 5px;
  margin: 20px;
  padding: 15px;
}

table {
  border-collapse: collapse;
  background: radial-gradient(rgb(113, 122, 122));
  box-sizing: border-box;
}

table td {
  border: 1px solid #000;
  padding: 2.5%;
  width: 2.5%;
  text-align: center;
}

table tr:hover {
  background: #ccc;
}

table td:hover {
  background: #000;
  color: #fff;
  cursor: pointer;
}

.tabacalera {
  width: 25em;
  float: right;
}

.foto {
  margin-right: 1em;
}

footer p {
  font-family: "Cabin", sans-serif;
  font-size: 16px;
}

.subrrallada {
  text-decoration: underline;
  padding: 5px;
}

.espai {
  margin-bottom: 5px;
}

.navegacion {
  margin: 20px auto;
}

.navegacion ul {
  list-style: none;
}

.menu > li {
  position: relative;
  display: inline-block;
}

.menu > li > a {
  display: block;
  padding: 15px 30px;
  color: #353535;
  font-family: "Open sans";
  text-decoration: none;
}

.menu li a:hover {
  color: #ce7d35;
  transition: all 0.3s;
}

/* Submenu*/

.submenu {
  position: absolute;
  background: #333333;
  width: 120%;
  visibility: hidden;
  opacity: 0;
  transition: opacity 1.5s;
}

.submenu li a {
  display: block;
  padding: 15px;
  color: #fff;
  font-family: "Open sans";
  text-decoration: none;
  width: 130%;
  text-align: center;
}

.menu li:hover .submenu {
  visibility: visible;
  opacity: 1;
}

.idioma {
  float: right;
  position: relative;
  right: 8em;
}
.none:hover {
  background: none;
}

aside h2 {
  color: #fff;
  padding: 5px;
}

.color {
  background: #4a88f4;
}
aside {
  height: max-content;
  overflow: hidden;
}

.auto {
  width: auto;
}

.fm-video {
  width: 100%;
  box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.5);
}

.fm-video .vjs-control-bar {
  background: #f4f4f4;
  color: #2d5f85;
}

.fm-video .vjs-play-progress,
.fm-video .vjs-volume-level {
  background: #1d87d8;
}

.fm-video .vjs-slider {
  background: #2d5f85;
}

.video-js:hover .vjs-big-play-button {
  background: rgba(0, 0, 0, 0.2);
}

.fm-video .vjs-big-play-button {
  background: rgba(0, 0, 0, 0.2);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 100%;
  border: none;
}

.fm-video .vjs-big-play-button:hover {
  background: rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 600px) {
  header {
    position: relative;
    height: auto;
  }

  main {
    margin-top: 50px;
  }

  aside {
    clear: both;
    width: auto;
  }

  main .articles {
    width: 100%;
    box-sizing: border-box;
  }

  .cent {
    width: 100%;
    box-sizing: border-box;
  }  
}

@media screen and (max-width: 334px) {
  h1 {
    font-size: 3em;
  }
}

@media screen and (max-width: 286px) {
  h1 {
    font-size: 2.5em;
  }
}
@media screen and (max-width: 884px) {
  .title {
    position: relative;
    top: -1em;
  }
  table td {
    font-size: 13px;
    padding: 2%;
  }
}
@media screen and (max-width: 1100px) {
  header > nav > ul.menu > li {
    background: rgba(82, 143, 213, 0.75);
  }  
  ul.submenu {
    background: #333333;
  }
  header nav {
    background: none;
    border: none;
  }
}

@media screen and (min-width:832px) and (max-width:1100px){
  .idioma {
    clear:both;
    margin-bottom: 30px;
    position: relative;
    right: 87%;
    display: inline-block;
    padding-left: 3em;
  }
}

@media screen and (max-width:637px) {
  .idioma{
    clear:both;
    margin-bottom: 30px;
    position: relative;
    right: 77.5%;
    padding-left: 3em;
  }
}
@media screen and (max-width:543px) {
  .idioma{
    right: 75%;
  }
}

@media screen and (max-width:514px) {
  .idioma{
    right: 70%;
  }
}

@media screen and (max-width:434px) {
  .idioma{
    right: 65%;
  }
}

@media screen and (max-width:360px) {
  .idioma{
    right: 60%;
  }
}

@media screen and (max-width:585px) {
  .tabacalera {
    width: 15em;
    height: auto;
  }
}

@media screen and (max-width:414px) {
  .tabacalera{
    width:11.5em;
    height: auto;
  }
}

@media screen and (max-width:326px) {
  .tabacalera{
    width:100%;
    height: auto;
  }
  nav ul li a {
    font-size: 15px;
  }
  table tr td {
    font-size: 10px;
  }
}
@media screen and (min-width:725px) and (max-width:820px) {
  .tabacalera {
    width:21.5em;
    height: auto;
  }
}

@media screen and (min-width:601px){
  .cent {
    width:146%;
    box-sizing: border-box;
  }
}

@media screen and (min-width:601px) and (max-width:1032px) {
  .cent1 {
    width:146%;
    box-sizing: border-box;
  }
}