html, body{
    height: 100%;
}
body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    height: 100%;
    /* background-color: rgba(0, 255, 143, 0.07); */
}
div {
    display: block;
}

h1, h2 {
    font-weight: bold;
    font-size: 72px;
    background: -webkit-linear-gradient(-45deg, rgb(145,96,41), rgb(237,226,146), rgb(145,96,41));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
    text-shadow: -3px -2px 1px #1c1c1c;
}

/* HEADER */
.flex-col{
    display: flex;
    justify-content: space-between;
    background: #1c1c1c;
}
.flex-col > .center {
    min-width: 50%;
}
/* .navigate.center {
    max-height: 80px;
} */
.left img {
    max-height: 116px;
    margin: 8px;
}
.navigate #screen{
    width: 100%;
    margin: auto;
}

.navigate #screen ul li {
    display: inline;
    margin-right: 1em;
}
.navigate #screen ul li a {
    color:rgb(145,96,41);
    font-size: 1.5em;
    padding: 1em;
    text-decoration: none;
}
.navigate #screen ul li.selected a {
    color:rgb(237,226,146);
}
.navigate #phone #close {
    display: none;
}
.navigate #phone #open ul li {
    display: none;
    list-style: none;
}

/* BODY */
.content.first-page,
.contact.content{
    height: calc(100% - 80px);
}

.content .full-page {
    background-image: url(./img/emily+snow+fun-l.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
    overflow: hidden;
}
.content.svg-bg {
    background-image: url(./icon/logo_rmh_nz_gold_pale.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: center;
    width: 100%;
}

.contact.content .full-page {
    background-image: url(./img/sleep.jpg);
}

/* .rmh-nz {
    position: relative;
    top: 3%;
    left: 3%;
    width: 200px;
} */
.content .text-uper{
    text-transform: uppercase;
    margin: 4vh;
}
.content .text-bold{
    letter-spacing: 3px;
   /*  font-size: xx-large;
    color: rgb(0 161 228);
    text-shadow: 5px 3px 4px #074567, 1px 1px 2px #2d55d0, 2px -1px 2px #00fe90, -1px -1px 2px #01e0b4; */
}

.content.first-page .contex {
    position: relative;
    top:5%;
    background: #00000050;
    color: #fff;
    width: 500px;
    border-radius: 50px;
    padding: 20px;
}
.content .contex {
    max-width: 80%;
    width: 800px;
    padding: 4em 0 4em 0;
    margin: auto;
    line-height: 1.5em;
}
.content .contex a {
    color: rgb(237,226,146);
}
.context .text-block{
    display: inline-block;
}
h1.text-block {
    margin: 16px 0;
}
.content .flex{
    display: flex;
    justify-content: space-between;
    max-width: 760px;
    min-width: 80%;
    margin: auto;
    padding: 2em 0 0 0;
}

.content h1.flex {
    padding: 16px 0 0 0;
    width: fit-content;
}

.content.screen h3  {
    max-width: 760px;
    min-width: 80%;
    margin: auto;
    padding-top: 1em;
}

.content .flex .img{
    max-width: 30%;
}
.content .flex .img img {
    width: -webkit-fill-available;
}
.content .flex .text-block{
    max-width: 60%;
    font-size: 1.2em;
    padding: 1em 0;
    line-height: 1.5em;
}

.content.padding {
    margin:1em;
}
.content .breed {
    max-width: 1200px;
    margin: auto;
}
.content .breed h3 {
    font-size: 24px;
}
.breed .parent {    
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
}
.breed .card {
    max-width: 580px;
    height: 415px;
}
.breed .card.sire {
    border: 6px solid #5776e1;
    border-top-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.breed .card.dame {
    border: 6px solid #c54d4d;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
}
.breed .card img {
    object-fit: cover;
    width: 580px;
    height: 415px;
}
.breed .card .name {
    position: relative;
    bottom: 3em;
    left: 1em;
    font-weight: 600;
    color: #fff;
    color:rgb(237,226,146);
    text-shadow: 3px 3px black;
}
.breed .card .name .big {
    font-size: 2em;
}
.breed a {    
  text-decoration: none;
  margin: 2em 0;
  color: #414e79;
  font-weight: bold;
}
.breed .dame a {    
  color: #6b2a2a;
} 
.breed .button {
    max-width: fit-content;
    align-self: center;
    padding: 10px 20px;
    font-size: 20px;
    background-color: #fff;
    color: #5776e1;
    box-shadow: 2px 2px 6px 2px #333333;
}
.breed .dame .button {
    color: #c54d4d
}

/* The flip card */
.flip-card {
    background-color: transparent;
    width: 580px;
    perspective: 1000px; 
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
 }
 .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    min-width: 580px;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}
.flip-card-front {
    background-color: #bbb;
    color: black;
}
.flip-card-back {
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
} 
.sire .flip-card-back {
    background-color: #5776e1;
}
.dame .flip-card-back {
    background-color: #c54d4d;
}

.center {
    margin: auto;
    width: fit-content;
}
.center img {
    width: 300px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}
/* Create four equal columns that sits next to each other */
.column {
    flex: 33%;
    max-width: 33%;
    margin: 2px;
}
.column img {
    max-width: 100%;
}
.flex .img {
    padding: 0;
    overflow: hidden;
}
.flex .img  > img {
    display: block;
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
    transition: 500ms transform ease-in-out;
    cursor: pointer;
}

.flex .img:hover img{    
  transform: scale(1.2);
}

.centered {
    font-size: large;
    position: fixed;
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
    border-radius: 50px;
    padding: 2em;
    /* background-color: rgba(0, 255, 143, 0.25); */
    background-color: #00000050;
    color: #fff;
}
.contact .social {
    display: flex;
    justify-content: space-around;
}

.screen {
    display: block;
}
.mobile,
.mobile-content {
    display: none;
}

.mobile-content {
    padding: 1em;
}
.mobile-content img { 
    width: 100%;
    width: -webkit-fill-available;
    margin: 10px 0;
}
@media screen and (width <= 1270px) {
    h1, h2 {
        font-size: 56px;
    }
    .breed .text-block,
    .breed h3 {
        max-width: 600px;
        margin: auto;
    }
    .breed h3 {
        margin-top: 10px;        
    }
    .breed .parent {
        flex-direction: column;
    }    
    .breed .parent .card {
        margin: auto;
    }
}

@media screen and (width <= 680px) {
    h1, h2 {
        font-size: 40px;
    }
    .breed h1.text-block {
        padding: 16px 0;
    }
    .breed .text-block, .breed h3 {
        width: 85vw;
    }
    .breed .parent {
        flex-direction: column;
    }
    .breed .flip-card{
        width: 85vw;
    }
    .breed .flip-card-front, .flip-card-back {
        min-width: 85vw;
    }
    .breed .card img {
        object-fit: cover;
        width: 85vw;
    }

}

/* Responsive layout - makes a two column-layout instead of three columns */
@media screen and (width <= 1200px) {
    .column {
        flex: 50%;
        max-width: 49%;
    }
    .navigate #screen ul li a {
        padding: 0.8em 0.3em;
        /* font-size: 1.2em; */
    }
}  
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (width <= 800px) {
    .content .full-page {
        background-image: url(./img/emily+snow+fun-small.jpg);
        min-height: 700px;
    }
    .content.first-page{
        height: 700px;
    }
    .breed .card .name {
        left: 0;
    }
    .breed .dame .flip-card-front {
        background-color: #c54d4d;
    }
    .breed .sire .flip-card-front {
        background-color: #5776e1;
    }
    .breed .dame a {
        margin: 0 0 1em 0;
    }
    .breed .card .name {
        bottom: 4em;
    }
    .breed .card img {
        object-fit: contain;
    }
    .breed h3 {
        margin: 12px 0;
    }
    .column {
        flex: 100%;
        max-width: 100%;
    }
    .navigate #screen ul li a {
        padding: 1em;
    }
    .navigate.center {
        width: 70vw;
        margin: auto;
        height: 60px;
    }
    .mobile {
        margin-top: 10px;
        display: flex;
        justify-content: space-around;
    }
    h3 {
        margin-top: 10px;
    }
    .mobile-content {
        display: block;
    }
    .screen {
        display: none;
    }
    .mobile img {
        width: 40px;
    }
    .centered { 
        min-width: 300px;
    }
    .content .contex {
        padding: 0;
    }
    .contact.content {
        height: calc(100% - 60px);;
    }
    .content.first-page .contex {
        width: 90vw;
        top: 0;
    }
}

/* FOOTER */
.footer{
    position: absolute;
    width:100%;
    bottom: 0;
    padding-top: 0.2em;
}