html, body{
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #fbf5f9;
    background-image: conic-gradient(
        #30364e 90deg,
        #0b171d 90deg 180deg,
        #30364e 180deg 270deg,
        #0b171d 270deg
  );
    background-size: 30px 30px, 30px 30px;
    text-align: center;
    font: size 62.5%;
    animation: panno linear 200s infinite ;
}
@keyframes panno {
  from {
    background-position: 99% 99%;
  }
  to {
    background-position: 100% 100%;
  }
}
header{
    position: sticky;
    top:0;
    z-index: 1;
    max-width: 100%;
    background-color: #30364e;
    padding-left:10px;
    text-align: left;
    height:fit-content;
}
h1{
    margin-top: 1dvh;
    margin-bottom: 1dvh;
}
footer{
    display: flex;
    justify-content: space-between;
    align-items:end;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: #30364e;
}
footer > div {
    text-align: center;
}
footer p{
    margin: 0;
}
.portrait{
    display:block;
    margin: 0 auto;
}
.content{
    flex:1;
}
.pagechoice{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    border: 1dvh groove #d3a8ef;
}
.pagechoice a{
    color: #be76df;
}
.burgermenu a{
    color: #be76df;
}
.pagechoice > div{
    text-align: center;
    padding:.5rem;
    background-color: #30364e;
}
.margin{
    margin: 5%;
}
.globalwrapper {
    display: grid;
    grid-template-columns: 1fr 9fr;
}
.contact{
    grid-template-columns: 1fr 1fr;
}
.block{
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.col{
    display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.block > div> div {
    border: 10px groove #d3a8ef;
    background-color:#0b171d;
    box-shadow: 5px 5px 5px #000000;
    font-size: 1.4em;
    padding: .2em;
    margin: .5em;
    text-align: left;
    width: fit-content;
    padding: 1rem;
    max-width: 90%;
    
}
.block2 > div {
    border: 10px groove #d3a8ef;
    background-color:#0b171d;
    box-shadow: 5px 5px 5px #000000;
    font-size: 1.4em;
    padding: .2em;
    margin: .5em;
    text-align: left;
    width: fit-content;
    padding: 1rem;
    max-width: 90%;
    
}
.list{
    grid-column: 1;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr 3fr;
    text-align: center;
}

.textleft{
    text-align: left;
}
.table{
    display: grid;
    grid-template-columns: 1fr 5fr;
}
.table > div {
    padding: 1rem;
    text-align: left;
}
.bar1{
    width:200px;
    margin-top: .5rem;
    margin-left: 1rem;
    border: 5px inset #fbf5f9;
    background-image: linear-gradient(to right,#be76dfbe 0%, #be76df 90%,#00000000 0%, #00000000 100%) ;
}
.bar2{
    width:200px;
    margin-top: .5rem;
    margin-left: 1rem;
    border: 5px inset #fbf5f9;
    background-image: linear-gradient(to right,#be76dfbe 0%, #be76df 100%,#00000000 0%, #00000000 100%) ;
}
.bar3{
    width:200px;
    margin-top: .5rem;
    margin-left: 1rem;
    border: 5px inset #fbf5f9;
    background-image: linear-gradient(to right,#be76dfbe 0%, #be76df 43%,#00000000 0%, #00000000 100%) ;
}
.bar4{
    width:200px;
    margin-top: .5rem;
    margin-left: 1rem;
    border: 5px inset #fbf5f9;
    background-image: linear-gradient(to right,#be76dfbe 0%, #be76df 80%,#00000000 0%, #00000000 100%) ;
}
.bar5{
    width:200px;
    margin-top: .5rem;
    margin-left: 1rem;
    border: 5px inset #fbf5f9;
    background-image: linear-gradient(to right,#be76dfbe 0%, #be76df 59%,#00000000 0%, #00000000 100%) ;
}
#toggle{
    display:none;
}
.hamburger {
  position: absolute;
  right: 5%;
  margin-top: -50px;
  width: 2em;
  height: 45px;
  z-index: 5;
  display:none;
}
.hamburger span {
  position: relative;
  display: block;
  width: 3em;
  height: 5px;
  border-radius: 3px;
  background-color: #fbf5f9;
  margin-top: 7px;
  transition: all 0.3s ease-in-out;
}
.pagechoice div:has(a:hover) {
    background-color: #be76df;
}
.pagechoice a:hover{
    color: #fbf5f9;
}
.pagechoice .active{
    background-color: #be76df;
}
.pagechoice .active a{
    color: #fbf5f9;
}
.burgermenu {
    display:none;
}
.burgermenu .active{
    background-color: #be76df;
}
.burgermenu .active a{
    color: #fbf5f9;
}
.burgermenu div:has(a:hover){
    background-color: #be76df;
}
.burgermenu a:hover{
    color: #fbf5f9;
}
.burgermenu{
    display: grid;
    grid-template-columns: 1fr;
    position: absolute;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 10;
    
}
.burgermenu > div{
    text-align: center;
    padding:.5rem;
    background-color: #30364e;
    border: 10px groove #d3a8ef;
    transform: translateX(-30px);
    opacity: 0;
    transition: all 0.3s ease;

    will-change: transform, opacity;
}
#toggle:checked ~ .burgermenu > div:nth-child(1) {
    transition-delay: 0.05s;
}
#toggle:checked ~ .burgermenu > div:nth-child(2) {
    transition-delay: 0.10s;
}
#toggle:checked ~ .burgermenu > div:nth-child(3) {
    transition-delay: 0.15s;
}
#toggle:checked ~ .burgermenu > div:nth-child(4) {
    transition-delay: 0.20s;
}
input{
  width: 100%;
  padding: 1em;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
textarea {
    margin: 8px 0;
  width: 100%;
  height: 200px;
  padding: 12px;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  background-color: #f8f8f8;
  font-size: 16px;
  resize: none;
}
button{
    margin-right: 0;;
    margin-left: auto;
    display:block
}



@media (pointer: coarse),only screen and (max-width: 800px) {
.hamburger{
    display:block;
}
.block{
    display:flex;
    flex-direction: column;
}
.col{
    display: contents;
}
.pic { 
    order: 2; 
}
.list { 
    order: 7; 
}
.title{ 
    order: 1; 
}
.driver { 
    order: 3; 
}
.text1 { 
    order: 4; 
}
.text2 { 
    order: 5; 
}
.text3 { 
    order: 6; 
}
.block {
    justify-content: center;
    align-items: center;
}
.pagechoice div{
    display:none;
}
.pagechoice .active{
    display:block;
}
#toggle:checked ~ .burgermenu {
    opacity: 1;
    visibility: visible;
}
#toggle:checked ~ .burgermenu > div {
    transform: translateX(0);
    opacity: 1;
}
footer{
    flex-direction: column;
    align-items:center;
}
footer > div {
    text-align: center;
    margin-bottom: .4em;
}
.globalwrapper {
    display: grid;
    grid-template-columns: 1fr;
}
.pagechoice{
    display: grid;
    grid-template-columns: 1fr;
}
.table{
    grid-template-columns: 1fr;
}
.date{
    background-color: #30364e;
}
.block > div {
    margin-left: auto;
    margin-right: auto;
}
}