* {
 padding: 0;
 margin: 0;
 -webkit-box-sizing: border-box;
         box-sizing: border-box;
}

:root {
 font-family: 'Montserrat', Arial, Helvetica, sans-serif;
 font-size: 16px;
 --picColor: #DE5D3E;
 --titleColor: #5E4E4A;
 --pageColor: #738954;
 --tileShadow: #000;
 --borderBelt: #ffd700;
}

.clearfix::after {
 content: '';
 display: block;
 clear: both;
}

body {
 background-color: var(--pageColor);
}

@-webkit-keyframes spinner {
 100% {
  -webkit-transform: rotate(360deg);
          transform: rotate(360deg);
 }
}

@keyframes spinner {
 100% {
  -webkit-transform: rotate(360deg);
          transform: rotate(360deg);
 }
}

/* Page info */

/* Page Dog */
/* -------------------------------------- */
.pageContainer {
 max-width: 1680px;
}

/* header */
.container h1 {
 margin: 20px;
 padding: 5px;
 border-radius: 5px;
 background-color: var(--titleColor);
 font-size: 1.5rem;
 text-align: center;
}

/*0 section picture */
.container h2 {
 margin: 10px;
 padding: 10px;
 text-align: center;
}

.featured-dog {
 padding: 20px;
 background-color: var(--picColor);
 border: 2px solid var(--borderBelt);
}

.featured-dog__wrapper {
 position: relative;
 width: 100%;
 height: 500px;
}

.spinner {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 display: none;
 -webkit-box-align: center;
     -ms-flex-align: center;
         align-items: center;
 -webkit-box-pack: center;
     -ms-flex-pack: center;
         justify-content: center;
 z-index: 3;
}

.spinner__content {
 width: 70px;
 height: 70px;
 border-left: 10px solid var(--titleColor);
 border-top: 10px solid var(--pageColor);
 border-right: 10px solid var(--pageColor);
 border-bottom: 10px solid var(--pageColor);
 border-radius: 50%;
 -webkit-animation: spinner 2s infinite linear both;
         animation: spinner 2s infinite linear both;
}

.spinner--visible {
 display: -webkit-box;
 display: -ms-flexbox;
 display: flex;
}

.featured-dog__background {
 position: absolute;
 left: 0;
 top: 0;
 width: 100%;
 height: 100%;
 background-image: url("");
 z-index: 0;
 -webkit-filter: blur(10px);
         filter: blur(10px);
}


.featured-dog__image {
 display: -webkit-box;
 display: -ms-flexbox;
 display: flex;
 position: absolute;
 left: 0;
 top: -10px;
 -webkit-box-pack: center;
     -ms-flex-pack: center;
         justify-content: center;
 -webkit-box-align: center;
     -ms-flex-align: center;
         align-items: center;
 width: 100%;
 height: 100%;
 margin: 10px auto;
 z-index: 1;
 overflow: hidden;
}

.featured-dog__image img {
 height: 100%;

}

.featured-dog__description {
 text-align: center;
 font-size: 1.1rem;
}

/*0 end of picture */
/* 4  breeds article */
.container p {
 margin: 10px;
 padding: 20px;
 text-align: justify;
}

.tiles {
 display: grid;
 grid-template-columns: 1fr 1fr;
 -webkit-column-gap: 15px;
    -moz-column-gap: 15px;
         column-gap: 15px;
 row-gap: 15px;
 padding: 15px;
 background-color: var(--titleColor);
 cursor: pointer;

}

.tiles__tile {
 display: -webkit-box;
 display: -ms-flexbox;
 display: flex;
 -webkit-box-align: center;
     -ms-flex-align: center;
         align-items: center;
 -webkit-box-pack: center;
     -ms-flex-pack: center;
         justify-content: center;
 width: 100%;
 height: 70px;
 border-radius: 5px;
 background-color: white;
 -webkit-box-shadow: 0 0 2px 4px var(--tileShadow);
         box-shadow: 0 0 2px 4px var(--tileShadow);
}

@media(min-width:768px) {
 .container h1 {
  width: 60%;
  margin-left: auto;
  margin-right: auto;
 }

 .featured-dog {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
 }

 .tiles {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px;
  grid-template-columns: 1fr 1fr 1fr;
  font-weight: 600;
  font-size: 1.5rem;
 }
}

@media(min-width:1200px) {
 .featured-dog__wrapper {
  float: left;
  width: 50%;
  margin-left: 20px;
  margin-right: 20px;
 }

 .tiles {
  grid-template-columns: repeat(4, 1fr);
 }

}