/*
###########################################################################
Main styles for jerichocases.de 2023

FileName:   main.css
Author:		Barbara Völk, www.grafik-webdesign.info
Version:    2023.07.07
###########################################################################
*/


/***********************************************/
/* COLOURS */

/*
logo
yellow #F1B700
white #FFFFFF
black #1D252A


Colours:
yellow1 #F1B700
yellow lighter #FFCF40
black #1D252A -> rgba(29,37,42,1)
blue #303084
red #CC0000
bg black #1D252A
grey #777777 rgba(119,119,119,1)
darker grey #646464 rgba(100,100,100,1)


black #000000 -> rgba(222,225,225,1)

Text:
White *ffffff;
black #111412 ??

*/



/*
Type Druck: Helvetica Neue
font-family: 'NotoSans", sans-serif;

Type Druck: Rotis Semi Sans
font-family: 'RobotoCondensed", sans-serif;

Menue
font-family: 'Titillium_Web", sans-serif;


/***********************************************/

/***********************************************/
/* MAIN SETUP RESET */
/***********************************************/

@viewport{
    zoom: 1.0;
    width: extend-to-zoom;
}

@-ms-viewport{
    width: extend-to-zoom;
    zoom: 1.0;
}

:root {
    font-size: 16px;
}


footer, section, article, header, aside, nav {
    /* display:block; */
}

:focus {
    outline:none;
}
::-moz-selection, ::selection {
   color:#ffffff;
  /* background:#8a493a; */

}


/* Set up for stiles for links + hover effects for desktop + mobile (which don't use :hover) */
a:link, a:visited {
	/* color: var(--color-white);
	text-decoration: none; */
   color: var(--color-white);
}

a:hover, a:active, a:focus, a:focus {
	/* text-decoration: none;
	color: #92acbd;  l-grey #92acbd  */
   /* color: var(--color-lightgrey);
	border-bottom: 1px solid #92acbd; */
}


/* #Typography
================================================== */

/* font.css */




/********************************************************************/
/* MAIN SETUP BASIC ELEMENTS */
/********************************************************************/

html, body {
  overflow: hidden;
}

html {
  /* height:100%; *//* 101%; make scrollbar visible all the time */ /* CAN'T USE HEIGHT FOR REVEALER IN HTML OR BODY TAG!!! */
   -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
    scrollbar-gutter: stable both-edges;
}


body {
  --color-white: #ffffff; /* white bg */
  --color-text: #ffffff; /* white or black #1D252A; */

  --color-link: #F1B700;/* greyblack #363638 rgba(155, 46, 32, 1) */
  --color-hover: #363638;/* greyblack #363638 rgba(155, 46, 32, 1) */
  --color-link-hover: #FFCF40;/* greyblack #363638 rgba(155, 46, 32, 1) */

  --color-yellow: #F1B600;/*  yellow #F1B600 */
  --color-light-yellow: #FECE43;/* yellow lighter #FECE43*/
  --color-blue: #303084;/* blue #303084 */
  --color-red: #CC0000;/* red #CC0000 */
  --color-black: #111412;/* black #111412 */
  --color-bg: #1D252A;/* black #1D252A */
    --color-grey: #777777;/* grey #777777 */
 

  font-family:  'NotoSans', Arial, sans-serif;
  font-family:  'RobotoCondensed', Arial, sans-serif;
   color: #4c565c; /* logo grey #4c565c */
   color: var(--color-text);
  /* font-size:1.2rem;
font-size: clamp( 1.2rem, 2vw, 1vh);*/

	-webkit-background-size: cover; /* Safari, Chrome */
	background-size: cover; /* Opera, IE, W3C Standard */
 
    background: url(../images/yellow.png) repeat-y 68vw top;
  background-color: var(--color-bg);
	background-size: 20vw auto;
  
    /* background: url(../images/blue1.png) no-repeat 8vw top;
    background-size: 8vw 20vh;*/
    
   /* height:100vh;*/ /* CAN'T USE HEIGHT FOR REVEALER IN HTML OR BODY TAG!!! */
    
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /*overflow-y: scroll;*/
}

a {
    text-decoration: none;
    color: var(--color-link);
    /* color: green!important; */
    outline: none;
    
}

a:visited {
    text-decoration: none;
    color: var(--color-text); /*color: var(--color-white);*/
    /* color: green!important; */
    outline: none;
}

a:hover, a:visited:hover {
    color: var(--color-link-hover);
    outline: none;
}

/* https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible */
a:focus {
    /* Provide a fallback style for browsers
	 that don't support :focus-visible */
    outline: none;
    background: lightgrey;
}

a:focus:not(:focus-visible) {
    /* Remove the focus indicator on mouse-focus for browsers
	 that do support :focus-visible */
    background: transparent;
}

a:focus-visible {
    /* Draw a very noticeable focus style for
	 keyboard-focus on browsers that do support
	 :focus-visible */
    outline: 2px solid red;
    background: transparent;
}

strong {
             color: var(--color-black);
        }  


h1, h2, h3, h4 {
    font-family: 'NotoSans', sans-serif;
    font-size:2rem;
    line-height: normal;
    color: var(--color-text);
   font-weight: 300;
}


 h1 {
            font-family: 'NotoSans_ExtraLight', sans-serif;
            line-height: 0vw;
            font-size: 5.4rem;
            font-size: 6vw;
            margin-left: 3vw;
            margin-top: 3vh;
            text-transform: uppercase;
        }


h1:not(#h1.i) {
       font-size: min(max(5.4rem, 6vw), 6vh);  /* supported by Safari (11.1+), Chrome (79+)*/
    font-size: clamp(5.4rem, 6vw, 6vh);  /*supported by Chrome (79+)*/
   /* font-size: min(max(4rem, 6vw), 6vh);*/
    font-size: min(max(3.6rem, 6vw), 5.4rem);
    font-size: clamp(3.6rem, 6vw, 5.4rem);
}

#h1.i {
            font-family:  'RobotoCondensed', Arial, sans-serif;
    /*font-size: 10rem;
            font-size: 20vw;font-size: 20vmin;*/
     font-size: min(max(10rem, 20vw), 16rem); 
    /*font-size: clamp( 3rem, 20vw, 16rem);*/
            text-transform: lowercase;
            overflow: visible;
            display: inline !important;
            height: 2px !important;
            background: transparent;
    
    color: var(--color-yellow);
    font-weight: 900;
        }
#p.i {
    font-size: 2rem; font-size: 2.5vw;
             font-size: clamp( 2rem, 2.5vw, 2vh);  
            text-transform: lowercase;
            overflow: visible;
            display: inline !important;
            height: 2px !important;
            background: transparent;
    
    /*color: var(--color-yellow);*/
        }

h2, h3 {
	font-size: 32px; font-size: 4vw; font-size: 4vmin;
    font-size: min(max(2rem, 4vw), 2.2rem); 
    font-size: min(max(1.8rem, 4vw), 2.2rem); 
	line-height: 1.8rem; /*line-height: 3rem;*/ line-height: 2rem; /*line-height: normal;*/
    letter-spacing:  1px;
     text-transform: uppercase;
	margin-bottom: 6px; margin-bottom: 4vh;
    margin-left: 3vw;
}

h3 {
	font-size: 28px; font-size: 3vw; font-size: 3.5vmin;
     font-size: min(max(1.75rem, 3.5vw), 2rem); 
    font-size: min(max(1.6rem, 3vw), 2.2rem); 
    line-height: 1.8rem; 
    text-transform: none;
    margin-bottom: 6px;
}


/*h3 {
	margin-bottom: 16px;
	font-size: 28px; font-size: 1.875rem;
	font-weight: 300;
	line-height: 23px; line-height: 1.8rem;
	letter-spacing:  1px;
	display: inline;
	margin-left: 10px;
	margin-left: 80px;
}*/

h4 {
	margin-bottom: 16px;
	font-size: 20px; font-size: 1.375rem;
    font-size: min(max(1.375rem, 3vw), 1.5rem); 
	font-weight: 400;
	line-height: 1.8rem;
}



h1 a, h2 a, h3 a, h4 a, p a, p a:visited, ul a, ul a:visited {
	/* color: #777777; */color: var(--color-link);color: var(--color-white);
   text-decoration: none; /*border-bottom: 2px solid #333; */
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, p a:hover, p a:active, ul a:hover, ul a:active {
	/* color: #4c565c; */
   /* color: var(--color-grey); */
}


p {
	margin-left: 3vw;
   margin-top: 1vh;
	padding: 0;
    text-transform: none;

    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -webkit-hyphenate-limit-before: 3; /* For Safari */
  -webkit-hyphenate-limit-after: 3; /* For Safari */
  -ms-hyphenate-limit-chars: 6 3 3;
    hyphenate-limit-chars: 6 3 3;
}

.content-subtitle {
    text-transform: uppercase;
    background-color: rgba(0, 0, 0, 0.3);
    background-color: var(--color-yellow);
    padding: 2vh; padding: 3vh 1vh 2vh 4vh;
    
    box-sizing: border-box;
    /*box-shadow: 0px 8px 14px -3px rgba(29,37,42,0.7),
                0px -8px 14px -3px rgba(29,37,42,0.3);*/
    box-shadow: 3px 8px 14px -3px rgba(29,37,42,0.4);
}



/*p a, p a:visited {
    background-size: 100% 1px;
    background-size: 100% 1px!important;
    transition: color 0.8s ease-out;
     outline: none;
}*/

p a:hover {
    /*color: var(--color-link-hover)!important;
    background-color: var(--color-link-hover);
     background-size: 100% 1px;
    outline: none;*/
}

.white {
     color: var(--color-white)!important;
    transition: color 0.8s ease-out;
}

a.white:hover {
    color: var(--color-link-hover)!important;
     background-size: 100% 1px;
    outline: none;
}


/*
ul {
	list-style: none;
   margin-left: 6vw;
   margin-top: 3vh;

}


ul li{
	list-style: none;
   padding-bottom: 2vh;
} */

ul.list, ul.list2 {
	list-style: disc;
   margin-left: 6vw;
   margin-top: 3vh;
    border-left: 1px solid #ffffff;

}

/*ul.listOffset,*/ .offset {
	align-self: flex-end;
    align-self:center;

}

/*.desk {
	display: inline;
}
*/

.desktop {
	/*display: inline;*/
    display: inline!important;
}

.mobile {
	display: none;
}


.bold {
	font-weight: 600;
}

.strong {
	/* font-family: 'Palanquin', Frutiger, Helvetica, Arial, sans-serif;*/
	 font-weight: 400;
}

h1.content-title a {
     transition: color 0.6s ease-out;
    
}

.black {
     color: var(--color-black)!important;
    transition: color 0.8s ease-out;
}

.black-white {
     color: var(--color-black)!important;
    transition: color 0.8s ease-out;
}

a.black:hover {
    color: var(--color-link-hover)!important;
     background-size: 100% 1px;
    outline: none;
}

a.black-white:hover {
    color: var(--color-link-hover)!important;
     background-size: 100% 1px;
    outline: none;
}


/*.uppercase {
	text-transform: uppercase;
}*/

.lowercase {
    text-transform: capitalize;
    text-transform: lowercase;
}
.txt-normal {
    /*text-transform: lowercase;*/
    text-transform: none;
    
}


.blue {
     background-color: var(--color-blue);
}
            
.red {
     background-color: var(--color-red);                
}
.lightyellow {
     background-color: var(--color-light-yellow);                
}
            
.yellow {
    background-color: var(--color-yellow);                 
}

/* transparency set to transparent when screen (max-width: 678px) in parallax.css */
.transparency {
             background-color: rgba(0, 0, 0, 0.2);
    padding: 0.5rem; padding: 1rem;
        }
         
.moreBox, .enquiryBox {
    display: flex;
    justify-content: flex-end;

}



.enquiryBox {
     background-image: linear-gradient(to right, rgb(255,0255,255), rgb(255,255,255) );
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 0% 1px;
    -webkit-transition: background-size 500ms cubic-bezier(.54,.57,0,.96), color 500ms ease;
    transition: background-size 500ms cubic-bezier(.54,.57,0,.96), color 500ms ease;
    
}

a.more, a.enquiry {
    height: auto;width: auto;height: 2vmin;height: 1vmin;
	box-sizing: border-box;
    /*margin-top: -5vmin;*/ margin-top: 2vmin;
    /*margin-right: 8vmin;*/ margin-right: 2vmin;
    /*margin-bottom: 2rem;*/
    padding-right: 1rem;
    text-transform: lowercase!important;
    
   background-image: linear-gradient(to right, rgb(255,0255,255), rgb(255,255,255) );
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 0% 1px;
    -webkit-transition: background-size 500ms cubic-bezier(.54,.57,0,.96), color 500ms ease;
    transition: background-size 500ms cubic-bezier(.54,.57,0,.96), color 500ms ease;
    padding-bottom: 1.8rem;
   /* margin-top: 0.8rem;*/
}

/*
.enquiryBox a.more::hover { 
    background-size: 100% 1px;
     color: var(--color-text);  
}
*/

a.enquiry {
   /* width: 4vmin;
		height: 4vmin;*/
  
}


a.more:hover, a.enquiry:hover {
 background-size: 100% 1px;
     color: var(--color-text);  
}

	a.more::before, a.enquiry::before {
		/*content: '';
        content: " ⇀";*/ /*RIGHTWARDS HARPOON WITH BARB UPWARDS*/
       /* color: var(--color-yellow);
		 width: 2vmin;
		height: 2vmin;
		transition: .2s ease;
		display: block;*/
        /* transform: rotate(45deg);*/
		/*transform-origin: 100% 0;
        position: relative;
        top: 8px; 
        left: -20px; left: -1.4rem;*/
	}
/*a.enquiry::before {
    color: var(--color-blue);	
}*/

a.more::after, a.enquiry::after {
		content: '';
		width: 100%; width: 2vmin;
		height: 100%;height: 2vmin;
		/*border-width: .8vmin .8vmin 0 0;*/
        border-width: .3vmin .3vmin 0 0;
		border-style: solid;
		border-color: #fafafa;
		transition: .2s ease;
		display: block;
         transform: rotate(45deg);
		transform-origin: 100% 0;
        position: relative;
        top: 30px;
        left: 50px; left:0;
        /*top: 3vmin;
        left: 6vmin;*/
        top: 26px;
        left: 48px;top: -10px; left: 3rem;
	}

a.enquiry::after {
    left: 5rem;
}

a.more:hover::before, a.more:active::before, 
a.enquiry:hover::before, a.enquiry:active::before {
        /*content: " ⇀"; *//*RIGHTWARDS HARPOON WITH BARB UPWARDS*/
    /*color: var(--color-text);
		transform: scale(.8);	
        transform: scale(2);*/
    }

	a.more:hover::after, a.more:active::after, 
a.enquiry:hover::after, a.enquiry:active::after {
         /* border-color: var(--color-light-yellow);*/
        border-width: .18vmin 0 0 0;
   /* content: " ⇀"; *//*RIGHTWARDS HARPOON WITH BARB UPWARDS*/
		/*transform: scale(.8);	*/
        /*transform: scale(.6);transform: scale(.8);*/
    
    }

a.enquiry:hover::after, a.enquiry:active::after {
         /* border-color: var(--color-blue);*/
}

/*
.mehr > .shaft:before, .mehr > .shaft:after {
	 background-color: #4c4c4c;  background-color: white;
	 content: '';
	 display: block;
	 height: 1px;
	 position: absolute;
	 top: 0;
	 right: 0;
	 transition: all 0.2s;
	 transition-delay: 0;
}
 .mehr > .shaft:before {
	 transform-origin: top right;
}
 .mehr > .shaft:after {
	 transform-origin: bottom right;
}
*/

/********************************************************************/
/* MAIN WRAPPERS + MAIN LAYOUT ELEMENT + TAG SELECTORS */
/********************************************************************/

#body.noTouch header {
	margin: 0px 0 0px 0;
	width: 100%; 
    height: 40px; height: 4vh; max-height: 40px;
	position:absolute;  position:fixed; /*position: sticky;*/
	top: 0;
	background-size: 100%;
    z-index: 1000;
   
    grid-area: header;
    background: url(../images/yellow.png) repeat-y 68vw top;
  background-color: var(--color-bg); 
    -webkit-background-size: 20vw auto; /* Safari, Chrome */
	background-size: 20vw auto;
}


@media (hover: none) {
  a {
   /* background: yellow;*/
  }
}


/* @media only screen and (min-height: 768px) {*/
 @media only screen and (max-width: 768px) {
    header {
	 background: url(../images/yellow.png) repeat-y 68vw top;
  background-color: var(--color-bg);  
	background-size: 20vw auto;
        margin: 0px 0 0px 0;
	width: 100%;
    height: 6vh;/* height: 12vmin; */
        max-height: none;
     }
     
     .header {
    grid-area: header;
  background-color: var(--color-bg); 
	background-size: 20vw auto; 
     background: transparent;
}
     
}

  @media only screen and (max-width:678px) and (orientation:portrait) {
     .black-white {
     color: var(--color-white)!important;
    transition: color 0.8s ease-out;
}
    
    
  }


@media (hover: hover) { }

.logoTop {
    width: 100vw;
   padding-bottom: 3vh;   
   display: flex;
    justify-content: flex-end;
}


@media screen and (max-width: 1024px) {
    
    .logoTop .logo {
   margin-top: 8vh!important;
        background-size: 30vw auto; 
        /*background-color: aquamarine;*/
    }
   
}

@media screen and (max-width: 50em) {
    
}


.logoTxt {
    width:100vw;
   height: auto;
display: flex;
 justify-content: flex-end; 
align-items: flex-start; 
}

.logoTxt img{
   max-width: 100px; max-width: 220px;
     width:10vw; width:14vw;
   height: auto;
    margin-top: 2vw;
}


#logo {
   height: auto;
    width: 100vw;
    height: 8vw;  height: 6vw; 
   display: flex;
   flex-direction: column;
   margin-top: 4vh;
   margin-right: 12vw;  margin-top: 5vh;
	background-size: 20vw auto;
}

.logoTop #logo {
   height: auto;
    width: 100vw;
    height: 8vw;  height: 6vw; 
   display: flex;
   flex-direction: column;
   margin-top: 4vh; margin-top: 0vh;
   margin-right: 12vw;
	background-size: 20vw auto;
}


 @media only screen and (min-width: 2024px) {
   #logo {
       height: 9vw;
       
    }
  }
 @media only screen and (min-height: 1000px) {
   #logo {
       /*background-color: lightblue; */ 
    }
    
  }

/*@media only screen and (min-height: 768px) {*/
/* @media screen and (max-width: 50em) {*/
@media only screen and (max-width: 768px) {
      .logoTop #logo {
   height: auto;
    width: 100vw;
    height: 8vw;  height: 6vw; height: 2vw; 
   display: flex;
   flex-direction: column;
   margin-top: 4vh; margin-top: 0vh; margin-top: -30px;
   margin-right: 12vw;
  
   /*  background: url(../images/logo.png) no-repeat 68vw -5px;*/
  /*background-color: var(--color-bg);*/
	background-size: 20vw auto;
   /* background-color: lightblue;*/
          position: absolute; top: -30px; top:-7vmin;
         
}
}


.logo {
   /*max-width: 240px;*/
    width: 100vw;
   height: auto; height: 200px;
     /*padding-right: 16vw;*/
    margin-left: 0;
   /* margin-top: -8vh; margin-top: -9vh;*/
   /* padding-bottom: 2vh;*/
   /* background: url(../images/logo.png) no-repeat right top;
	background-size: 20vw auto; */
     /*background-color: var(--color-bg);*/
 /*background-color: green; */
    display: flex;
justify-content: flex-end; /*display: none;*/
}
.logoTop .logo {
   /*max-width: 240px;*/
    width: 100vw;
   height: auto;/* height: 500px; */
     /*padding-right: 16vw;*/
    margin-left: 0;
    /*margin-top: -8vh; margin-top: -9vh;*/
   margin-top: 2vh;
    background: url(../images/logo.png) no-repeat right top;
  /*background-color: var(--color-bg);*/
	background-size: 20vw auto; 
 /*background-color: green; */
    display: flex;
justify-content: flex-end; /*display: none;*/
}

.logo img{
   max-width: 328px;  max-width: 428px;
    width:24vw; width:20vw;
   height: auto;
    align-self: flex-end;
    opacity: 20%; opacity:0;
    
}

@media screen and (max-width: 50em) {
    
}

 @media only screen and (max-width: 768px) {
  .logoTop .logo {
      /*margin-top: 0;
        padding-bottom: 0vh;
        background-color: brown;*/
      /*position: fixed;
      top: -20px;*/
      /*background: red;*/
    }
     
.offset {
    align-self:center;
    align-self: flex-start;

}
     
     h1:not(#h1.i) {
       font-size: min(max(5.4rem, 6vw), 6vh);  /* supported by Safari (11.1+), Chrome (79+)*/
    font-size: clamp(5.4rem, 6vw, 6vh);  /*supported by Chrome (79+)*/
   /* font-size: min(max(4rem, 6vw), 6vh);*/
    font-size: min(max(3.6rem, 6vw), 5.4rem);
    font-size: clamp(3rem, 6vw, 5rem);
}
  }





/********************************************************************/
/* NAVIGATION */
/********************************************************************/

/* menu.css */


/* =========================================
	FOOTER + FOOTER NAV
============================================*/


body.noTouch footer {
    display: none!important;
}

 
/***********************************************/
/* Mobil SETTINGS */
/***********************************************/

/*@media (max-width: 600px) {
@media only screen
and (max-width: 641px) { */

  @media only screen and (max-width: 414px) {
      
      .mobile {
	display: inline;
}
      
       .desktop {
	display: none!important;
}
   
  }


/* PROMLEMS STILL WITH iPhone 5S!! */
@media only screen and (max-width:320px) and (orientation:portrait) {
   /*body.touch h1:not(#h1.i),*/ body.touch h1.content-title, body.touch h1.content-title a {
        
       /* font-size: clamp(3.6rem, 6vw, 5.4rem);
        font-size: clamp(1rem, -4.6774rem + 28.3871vw, 5.4rem);*/
        
         font-size: 3rem!important;
       /* color: pink;*/
}
    
    body.touch .content-wrapper h2, body.touch .content-wrapper h2 a {
        
       /* font-size: clamp(3.6rem, 6vw, 5.4rem);
        font-size: clamp(1rem, -4.6774rem + 28.3871vw, 5.4rem);*/
        
         font-size: 2.8rem!important;
       /* color: pink;*/
        
    }
    
  body.touch p, .content-wrapper p, body.touch ul,.content-wrapper ul {
         font-size: 1rem!important;
       /* color: green;*/
}

}