@media (min-width: 600px) {
.header{
  height: 20%;
    /* position:fixed; */
    margin-top: 0%;
    width: 100%;                 
    left: 0;                  
    padding: 0;  
    position: absolute;              

}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    /* background-image: url("joto/j12.jpeg"); */
    background-image: url("fav.JPG");
    background-size: cover;
      background-repeat: repeat-x;
    background-size: 950px 950px;
    /* background-position: 50% 50%; */
}

.title{
    /* top: 0; */
    width: 100%;
    overflow: hidden;
    max-width: 100vw;
      box-sizing: border-box;
  border-collapse: collapse;
  table-layout: fixed;
  z-index: 10;
}

.menu-item {
    width: 15%;
    text-align: left;
    white-space: nowrap;
}

.menu-item2 {
    width: 15%;
    text-align: right;
    white-space: nowrap;
}

.menu-item3 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    width: max-content;
    white-space: nowrap;
    text-align: center;

    font-size: 150%;
    font-weight: 600;
    color: white;

    text-shadow:
        0.5px 0.5px 0.5px white,
        -0.5px -0.5px 0.5px #080d34;
}


.menu-item-tb{
     display: none;
    /* width:15% */
}

.menu-item-sb{
      display: none;
    /* width:15% */
}

.menu-item-ab{
     display: none;
    /* width:15% */
}

.document-row > td {
    display:none
}

    /* .menu-item {
 
  width: 15%;
  
  text-align:left
}

    .menu-item2 {
  width: 15%;
  text-align:right
}

.menu-item3{
    text-align: center;
    width:15%;
            font-size: 150%;
        font-weight: 600;
        color:white;
        text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #080d34; 
} */


.titlebox{
width:70%;
padding: 0;
}

.typewriter{
          font-size: 150%;
        font-weight: 600;
        color:white;
        text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #080d34; 
        font-family: 'ag';
        letter-spacing: 5px;
}

/* .typewriter {
  /* color:#39da24;  
  letter-spacing: 10px;
  /* color:#A5DBFF; 
/* text-shadow: 1px 1px 0px rgb(224, 253, 224), -1px -1px 0px #348f0d; */

  /* text-shadow: 1px 1px 2px white, -1px -1px 2px rgb(0, 193, 10);  
  position: relative;
  font-family: "ag";
  font-size: 300%;
  text-align: left;
  margin-left: 3%;
  margin-right: 5%;
  padding-right: 10%;
  white-space: nowrap;
  width: 100%;
  margin-top: 1%;
   z-index: 50;
  /* z-index: 1000;                */
  /* animation: typing 4s steps(20, end) forwards; 
} */

.body{
  width: 100%;
  /* max-height: 80%; */
  z-index: 0;
  overflow: hidden;
    background-image: url('fav.JPG');
  background-repeat: no-repeat; 
  background-size: cover; 
  background-attachment: fixed;
        display: flex;
    flex-direction: column;
}



    .topmenu{
        border-spacing: 5px;
        margin-top: 1%;
        position:relative;
        width: 95%;
        margin-left: 2.5%;
border-radius: 15px;
 z-index: 50;
    }
/* 
    .menu-item {
  
  width: 15%;
 
  text-align:left
} */

         .button1{
          color: white;
         right: 0;
         font-family: 'ag';
           text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #080d34; 
           letter-spacing: 15%;
        cursor: pointer;
        font-size: 150%;
        background: transparent;
        border:none;
         z-index: 50;
        /* min-width: 20%; */
     }

              .button2{
display:none
     }

.textbox {
    margin-top: 9%;
    align-items: center center;
    box-sizing: border-box;
     /* background-color: #516eff9b; */
    /* background-color: #ff24a75c; */
    /* border: white;
    border-style: double; */
    background-color: #2e810a96;
    /* background-color: #1b3b569c; */
    /* background-color: #c5ff5158; */
    color:white;
            /* background: rgba(240, 255, 255, 0.3);
          border: 1px solid rgba(255, 255, 255, 0.45);
box-shadow:
  0 4px 12px rgba(20, 30, 60, 0.06),
  0 12px 30px rgba(20, 30, 60, 0.06); */
backdrop-filter: blur(1px);
-webkit-backdrop-filter: blur(1px);
border-radius: 15px;
width: 50%;
margin-left: 25%;
margin-right: 25%;
  padding:1%;
  z-index: 50;
}

.text{
  font-size: 150%;
  font-family: 'ag';
  padding-left: 5%;
      /* text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #080d34;  */
}

.smalltext{
  font-size: 100%;
   font-family: 'ag';
   margin-left:17%;
   margin-right: 10%;
   margin-top: -2%;
       /* text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #080d34;  */
   
}

.pdf{
    font-size: 150%;
  font-family: 'ag';
  padding-left: 5%;
      /* text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #080d34;  */
}

.pdf-row {
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: 15px; */
    margin-top: -25px;
    margin-right: 11%;
    margin-left: 3%;
        /* text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #080d34;  */
}

/* .subbutton{

} */

.form{
    display: flex;
    justify-content: center;
    align-items: center;
      color:white;
/* text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #4b4b4a;  */
  font-family: 'ag';

}

.uploadForm{
          /* color:#39da24;
text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #46a91b;
font-family: 'mb';
font-size: 200%; */
    display: flex;
    justify-content: center;
    align-items: center;
}

    #uploadForm {
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
    }

    #uploadForm input,
    #uploadForm select,
    #uploadForm textarea {
        width: 70%;
        box-sizing: border-box;
    }



.submit{
      color:white;
text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #4b4b4a; 
  font-family: 'ag';
}

.thank-you{
      color:white;
text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #4b4b4a; 
  font-family: 'ag';
padding:2%;
}

.footer{
  width:100%;
  max-height: 15%;
  overflow: hidden;
  color:white;
  position:absolute;
  bottom:0;
  left:0;
  z-index:20;
   /* background-color: #adbdcdbb; */

}

/* Everything you want above the tiles */
.content {
  position: relative;
  z-index: 10;

  width: 100%;
  height: 100%;

  box-sizing: border-box;
  padding: 60px;
  
  /* color: black; */
}

  #grid {
    position: fixed;
    inset: 0;
    display: grid;
    overflow: hidden;
    z-index: 0;
    /* background-image: url('joto/j21.jpeg'); */
      background: transparent; 
     background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; 
   } 

    .tile {
    width: 100px;
    height: 100px;
    background-repeat: no-repeat;
  
    position: relative;
    z-index: 1;

    transition:
      transform 2.5s cubic-bezier(.4,.4,.4,.4),
      box-shadow 1.5s ease, 
      filter 1.5s ease; 
  }

 
  .tile.raised {
    transform: translateY(-1px) scale(1);
    border-radius: 10px;
    z-index: 10;
 
  filter:
    brightness(1.3)
    saturate(1.2)
  }

/* .text-scroll{
  height: 15%;
  overflow: hidden;
  background: rgba(240, 255, 255, 0.3);  
  color:transparent
} */

}
/* ################################################################################################################################################
################################################################################################################ */

    @media (max-width: 600px) {
.header{
  height: 20%;
    /* position:fixed; */
    margin-top: 0%;
    width: 100%;                 
    left: 0;                  
    padding: 0;  
    position: absolute;              

}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    /* background-image: url("joto/j12.jpeg"); */
    background-image: url("fav.JPG");
    background-size: cover;
      background-repeat: repeat-x;
    background-size: 700px 700px;
    /* background-position: 50% 50%; */
}

.title{
    /* top: 0; */
    width: 100%;
    overflow: hidden;
    max-width: 100vw;
      box-sizing: border-box;
  border-collapse: collapse;
  table-layout: fixed;
  z-index: 10;
}

/* .menu-item {
    width: 15%;
    text-align: left;
    white-space: nowrap;
    font-size: 120%;
        /* font-weight: 600;
        color:white;
          text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #080d34;  
}

.menu-item2 {
    width: 15%;
    text-align: right;
    white-space: nowrap;
    font-size: 120%;
}

.menu-item3 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    width: max-content;
    white-space: nowrap;
    text-align: center;

    font-size: 80%;
    font-weight: 600;
    color: white;

    text-shadow:
        0.5px 0.5px 0.5px white,
        -0.5px -0.5px 0.5px #080d34;
} */

    /* .menu-item {
 
  width: 15%;
  
  text-align:left
}

    .menu-item2 {
  width: 15%;
  text-align:right
}

.menu-item3{
    text-align: center;
    width:15%;
            font-size: 150%;
        font-weight: 600;
        color:white;
        text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #080d34; 
} */


.titlebox{
width:70%;
padding: 0;
}

.typewriter{
          font-size: 150%;
        font-weight: 600;
        color:white;
        text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #080d34; 
        font-family: 'ag';
        letter-spacing: 5px;
}

/* .typewriter {
  /* color:#39da24;  
  letter-spacing: 10px;
  /* color:#A5DBFF; 
/* text-shadow: 1px 1px 0px rgb(224, 253, 224), -1px -1px 0px #348f0d; */

  /* text-shadow: 1px 1px 2px white, -1px -1px 2px rgb(0, 193, 10);  
  position: relative;
  font-family: "ag";
  font-size: 300%;
  text-align: left;
  margin-left: 3%;
  margin-right: 5%;
  padding-right: 10%;
  white-space: nowrap;
  width: 100%;
  margin-top: 1%;
   z-index: 50;
  /* z-index: 1000;                */
  /* animation: typing 4s steps(20, end) forwards; 
} */

.body{
  width: 100%;
  /* max-height: 80%; */
  z-index: 0;
  overflow: hidden;
    background-image: url('fav.JPG');
  background-repeat: no-repeat; 
  background-size: cover; 
  background-attachment: fixed;
        display: flex;
    flex-direction: column;
}



    .topmenu{
        border-spacing: 0px;
        margin-top: 3%;
        position:relative;
        width: 100%;
border-radius: 15px;
 z-index: 50;
    }

     .menu-item {
display:none
}

    .menu-item2 {
display:none
}

.menu-item3{
display:none
}

.menu-item4{
display:none
}

.menu-item-a{
     text-align: center;
    width:15%
}

.menu-item-s{
    display:none;
       text-align: center;
    width:2%;
     font-size: 100%;
        font-weight: 600;
        color:white;
          text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #080d34; 
}

.large-screen-row{
    display:none
}

.document-row > td {
    padding: 0%;
}

.document-details {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

/* Title: aligned toward the center */
.menu-item-tb {
    text-align: right;
    min-width: 0;
    padding-right: 8px;
         font-size: 140%;
        font-weight: 600;
        color:white;
          text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #080d34; 
}

.document-details .title {
    text-align: right;
    overflow-wrap: anywhere;
}

/* Separator: exactly centered */
.document-details .menu-item-sb {
          font-size: 150%;
        font-weight: 600;
        color:white;
        text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #080d34; 
        font-family: 'ag';
        letter-spacing: 5px;
}

/* Author: aligned away from the center */
.menu-item-ab {
    text-align: left;
    min-width: 0;
    padding-left: 8px;
}

.document-details .author {
    text-align: left;
    margin: 0;
    overflow-wrap: anywhere;
         font-size: 140%;
        font-weight: 600;
        color:white;
          text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #080d34; 
}

.menu-item-mainp{
 text-align: left;
          font-size: 120%;
        color:white;
          text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #080d34; 

}

.menu-item-arcp{

    text-align: center;
              font-size: 120%;
        color:white;
          text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #080d34; 
    
}

.menu-item-morep{
    text-align: right;
              font-size: 120%;
        color:white;
          text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #080d34; 
}
/* 
    .menu-item {
  
  width: 15%;
 
  text-align:left
} */

         .button1{
display:none
     }

              .button2{
                  color:white;
   
           text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #080d34; 
           font-family: 'mb';
           letter-spacing: 15%;
        cursor: pointer;
        font-size: 100%;
        background: transparent;
        border:none;
     }

     


.textbox {
    margin-top: 35%;
    /* align-items: center center; */
    box-sizing: border-box;
     /* background-color: #516eff9b; */
    /* background-color: #ff24a75c; */
    /* border: white;
    border-style: double; */
    background-color: #2e810a96;
    /* background-color: #1b3b569c; */
    /* background-color: #c5ff5158; */
    color:white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    width: max-content;
    white-space: nowrap;
backdrop-filter: blur(1px);
-webkit-backdrop-filter: blur(1px);
border-radius: 15px;
width:90%;
 /* margin-left: 5%; */
/* margin-right: 5%;  */
  padding:1%;
  z-index: 50;
}

.text{
  font-size: 100%;
  font-family: 'ag';
  padding-left: 5%;
      /* text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #080d34;  */
}

.smalltext{
  font-size: 100%;
   font-family: 'ag';
   margin-left:5%;
   margin-right: 10%;
   margin-top: -2%;
   white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
   
}

.pdf{
    font-size: 100%;
  font-family: 'ag';
  padding-left: 5%;
      /* text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #080d34;  */
}

.pdf-row {
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: 15px; */
    margin-top: -25px;
    margin-right: 11%;
    margin-left: 3%;
        /* text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #080d34;  */
}

/* .subbutton{

} */

.form{
    display: flex;
    justify-content: center;
    align-items: center;
      color:white;
/* text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #4b4b4a;  */
  font-family: 'ag';

}

.uploadForm{
          /* color:#39da24;
text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #46a91b;
font-family: 'mb';
font-size: 200%; */
    display: flex;
    justify-content: center;
    align-items: center;
}

    #uploadForm {
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
    }

    #uploadForm input,
    #uploadForm select,
    #uploadForm textarea {
        width: 70%;
        box-sizing: border-box;
    }



.submit{
      color:white;
text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #4b4b4a; 
  font-family: 'ag';
}

.thank-you{
      color:white;
text-shadow: 0.5px 0.5px 0.5px white, -0.5px -0.5px 0.5px #4b4b4a; 
  font-family: 'ag';
padding:2%;
}

.footer{
  width:100%;
  font-size: 80%;
  max-height: 15%;
  overflow: hidden;
  color:white;
  position:absolute;
  bottom:0;
  left:0;
  z-index:20;
   /* background-color: #adbdcdbb; */

}

/* Everything you want above the tiles */
.content {
  position: relative;
  z-index: 10;

  width: 100%;
  height: 100%;

  box-sizing: border-box;
  padding: 60px;
  
  /* color: black; */
}

  #grid {
    position: fixed;
    inset: 0;
    display: grid;
    overflow: hidden;
    z-index: 0;
    /* background-image: url('joto/j21.jpeg'); */
      background: transparent; 
     background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; 
   } 

    .tile {
    width: 100px;
    height: 100px;
    background-repeat: no-repeat;
  
    position: relative;
    z-index: 1;

    transition:
      transform 2.5s cubic-bezier(.4,.4,.4,.4),
      box-shadow 1.5s ease, 
      filter 1.5s ease; 
  }

 
  .tile.raised {
    transform: translateY(-1px) scale(1);
    border-radius: 10px;
    z-index: 10;
 
  filter:
    brightness(1.3)
    saturate(1.2)
  }

/* .text-scroll{
  height: 15%;
  overflow: hidden;
  background: rgba(240, 255, 255, 0.3);  
  color:transparent
} */


    }

            @font-face {
        font-family: 'ag';
        src: url("ag/AGaramondPro-Regular.otf");
      }

                                                      @font-face {
        font-family: 'dms';
        src: url("dm-sans/DMSans-Regular.ttf");
      }

        /* @font-face {
        font-family: 'UTM_Times';
        src: url("UtmTimes-xOlr.ttf");
      }

            @font-face {
        font-family: 'fg';
        src: url("fg/fgwo____.ttf");
      }

                  @font-face {
        font-family: 'mb';
        src: url("mb/ZT-Mostion.ttf");
      } */


    

