* { margin:0; padding:0; }
body {
    font-family: "IBM Plex Sans", sans-serif, FontAwesome;
    overflow-x: hidden;
    font-size: 1em;
    background: url('../img/logo/gsg-dot.jpg');
    background-position: center;
    background-repeat: repeat;
}
/*background-image: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);*/
 
html {
    scroll-behavior: smooth;
}

/* assigned targets */

.wrap {
    margin: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100vw;
}


#button {
    display: inline-block;
    content: "\f077";
    background-color: #fff23b ;
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    z-index: 1000;
    font-weight: normal;
    font-style: normal;
  }

  #button:hover {
    cursor: pointer;
    background-color: #FFF;
  }

.contain-l {
    position: relative;
    display: grid;
    max-width: 100%;
    background-color: #ffe600;
}


.tri-box {
    display: grid;
    gap:10px;
    grid-template-columns: 1fr 1fr 1fr;
}
.bi-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}

.inset-number-pt {
    background-color: #3333333b;
    color:#313131;
    padding: 5px;
    font-size: .8em;
    border-radius: 3px;
    display:inline-flex;
    margin-bottom: 2px;
}

.nav-disp {
    display: flex;
}

.miniwrap {
    position: relative;
}

.inset-number {
    position: absolute;
    left: 5px;
    bottom: 7px;
    background-color: #333;
    color:#cfd9df;
    padding: 3px;
    font-size: .6em;
    border-radius: 3px;
}

.contain-r {
    position: relative;
    padding: 20px;
    display: block;
    max-width: 1fr;
    background-color: #ffe600;
    background-position: scale;
    background-repeat: repeat;
}

#base {
    position: fixed;
    bottom: 10px;
    padding: 10px;
    height:30px;
}

.tex-box {
    column-count: 1;
    border-left: #d1d1d1 solid ;
    padding-left: 20px;
    column-gap: 30px;
    padding-bottom: 10px;
    padding-right: 20px;
    font-size: 1.3em;
}

.logo-spot {
    position: relative;
    width: 200px;
    height: 60px;
    margin-bottom: 10px;
}

.logo-spot:hover {
    background-color: inherit;
}

/* links */

a {
    color: #333;
}

a :hover {
    color:#fff;
    text-shadow: 0 1px 0 black,  1px 1px 1px black
}

/* base */

img {
    width: 100%;
    margin-bottom: -10px;
}

a {
    text-decoration: none;
    line-height: 1.5em;
} 

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}


h1 {
    font-size: 4em;
    line-height: 0.8em;
    margin-bottom: 0.12em;
}

h4 {
    margin-bottom: 5px;
}

p {
    margin-bottom: .5em;
}


button {
    padding: 5px 10px 5px 10px;
}

.bg-grade {
    padding: 20px;
    background-image: linear-gradient(to top, #d5d4d0 0%, #d5d4d0 1%, #eeeeec 31%, #efeeec 75%, #e9e9e7 100%);
}

form .txt_field{
    position: relative;
    border-bottom: 2px solid #adadad;
    margin:20px;
  }
  .txt_field input{
    width: 80%;
    padding: 0 5px;
    height: 40px;
    font-size: 16px;
    border: none;
    background: none;
    outline: none;
  }
  .txt_field label{
    position: absolute;
    top: 50%;
    left: 0;
    color: #333;
    transform: translateY(-50%);
    font-size: 16px;
    pointer-events: none;
    transition: .5s;
  }
  .txt_field span::before{
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 0%;
    transition: .5s;
  }
  .txt_field input:focus ~ label,
  .txt_field input:valid ~ label{
    top: -5px;
    color: #000;
  }
  .txt_field input:focus ~ span::before,
  .txt_field input:valid ~ span::before{
    width: 100%;
  }

  input[type="submit"]{
    width: 150px;
    height: 50px;
    border: 1px solid;
    background: #333;
    border-radius: 5px;
    font-size: 18px;
    color: #e9f4fb;
    font-weight: 700;
    cursor: pointer;
 }
  input[type="submit"]:hover{
    border-color: #777;
    transition: .5s;
  }

@media screen and (max-width: 800px) {
    /* Styles for screens smaller than 768px */
    body {
      font-size: .75em;
    }
    .tex-box {
        column-count: 1;
        column-gap: 20px;
    }
    .wrap {
        margin: 0;
        display: grid;
        grid-template-columns: 1fr;
        width: 100vw;
    }
    .contain-l {
        width: 100%;
        padding: 10px;
    }
    .contain-r {
        padding: 10px;
        width: 100%;
        grid-auto-columns: 1;
    }
  }