/*#region Fonts*/
/* amatic-sc-regular - latin */
@font-face {
    font-family: 'Amatic SC';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/amatic-sc-v24-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('fonts/amatic-sc-v24-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/amatic-sc-v24-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/amatic-sc-v24-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('fonts/amatic-sc-v24-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/amatic-sc-v24-latin-regular.svg#AmaticSC') format('svg'); /* Legacy iOS */
  }
  
  /* amatic-sc-700 - latin */
  @font-face {
    font-family: 'Amatic SC';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/amatic-sc-v24-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('fonts/amatic-sc-v24-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/amatic-sc-v24-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/amatic-sc-v24-latin-700.woff') format('woff'), /* Modern Browsers */
         url('fonts/amatic-sc-v24-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/amatic-sc-v24-latin-700.svg#AmaticSC') format('svg'); /* Legacy iOS */
  }
  

/* zilla-slab-300 - latin */
@font-face {
    font-family: 'Zilla Slab';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/zilla-slab-v11-latin-300.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('fonts/zilla-slab-v11-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/zilla-slab-v11-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/zilla-slab-v11-latin-300.woff') format('woff'), /* Modern Browsers */
         url('fonts/zilla-slab-v11-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/zilla-slab-v11-latin-300.svg#ZillaSlab') format('svg'); /* Legacy iOS */
  }
  
  /* zilla-slab-300italic - latin */
  @font-face {
    font-family: 'Zilla Slab';
    font-style: italic;
    font-weight: 300;
    src: url('fonts/zilla-slab-v11-latin-300italic.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('fonts/zilla-slab-v11-latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/zilla-slab-v11-latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/zilla-slab-v11-latin-300italic.woff') format('woff'), /* Modern Browsers */
         url('fonts/zilla-slab-v11-latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/zilla-slab-v11-latin-300italic.svg#ZillaSlab') format('svg'); /* Legacy iOS */
  }
  
  /* zilla-slab-regular - latin */
  @font-face {
    font-family: 'Zilla Slab';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/zilla-slab-v11-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('fonts/zilla-slab-v11-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/zilla-slab-v11-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/zilla-slab-v11-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('fonts/zilla-slab-v11-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/zilla-slab-v11-latin-regular.svg#ZillaSlab') format('svg'); /* Legacy iOS */
  }
  
  /* zilla-slab-italic - latin */
  @font-face {
    font-family: 'Zilla Slab';
    font-style: italic;
    font-weight: 400;
    src: url('fonts/zilla-slab-v11-latin-italic.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('fonts/zilla-slab-v11-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/zilla-slab-v11-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/zilla-slab-v11-latin-italic.woff') format('woff'), /* Modern Browsers */
         url('fonts/zilla-slab-v11-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/zilla-slab-v11-latin-italic.svg#ZillaSlab') format('svg'); /* Legacy iOS */
  }
  
  /* zilla-slab-600 - latin */
  @font-face {
    font-family: 'Zilla Slab';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/zilla-slab-v11-latin-600.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('fonts/zilla-slab-v11-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/zilla-slab-v11-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/zilla-slab-v11-latin-600.woff') format('woff'), /* Modern Browsers */
         url('fonts/zilla-slab-v11-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/zilla-slab-v11-latin-600.svg#ZillaSlab') format('svg'); /* Legacy iOS */
  }
  
  /* zilla-slab-600italic - latin */
  @font-face {
    font-family: 'Zilla Slab';
    font-style: italic;
    font-weight: 600;
    src: url('fonts/zilla-slab-v11-latin-600italic.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('fonts/zilla-slab-v11-latin-600italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/zilla-slab-v11-latin-600italic.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/zilla-slab-v11-latin-600italic.woff') format('woff'), /* Modern Browsers */
         url('fonts/zilla-slab-v11-latin-600italic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/zilla-slab-v11-latin-600italic.svg#ZillaSlab') format('svg'); /* Legacy iOS */
  }
/*#endregion*/

/*#region Variables*/
:root {
    --background: #fdf8f2;
    --background_semitransparent: #fdf8f2d8;
    --primary: #79ad45;
    --primary_lightest: #deeccf;
    --primary_light: #abcf87;
    --primary_dark: #4c6c2b;
    --primary_darkest: #1e2b11;
    --accent: #f96936;
    --transparent: rgba(0,0,0,0);
    --app-height: 100%;
}
/*#endregion*/

/*#region Types*/
html {
    scroll-behavior: smooth;
  }

body{
    min-height: 100vh;
    min-height: -webkit-fill-available;
    width: 100%;
    margin: 0px;
    color: var(--primary_darkest);
    font-family: 'Zilla Slab';
    height: var(--app-height);
}

h1{
    text-align: center;
    font-family: 'Amatic SC';
    font-weight: 700;
    font-size: 64px;
    color: var(--primary);
}

h2{
    font-family: 'Amatic SC';
    font-weight: 700;
    font-size: 48px;
    color: var(--primary_dark);
}

h3{
    font-family: 'Amatic SC';
    font-weight: 700;
    font-size: 40px;
    color: var(--primary_dark);
    text-align: center;
}

h4{
    font-family: 'Amatic SC';
    font-weight: bold;
    font-size: 32px;
    color: var(--primary_dark);
    text-align: center;
}

p{
    margin: 10px auto;
    text-align: center;
    max-width: 600px;
    font-size: 20px;
    font-variant-numeric: lining-nums;
}

ul{
    margin: 10px auto;
    text-align: center;
    max-width: 600px;
    font-size: 20px;
    font-variant-numeric: lining-nums;
    text-align: left;
}

p.textCard{
    min-width: 60vw;
}

.textCard#animalProfile > p{
    text-align: left;
}

p.subheader{
    font-weight: 400;
    font-size: 28px;
}

a{
    -webkit-user-select: none;  /* Chrome all / Safari all */
    -moz-user-select: none;     /* Firefox all */
    -ms-user-select: none;      /* IE 10+ */
    user-select: none;
    text-decoration: none;
    text-align: center;
    color: var(--primary_darkest);
    font-size: 20px;
}

form{
    min-width: 60vw;
    max-width: 800px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

form > input{
    margin-bottom: 6px;
    font-size: 18px;
    font-family: 'Zilla Slab';
    border-radius: 4px;
    border: 1px solid #bbb;
    margin-bottom: 24px;
}

form > textarea{
    margin-bottom: 6px;
    font-size: 18px;
    font-family: 'Zilla Slab';
    border-radius: 4px;
    border: 1px solid #bbb;
    resize: vertical;
}

select{
    margin-bottom: 24px;
}

option{
    margin-bottom: 6px;
    font-size: 16px;
    font-family: 'Zilla Slab';
    border-radius: 4px;
    border: 1px solid #bbb;
}

.radioContainer{
    margin: 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 24px;
}
.radioContainer > div > label{
    font-weight: 400;
}

.giftedPersonData{
    display: none;
}

.priceInput{
    display: none;
}

.deviatingAddress{
    display: none;
}

.phoneNumberField{
    display: block;
}

label{
    font-weight: 600;
    font-size: 20px;
}
/*#endregion*/

/*#region Topic*/
.topic{
    color: var(--primary_darkest);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    height: 16px;
    padding: 8px 12px;
    margin: 8px;
    display: flex;
    align-items: center;
}

#headline{
    display: none !important;
}

.topic:hover{
    cursor: pointer;
}

.topic a{
    text-decoration: none;
}

.topic:hover{
    color: var(--primary_dark);
}

.topic#unterstuetzen{
    border-radius: 20px;
    background-color: var(--primary_light);
}

div#unterstuetzen.textCard > h1{
    margin: 0;
}

div#unterstuetzen.textCard > h3{
    margin: 0;
}

div#unterstuetzen.textCard > p{
    text-align: left !important;
}

/*CHANGE LATER!*/
.topic a:visited {
    color: inherit;
}
/*#endregion*/

/*#region Header*/
#header{
    justify-content: center;
    display: flex;
    flex-direction: column;
    z-index: 1;
    position: fixed;
    width: 100%;
    top:0;
    padding-bottom: 0px;
    padding-top: 8px;
    transition: 0.7s;
    background: linear-gradient(to bottom, rgba(253,248,242, 255), rgba(253,248,242, 0));
    height: fit-content;
    -webkit-user-select: none;  /* Chrome all / Safari all */
    -moz-user-select: none;     /* Firefox all */
    -ms-user-select: none;      /* IE 10+ */
    user-select: none;   
}

#header.afterscroll{
    background: var(--background_semitransparent);
    padding-top: 0px;
    padding-bottom: 0px !important;
}

#topHeader{
    display: flex;
    justify-content: space-between;
    height: 120px;
    transition: 0.7s;
}

#topHeader.afterscroll{
    height: 56px;
}

#titleBox{
    display: flex;
    flex-direction: row;
    height: 100%;
}
/*#endregion */

/*#region Hero*/
.hero{
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.banner{
    height: 70vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero#home{
    background-image: url("images/silvester.jpg");
    /* background-image: image-set(
        url("images/silvester_640w.jpg") 1x,
        url("images/silvester_972w.jpg") 2x,
        url("images/silvester_1400w.jpg") 3x,
        url("images/silvester.jpg") 8x);
    background-image: -webkit-image-set(
        url("images/silvester_640w.jpg") 1x,
        url("images/silvester_972w.jpg") 2x,
        url("images/silvester_1400w.jpg") 3x,
        url("images/silvester.jpg") 8x); */
    background-image: image-set(
        url("images/silvester_640w.jpg") 600w,
        url("images/silvester_972w.jpg") 800w,
        url("images/silvester_1400w.jpg") 1400w,
        url("images/silvester.jpg") 1920w);
}
.hero#besuchen{
    background-image: url("images/Luise.JPG");
}
.hero#kontakt{
    background-image: url("images/Zaenglein.JPG");
}
.hero#unterstuetzen{
    background-position: top;
    background-image: image-set(
        url("images/Besuchen/Besuchen_648x432.JPG") 1x,
        url("images/Besuchen/Besuchen_1944x1296.JPG") 3x,
        url("images/Besuchen/Besuchen_2592x1728.JPG") 4x,
        url("images/Besuchen/Besuchen.JPG") 8x);
    background-image: -webkit-image-set(
        url("images/Besuchen/Besuchen_648x432.JPG") 1x,
        url("images/Besuchen/Besuchen_1944x1296.JPG") 3x,
        url("images/Besuchen/Besuchen_2592x1728.JPG") 4x,
        url("images/Besuchen/Besuchen.JPG") 8x);
}
.hero#tiere{
    background-image: image-set(
        url("images/Titelbild_Tiere/Titelbild_Tiere10.jpg") 1x,
        url("images/Titelbild_Tiere/Titelbild_Tiere25.jpg") 3x,
        url("images/Titelbild_Tiere/Titelbild_Tiere50.jpg") 4x,
        url("images/Titelbild_Tiere/Titelbild_Tiere.jpg") 8x);
    background-image: -webkit-image-set(
        url("images/Titelbild_Tiere/Titelbild_Tiere10.jpg") 1x,
        url("images/Titelbild_Tiere/Titelbild_Tiere25.jpg") 3x,
        url("images/Titelbild_Tiere/Titelbild_Tiere50.jpg") 4x,
        url("images/Titelbild_Tiere/Titelbild_Tiere.jpg") 8x);
}
/*#endregion */

/*#region Logo*/
#logo{
    margin: 4px;
    transition: 0.6s;
    height: 100%;
}

#logo:hover{
    cursor: pointer;
}

#logo.afterscroll{
    height: 90%;
}

#logoLink{
    height: 100%;
}
/*#endregion*/

.textCard{
    background-color: var(--background);
    padding: 64px 80px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 32px;
}

#impressum{
    justify-content: start;
    display: block;
}

#impressum>p{
    text-align: start;
    margin: 24px 10vw;
    max-width: 800px;
}

#impressum> :is(h1, h2,h3, h4){
    text-align: start;
    max-width: 800px;
    margin: 32px 10vw
}

#impressum>p>a{
    color: var(--primary_dark);
    text-decoration: underline;
}

.question{
    font-weight: bold;
    letter-spacing: .1rem;
    margin-bottom: 0px !important;
    text-transform: uppercase;
}

.lawtext{
    font-weight: 300;
    font-size: 18px;
    letter-spacing: .03rem;
}

.textAndImage{
    display: flex;
}

.textImage{
    max-width: 40vw;
    display: flex;
}

.profileImage{
    max-height: 80vh;
    max-width: 80vw;
    margin: auto;
}

.galeryImage{
    max-width: 40vw;
    margin: 0;
    min-width: 400px;
    max-height: 80vh;
    object-fit: cover;
}

.flexGalery{
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.animalData{
    text-align: center;
}

.animalData > h1{
    margin: 0;
}

.animalData > h3{
    margin: 0;
    font-size: 32px;
}

.formfield{
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

.submit{
    width: 100px;
    background-color: var(--primary_dark);
    color: var(--background);
    border-color: var(--primary_darkest);
}

.animalProfilesContainer{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    row-gap: 24px;
    column-gap: 24px;
    margin: 32px;
}

.animalProfile{
    background-color: var(--background);
    width: max-content;
    display: grid;
    box-shadow: 2px 2px 5px;
    padding: 16px;
}

.animalProfile:hover{
    transform: rotate(4deg);
}

.animalProfile > img{
    width:200px;
    height: 200px;
    margin: auto;
    object-fit: cover;
}

/* .animalProfile > img:hover{
    width:220px;
    height: 220px;
} */

.animalName{
    text-align: center;

    font-family: 'Amatic SC';
    color: var(--primary_dark);
    font-size: 28px;
    font-weight: bold;
}

.animalSubtitle{
    text-align: center;
    color: var(--primary_darkest);
    font-size: 18px;
}

.textAndImage > div > p{
    text-align: start;
    font-weight: 400;
    font-size: 20px;
}

.blogGrid > img{
    object-fit: cover;
    width: 100%;
    object-position: top;
    align-self: end;
}

.gridItem:nth-child(4n + 3){ 
    grid-column: 2;
}
.gridItem:nth-child(4n + 4){ 
    grid-column: 1;
    grid-row: aut;
}


.callToAction{
    background-image: url("images/graphics/Box_Hintergrund2.png");
    background-size: cover;
    padding: 48px 108px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-self: center;
    gap: 32px;
}

.callToAction > *{
    margin: 0px auto;
}

.callToAction > * > *{
    margin: 0px auto;
}

.priceTable{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

footer{
    background-color: var(--primary_darkest);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 64px 80px 32px;
    gap: 64px;
}

footer > div > p{
    color: var(--primary_lightest);
    margin: 0px;
}

.address{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 16px;
}

.address > p{
    color: var(--primary_lightest);
    margin: 0px;
    text-align: left;
}

.mapouter{
    margin: auto;
    position:relative;
    text-align:right;
    height:400px;
    width:600px;
}

.gmap_canvas {
    overflow:hidden;
    background:none!important;
    height:400px;
    max-width:600px;
}

.socialMediaLinks{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0px;
    gap: 16px;
}

.socialMediaLinks > p{
    color: var(--primary_lightest);
    margin: 0px;
    text-align: left;
}

.socialMediaIconContainer{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    padding: 0px;
    gap: 16px;
}

.socialMediaIconContainer > a > img{
    width: 48px;
    height: 48px;
}

.legalInfo{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 24px;
}

.legalInfo > a{
    color: var(--primary_lightest);
    text-decoration: underline;
}

footer > div{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0px;
    gap: 24px;
    width: 100%;
}

.blogGrid{
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
    row-gap: 48px;
}

.button{
    border-radius: 30px;
    background: #EF9778;
    margin: auto;
    text-align: center;
    width: max-content;
    padding: 8px 12px;
}

.secondaryButton{
    background: none;
    border-color: var(--primary_darkest);
    border-width: 2px;
    border-style: solid;
}

.description{
    text-align: inherit !important;
    margin: 0px;
}

#burgerMenuIcon{
    opacity: 0;
    height: 80%;
    margin: auto 0px;
}

#burgerMenuIcon:hover{
    cursor: pointer;
}

.display{
    display: block !important;
}

.burgerTopic{
    text-align: right;
    height: 16px;
    padding: 8px 12px;
    margin: 8px;
}

.burgerTopic:hover {
    cursor: pointer;
}

.burgerMenuHeader{
    padding-bottom: 80% !important;
}

@media only screen and (max-width: 800px) {
    #burgerMenuIcon{
        opacity: 1;
    }

    .hero{
        background-attachment: scroll;
    }

    .hero:after{
        position: fixed;
    }

    .topic{
        display: none;
    }

    .textCard{
        padding: 32px 8px;
    }

    footer > div{
        flex-direction: column;
        align-items: center;
    }

    .blogGrid{
        justify-items: center;
        grid-template-columns: 1fr;
        width: 80vw;
        align-self: center;
    }

    .blogGrid > img{
        max-height: inherit;
    }

    .gridItem{
        grid-column: 1 !important;
        grid-row: inherit !important;
    }

    .galeryImage{
        max-width: 80vw;
        min-width: 200px;
    }

    .textImage{
        max-height: auto;
        max-width: 90vw;
    }

    .animalProfile > img {
        width: 80vw;
        height: 80vw;
    }

    .textCard > *{
        max-width: 80vw;
        align-self: center;
    }

    .callToAction{
        padding: 48px 8px;
    }

    p.subheader{
        font-size: 22px;
    }

    .hero#kontakt{
        background-position: -180px 0px;
    }
    #header{
        background: var(--background_semitransparent);
        padding-top: 0px;
        padding-bottom: 0px !important;
    }
    #topHeader{
        height: 56px;
        padding: 0px 16px;
    }
    #logo{
        height: 90%;
    }
    #headline{
        display: block !important;
    }
}