/*
DARKEST: #0c3950
Base:    #114f6f ; R: 17, G: 79, B: 111
R stem:    #5490a3 ; R: 84, G: 144, B: 163
Big triangle:    #5d9bb0 ; R: 93, G: 155, B: 176 
Middle triangle:    #88c2d1 ; R: 136, G: 194, B: 209
Little triangle:     #c3e9ef ; R: 195, G: 233, B: 239
LIGHTEST/palest: #ebf7f9
*/



/**************************************************/
/****************UNIVERSAL THINGS******************/
/**************************************************/

:root {
    --bgcolor: black;
    --basedark: rgb(25, 25, 25);
    --bodycolor: rgb(100, 100, 100);
    --medcolor:rgb(150, 150, 150);
    --lighter:rgb(200,200,200);
    --lightest:white;
  }

*,
*::before,
*::after {
    box-sizing: border-box;
    scroll-behavior: smooth;
    scroll-margin-top: 10vh;
}

html, body {
    height:auto;
    min-height: 100vh;
    min-width:100vw;
    max-width:100%;
    width:100%;
    display: flex; 
    flex-direction: column;
    color:var(--basedark);
    background:var(--lighter);
    padding:0;margin:0;
}

@font-face {
    font-family: "IMPOS0__";
    src: url("./IMPOS0__.ttf");
  }


body {
    font-family: "Calibri", sans-serif;
    font-size: 1.05rem;
    font-weight: medium;
    color:black;
    background:var(--lighter);
    overflow-x:hidden;
}

a{color:#1D2545}

.section-title {
    font-size:2.2rem;
    padding-top:3.5vh;
    padding-bottom:1vh;
}

header {
    font-family: "IMPOS0__", sans-serif; text-align: center; color:var(--lightest); 
    /*background-color: black;*/
    width:100vw;height: 17vh;margin-bottom:0px;padding-bottom:2rem;
    will-change: transform;
    display:flex;
	position: fixed;
    top:0;
    overflow:visible;
    height:100px;
    /*clip-path: polygon(0 0, 100% 0, 100% 60%, 0% 100%); /*best documentation for polygon: https://verpex.com/blog/website-tips/css-shapes-the-triangle */
    z-index:200;
    background:transparent;
    background-color:transparent;
    
}

header:before {
    content:"";
    position:absolute;top:0;left:0;
    height:140px;
    width:102vw;
    background-color: #000000;
    clip-path: polygon(0 0, 100% 0, 100% 60%, 0% 100%); /*best documentation for polygon: https://verpex.com/blog/website-tips/css-shapes-the-triangle */
    z-index:2;
}
header:after {
    content:"";
    position:absolute;top:0;left:0;
    height:150px;
    width:102vw;
    background-color: white;
    clip-path: polygon(0 0, 100% 0, 100% 60%, 0% 100%); /*best documentation for polygon: https://verpex.com/blog/website-tips/css-shapes-the-triangle */
    z-index:1;
}


@keyframes fadeIn {
        to {
            opacity: 1;
        }
    }

@keyframes shrinkup {
    to {
        transform:scaleY(0.9);
        transform-origin: 0 0;
    }
}
    
nav {
    top:0;
    display: flex;
    width: 100%;
    height: 110px;
    background:transparent;
    align-items: center; /*vertical alignment for flex box*/
    justify-content: space-between; /*horizontal alignment for flex box*/
    align-content:space-around;
    padding-right:1vw;
    position:relative;
    padding-bottom:10px;
    margin:auto;
    flex-shrink:1;
}

nav ul {
    display:flex;
    width:80%;
    right:0;
    margin-left:auto;
    margin-right:0;
    margin-top:15px;
    justify-content:space-around;
    align-items: center;
    list-style-type: none;
}

nav ul li {
    display:inline-flex;
    align-items: center;
    padding:0.75vw;
}

nav a {
    color:var(--lightest);
    text-align: right;
    vertical-align:middle;
    vertical-align:-webkit-baseline-middle;
    margin-top: -1vh;
    margin-bottom: 1.5vh;
    padding:15px;
    padding-top:0;
    text-decoration:none;
    text-transform: uppercase;
    font-weight: normal;
    text-decoration-color: transparent;
    -webkit-text-decoration-color: transparent;
    -moz-text-decoration-color: transparent;
}

nav li a {
    color:var(--lightest); 
    padding: 0.15em;
    letter-spacing: 1.5px;
    font-size:1.6em;
    -webkit-transform: translateZ(0);
    transform: scaleX(1.65) translate(0, 10%);
    transition: all 0.75s ease; /*SECOND NUMBER IS THE DELAY*/
    }


.basedark {background-color:transparent;border-radius:5px;padding:5px;position:relative;top:0%;display:inline-flex;align-items: center;}
.basedark:hover {animation:pulse 0.75s infinite alternate;animation-delay:0} 

nav a:not(.icon):not(.headerlogohorizontal):hover, nav li:hover {
    transform:scaleX(1.4) scaleY(1.15) translate(0, 1px);
    }

nav ul:hover a:not(:hover):not(.icon) {
    color:var(--bodycolor);
    animation: all 3s ease-in-out forwards;
}

.bannerimage{
    display:block;
    position:absolute;
    top:10px;
    left:0;
    width:100vw;
    height:auto;
    z-index:0;
}

.possibletagline{
    padding-top:5vh;
    font-size:3rem;
    color:white;
    text-shadow:3px 3px 0px black, 0px 0px 9px black;
}


.headerlogohorizontal {
    position:absolute;
    margin-left:0%;
    left:-10px;
    top:-5px;
    transform: scale(0.9);
}


.headerlogonormal {
    display:none;
}

#mobilemenu {
	position:absolute;
    z-index:550;
	background-color: var(--lighter);
	border-radius: 3%;
	width:180px;
	right:140px;
	top:80px;
	min-width: 0;
	max-height:0;
	height:auto;
	overflow: hidden;
	outline:white solid 2px;
    background: linear-gradient(rgb(205,205,205),rgb(205,205,205)) padding-box,
    linear-gradient(to bottom, #000000,#000000) border-box;
    border: 4px solid transparent;
    display:none;
}

	#mobilemenu.open {
        display:block;
		animation: fullheight 0.5s forwards ease-out;
	}
	@keyframes fullheight {
		100%{ 
			max-height:100%;
		}
	}

	#mobilemenu.closed {
        display:block;
		animation: closeheight 0.25s forwards ease-in-out;
	}
	@keyframes closeheight {
		0%{ 
			max-height:100%;
		}
		99% {outline:black solid 2px;
            background: linear-gradient(rgb(205,205,205),rgb(205,205,205)) padding-box,
            linear-gradient(to bottom, #000000,#000000) border-box;}
		100%{ 
			max-height:0;
			outline:transparent;
            background:none;
		}
	}

	#mobilemenu ul {
		display:flex;
		position: relative;
		width:100%;
		margin:0;
		padding:0;
		left:0;
		flex-direction:column;
		align-items: top;
		justify-content: space-evenly;
		text-align: center;
		transition:all 0.2s linear;
        z-index:999;
	}

	#mobilemenu li {
		display:inline-flex;
		position: relative;
		flex-direction:column;
		height:auto;
		transition: 0.6s linear;
		border-bottom: black solid 3px;
        width:100%;
		flex-grow: 1;
		justify-content: center;
		padding-top: .95em;
		padding-bottom: 1em;
		transition:all 0.2s linear;
        z-index:999;
		}
	#mobilemenu li a {
		font-size:1.5em;
		font-family:"IMPOS0__";
		color:black; 
        letter-spacing: 1.5px;
        font-size:1.5em;
		text-decoration: none;
	}
	#mobilemenu li:hover, #mobilemenu li:active {
		background-color:black;
        cursor:pointer;
	}
	#mobilemenu li:hover a, #mobilemenu li:active a {
		color:#FFFFFF;
	}

	#mobilemenu.open > #mobilemenu ul {opacity:1;}
	#mobilemenu.closed >  #mobilemenu ul {transition-delay:0.05s;opacity:0;}
	#mobilemenu.open > #mobilemenu li {opacity:1;}
	#mobilemenu.closed > #mobilemenu li {transition-delay:0.05s;opacity:0;}


.firstsectionwrapper {
	display:inline-block;
    position:static;
	min-width:100%;
    max-width: 100%;
    width:auto;
	height:auto;
    margin:0 auto;
    text-align: center;
    border-radius: 0%;
    overflow-x:hidden;
	z-index:1;
    align-content: center;
    background:linear-gradient(to bottom, rgba(0,0,0,0), var(--lighter), var(--lighter));
    margin-top:70vh;
    margin-left:-2px;
    text-shadow:0 0 25px var(--lighter),0 0 25px var(--lighter);
}

.textwrapperplain {
    position:relative;
	width: 70%;
	align-content: center;
	margin:0 auto;
    padding:0;
    padding-top:1vh;
    text-align:center;
}

    summary {
        list-style: none;
        padding: 10px 20px 10px 40px;
        background: url(https://uploads.sitepoint.com/wp-content/uploads/2023/10/1697699669arrow.svg) no-repeat 14px 50%;
        background-size: 18px;
        font-weight: bold;
        font-size:1.025rem;
        cursor:pointer;
      }
      
      summary::-webkit-details-marker {
        display: none;
        transform: rotate(90deg);
      }
      
      summary {
        /*background-color:var(--lighter);*/
        background-color:#DCDCDC;
        color: black;
        border-radius: 5px;
        margin:5px;
        /*text-align:left;*/
      }
     
      
      details[open] summary {border-radius: 5px 5px 0 0;background-color:var(--medcolor);}
      
      details {
        border-radius: 5px;
        width:90%;
        interpolate-size:allow-keywords;
        margin: 0 auto;
      }
      

    details::details-content {
          block-size: 0;
          transition: content-visibility, block-size;
          transition-duration: 750ms;
          transition-behavior: allow-discrete;
          overflow: hidden;
          margin-left:2%;
          margin-right:2%;
        }
      
      details[open]::details-content {
          block-size: auto;
        }

.testimonial-closed {
    text-align:justify;
    border-radius:20px;
    background:lightgrey;
    padding:0 2.5vw 0vw 2.5vw;
    line-height: 1.2;
    margin:0;margin-bottom:0;
    height:auto;overflow:hidden;position:relative;
    max-height:250px;
}

  .testimonial-closed::before {
  content: "";
  position: absolute;left: 0;bottom: 0;
  background: linear-gradient(to bottom, transparent, transparent 55%, var(--lighter) 90%, var(--lighter));
  width: 100%;height: 100%;
  z-index:1;
}

  .testimonial-closed::after {
  content: url(readmore.svg);text-align:center;
  position: absolute;left: 0;bottom: 0;top:70%;
  width: 100%;height: 100%;
  /*transition-property: letter-spacing, text-shadow;transition-duration: 0.5s;transition-timing-function: ease;*/
  z-index:2;
  transform: translateZ(0) scale(0.89);
  backface-visibility: hidden;
}

.testimonial-closed:hover::after {
  letter-spacing:0.1em;
  cursor:pointer;
  animation-duration: 0.85s;
  animation-name: pulse;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
  transform: translateZ(0);
  backface-visibility: hidden;
}

@keyframes pulse {
  from {
    transform: scale(0.89);
  }

  to {
    transform: translate(0, 5%) scaleX(0.99) scaleY(1);
  }
}


.testimonial-open {
    text-align:justify;
    background:lightgrey;
    border-radius:20px;
    padding:0.25vw 2.5vw 2vw 2.5vw;
    line-height: 1.2;
    margin-bottom:3vw;
}

.emphasis {text-shadow:-1px 0 silver, 0 1px silver, 1px 0 silver, 0 -1px silver;font-size:1.1rem;border-radius:5px;}

.quote_attribution {display:block;font-style:italic;text-align:right;}

.startquote::before { 
    content: "\201C";
    font-size:2.5rem;
    position:relative;
    top:1.5vh;
    margin-right:2px;
    line-height: 1.3;
}

.endquote::after { 
    content: "\201D";
    font-size:2.5rem;
    position:relative;
    top:1.5vh;
    line-height: 0.1;
    margin-left:1px;
    z-index:0;
}

.wholequote::before { 
    content: "\201C";
    font-size:2.5rem;
    position:relative;
    top:1.5vh;
    margin-right:2px;
    line-height: 1.3;
}
.wholequote::after { 
    content: "\201D";
    font-size:2.5rem;
    position:relative;
    top:1.5vh;
    line-height: 0.1;
    margin-left:1px;
    z-index:0;
}

.footer {
    position: relative;
    bottom:0;
    width: 100%;
    min-height: 20rem;
    background-color: black;
    z-index:50;
    text-align:right;
    margin-bottom:0px;
    opacity: 1;
    clip-path: polygon(100% 100%, 100% 100%, 100% 70%, 0 100%);
    animation: slideInRight 1s forwards;
    }

    @keyframes slideInRight {
        0% {
            transform: scaleX(0);
            transform-origin: 100% 1000%;
        }
    
        100% {
            transform: scaleX(1);
            transform-origin: 100% 100%;
        }
    }

    .footer span {
		font-family: "IMPOS0__";
        text-align:right;
        position: absolute;
        bottom:5px;
        right:4vw;
        font-weight: lighter;
        letter-spacing: 1px;
        font-size:1em;
        transform:scaleX(1.3);
        padding: 10px;
        z-index: 100;
        opacity: 0;
        animation: fadeIn 2s forwards;
        color:white;
    }
        @keyframes fadeIn {
            to {
                opacity: 1;
            }
        }



/**************************************************/
/*********************BUTTON***********************/
/**************************************************/


 .button a {
    /*background: var(--medcolor);*/
    background:var(--basedark);
    display: inline-block;
    height:40px;
    position: relative;
    text-align:center;
    vertical-align: middle;
    width: auto;
    margin-top:20px;
    min-width:190px;
    padding-top:9px;
    margin-bottom:15px;
    opacity:1;
    border-radius: 10px;
}

/*.button a:hover, .button a:active {
    outline:3px solid var(--bgcolor);
    background:var(--basedark);
    outline:3px solid var(--medcolor);
} */

.button a button {
    font-family: "IMPOS0__", sans-serif;
    color:white;
    vertical-align: middle;
    background: none;
    border: none;
    font-weight:lighter;
    font-size:1.05rem;
    letter-spacing: 1.1px;
    transform: scaleX(150%);
    position: relative;
    top:0;
    cursor:pointer;
	padding-bottom:7px;
    text-transform: uppercase;
    opacity:1;
    transition: letter-spacing 0.5s ease-in-out, scale 0.8s ease-in-out;
	-webkit-backface-visibility: hidden;
    }

.button a:hover button {
    font-size: 1.15rem;
    text-shadow: none;
    letter-spacing: 1.8px;
	padding-bottom:8px;
}



/**************************************************/
/**********SIZE SENSITIVE THINGS HERE**************/
/**************************************************/


/*************NARROW MOBILE*********************/

@media screen and (max-width: 580px) {
      
    header:before {
        height:110px;
    }
    header:after {
        height:120px;
    }

    .bannerimage{
        top:70px;
    }
    
    nav li a {
        display:none;
    }

    nav a.icon {
        position:absolute;
        top:25px;
        right:2vw;
      }
      .icon img {max-width:90%;}

    .headerlogohorizontal {
        display:none;
    }
    .headerlogonormal {
        display:inline-block;
        position:relative;
        padding-left:0.25vw;
        margin-top:1px;
        padding-right:0%;
        vertical-align: bottom;
    }
    .headerlogonormal img {
        max-height:90px;
    }

	#mobilemenu {
		width:200px;
		right:20px;
		top:80px;
	}

    .firstsectionwrapper{
        margin-top:40vw;
    }

    body {
        padding-left:0;margin-left:-1px;
    }

    .possibletagline{
        font-size:2rem;
    }
    
    .textwrapperplain{
        width:93vw;
    }
    
    details {
        border-radius: 5px;
        width:99%;
        margin:auto;
      }
    

    .pastclients{margin-bottom:-100px;}

    .footer span {
        padding:7px;
    }

    .testimonial-closed {
        max-height:450px;
    }
    .testimonial-open {
        margin-bottom:6vw;
    }

.startquote::before, .endquote::after, .wholequote::before, .wholequote::after { 
    font-size:2.3rem;
}


}

 

/*********************MOBILE***********************/

@media screen and (min-width: 581px) and (max-width: 853px) {

    header:before {
        height:120px;
    }
    header:after {
        height:130px;
    }

    .bannerimage{
        top:70px;
    }

    nav li a {
        display:none;
    }

    nav a.icon {
        display: inline-flex;
        position: absolute;
        right:10px;
        width:100px;
        text-align: right;
        vertical-align:middle;
        margin: auto 0;
        margin-top:-5px;
        font-size: 1.7rem;
        text-decoration:none;
        text-transform: uppercase;
        font-weight: bold;
        text-decoration-color: transparent;
        -webkit-text-decoration-color: transparent;
        -moz-text-decoration-color: transparent;        
      }

    .headerlogohorizontal {
        display:none;
    }
    .headerlogonormal {
        display:inline-block;
        position:relative;
        padding-left:2vw;
        padding-top: 15px;
        padding-right:0%;
        vertical-align: bottom;
    }
    .headerlogonormal img {
        height:110px;
    }

    #mobilemenu {
		position:absolute;
		border-radius: 3%;
		width:200px;
		right:35px;
		top:76px;
		z-index:500;
		outline:white solid 3px;
	}

    .firstsectionwrapper{
        margin-top:25vh;
    }

    .possibletagline {
        font-size:2.15rem;
    }
    
    .textwrapperplain{
        width:90vw;
    }
    
    details {
        border-radius: 5px;
        width:99%;
        margin:auto;
      }

    .pastclients{margin-bottom:-100px;}

    .footer span {
        padding:7px;
    }

    .testimonial-closed {
        max-height:300px;
    }

    .testimonial-open {
        margin-bottom:3.5vw;
    }
}




/***********LARGE TABLET; CHROMEBOOK**************/

@media screen and (min-width: 854px) and (max-width: 1056px) {

    header:before {
        height:120px;
    }
    header:after {
        height:130px;
    }

    .bannerimage{
        top:60px;
    }

    nav li a {
        vertical-align: top;
        margin-bottom: 0.5%;
        font-size: 1.05rem;
    }

    nav a.icon {
        display:none;
      }

    nav ul {
        padding-right:3.5vw;
        width:92%;
        justify-content: space-around;
    }

    .headerlogohorizontal {
        display:none;
    }
    .headerlogonormal {
        display:inline-block;
        position:relative;
        padding-top: 2%;
        padding-right:0%;
        margin-left:1.25vw;
        vertical-align: bottom;
    }
    .headerlogonormal img {
        height:110px;
    }

    .firstsectionwrapper{
        margin-top:30vh;
    }

    .possibletagline {
        font-size:2.85rem;
    }

    .textwrapperplain{
        width:85%;
        margin: 0 auto;
    }

    body{margin:-15px;padding:0;}
    
    details {
        border-radius: 5px;
        width:99%;
        margin:auto;
      }

    .pastclients{margin-bottom:-100px;}

    .testimonial-closed {
        max-height:300px;
    }

}


/*******************LAPTOP**********************/

@media screen and (min-width: 1057px) and (max-width: 1500px) {

    nav a.icon {
        display:none;
      }

    nav ul {
        justify-content: space-around;
        margin-right:0;
        padding-left:0;
        width:72%;
        margin-top:7px;
    }

    nav li a 
    {font-size:1.18rem;
    margin:2vh;}
    nav li a:hover{
        transform:scale(1);
    }

    .bannerimage {top:50px}

    .headerlogohorizontal {
        padding-top: 10px;
        margin-left:-25px;
        width:400px;
    }
    .headerlogohorizontal img {
        width:325px;
        height:auto;
    }
    
    .firstsectionwrapper {
        display:block;
        margin-top:50vh;
    }

    .testimonial-closed {
        max-height:300px;
    }
    
}


/*********************OVERSIZED***********************/

@media screen and (min-width: 1501px) {

    nav a {
        vertical-align:middle;
        vertical-align:-webkit-baseline-middle;
        margin-top: 0.25%;
        margin-bottom:1vh;
        font-size: 1.5rem;
    }

    nav a.icon {
        display:none;
      }

    .headerlogohorizontal {
        position:relative;
        padding:0;
        margin: auto auto;
        vertical-align: middle;
    }

    .headerlogohorizontal img {
        width:390px;
        height:auto;
    }


}


/****glow for particle hover****/
nav ul li a:hover {
	animation: glow 0.75s infinite ease-in-out alternate;
}

