
/*HEADER*/
.navbar{
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;}
h1{
  margin: 5px 0% 0% 0%;
  font-size: 70px;
  font-family: "Passion One", serif;
  font-weight: 100;
  font-style: normal;
  color: #333;
  text-shadow: 2px 2px #fad882;}
.Skane{
  color:#D42700;
  text-shadow: 3px 5px #FFCD50;}  
.LatinAmerica{
  font-family: "Alatsi", serif;
  font-weight: 70;
  font-style: normal;
  text-shadow: 1px 1px #FFCD50;}
h2{
  margin: 0% 0% 20px;
  font-size: 40px;
  font-family: "Passion One", serif;
  font-weight: 70;
  font-style: normal;
  color: #333;
  text-shadow: 1px 1px #fad882;}
.header-links {
 font-style: normal;
 text-align: end;
 justify-items: flex-end;
 padding: 0 5px;
 background: #ffffff;
 margin-bottom: 5px;
 display: block;}
.header-links a{
 text-decoration: none;
 color: #333;
 font-family: "Alatsi", serif;
 font-weight: 70;
 margin-left: 10px;
 padding: 2px;
 border: 1px solid rgb(214, 214, 214);
 border-radius: 10px;}
.header-links a:hover {
 box-shadow: 0 5px 5px 0px rgba(0, 0, 0, .4);
 filter: none;}

  
/*BODY*/
.big-news {
  background-color: #FFCD50;
  display: grid;
  grid-template-columns: repeat(4, 1fr);}
.highlight-news-container{
  grid-column-start: span 0;
  grid-column-end: span 5;
  position: relative;
  overflow: hidden;
  margin: 0 5% 5% 5%;
  height: 400px;
  border: 3px solid rgb(255, 255, 255);
  padding: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);}
.highlight-news-container img{
  position: absolute;
  background-color: #fff;
  width: 99%;
  height: 95%;
  object-fit: contain;}
.text{
  grid-column-start: span 0;
  grid-column-end: span 5;
  margin-left: 5%;
  color: #252525;
  font-size: 25px;
  font-family: "Alatsi";
  animation-name: slide-in;
  animation-duration: 5s;}
@keyframes slide-in {
  from {
  translate: 150vw 0;
  scale: 200% 1;}
  to {
  translate: 0 0;
  scale: 100% 1;}}


/*OTHER NEWS*/
.other-news{
  display: flex;
  flex-direction: row;
  margin: 0 5%;
  margin-top: 10px;}
.event {
  width: 500px;
  height: 250px;
  margin: 0 1% 0 1%;
  background-color: #fff;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin-bottom: 25px;
  font-family: "Alatsi";}
.event a{
  text-decoration: none;
  color:#D42700;}
.event img{
  object-fit: cover;}
.bajada-event {
  text-align: center;
  padding: 10px 20px;
  color: #d4270059;}


/*FOOTER*/
.icons-foot{
  justify-self: center;}
:root{
  --facebook: #3b5999;
  --instagram: #e4405f;}
.icons-foot ul li{
  display: inline-block;
  margin: 0 5px 5px 0;
  width: 50px;
  height: 50px;
  text-align: center;}
.icons-foot li a{
  display: block;
  padding: 0 10px;
  background: #333;
  color: #fff;
  line-height: 50px;
  font-size: 18px;
  box-shadow: 0 3px 5px 0px rgba(0, 0, 0, .2);
  transition: .2s;}
.icons-foot ul:hover a{
  filter: blur (2px);}
.icons-foot ul li a:hover{
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 5px 0px rgba(0, 0, 0, .4);
  filter: none;}  
.icons-foot ul li .facebook:hover{
  background: var(--facebook);}
.icons-foot ul li .instagram:hover{
  background: var(--instagram);}

.footer-links{
  justify-self: center;}
.footer-links a{
  display: inline-block;
  text-align: center;
  margin-bottom: 5px;
  color: #333;
  line-height: 50px;
  font-size: 18px;
  justify-content: space-between;
  font-family: "Passion One", serif;
  font-weight: 400;
  margin-left: 10px;
  margin-right: 10px;
  text-decoration: none;}  

.container-footer{
  display: grid;
  grid-template-areas: "logoCasaSurfooter rights github";
  grid-template-columns: auto auto auto;}
.container-footer > div.rights {
  text-align: center;
  font-family: "Playpen Sans", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 10px;
  padding-top: 0%;
  padding-bottom: 0%;}
.container-footer > div.github {
  justify-self: end;}



/* RESPONSIVE */
/* SmartPhones */
@media (max-width: 500px) {
	.navbar h1 {
    font-size: 45px;}
  .navbar h2 {
    font-size: 30px;}
  .navbar img{
    width: 70px;}
  .header-links{
    justify-self: center;}
  .big-news text{
    justify-items: center;}  
  .other-news {
	  flex-direction: column;
    justify-self: center;}
  .other-news a{
    font-size: 12px;}
  .event{
    width: 175px;}}

 /* Tablet */
@media (min-width: 501px) and (max-width: 768px) {
	.navbar h1 {
    font-size: 50px;}
  .navbar h2 {
    font-size: 40px;}
  .navbar img{
    width: 110px;}
  .big-news text{
    justify-items: center;}  
  .other-news {
		flex-wrap: wrap;
    justify-content: space-evenly;}
  .other-news a{
    font-size: 13px;}
  .event{
    width: 175px;
    height: 175px;
    margin: 8%;}}
	
/* Normal */
@media (min-width: 769px) and (max-width: 1469px) {
  .big-news text{
    justify-items: center;}
  .other-news {
		flex-wrap: nowrap;
    justify-content: space-evenly;}}



/*FONTS-FORMATS
  .delius-unicase-regular {
  font-family: "Delius Unicase", serif;
  font-weight: 400;
  font-style: normal;}
.delius-unicase-bold {
  font-family: "Delius Unicase", serif;
  font-weight: 700;
  font-style: normal;}
.vina-sans-regular {
  font-family: "Vina Sans", serif;
  font-weight: 400;
  font-style: normal;}
  .passion-one-regular {
  font-family: "Passion One", serif;
  font-weight: 400;
  font-style: normal;}
.passion-one-bold {
  font-family: "Passion One", serif;
  font-weight: 700;
  font-style: normal;}
.passion-one-black {
  font-family: "Passion One", serif;
  font-weight: 900;
  font-style: normal;}
.playpen-sans-<uniquifier> {
  font-family: "Playpen Sans", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;}
  .alatsi-regular {
  font-family: "Alatsi", serif;
  font-weight: 400;
  font-style: normal;}

