



body {
    background-image: url('images2/akiu_namai_fonas.jpg');
    background-size: 30%;
    background-repeat: repeat;
    background-position: -350px 0px;
    -webkit-margin-before: 0em;
    -webkit-margin-after: 0em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 0px;

    font-family: "Roboto"  /*, sans-serif*/;
  }
html {
    font-size: 17px;
    color: rgb(0, 0, 0);
    /* font-family: "Source Sans Pro", sans-serif; */
    background-color: #ffffff;
    padding: 0%;
    margin: 0%;
  }


  .back-side {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 2% 96% 2%;
    grid-template-rows: 4% 92% 4%;
    position: relative;
    margin: 0px auto;
    overflow: hidden;
    /*box-shadow: 2px 5px 15px 0px #000000;*/
    background-color: #12252900;
    padding-bottom: 0%;
    padding-top: 0%;
    padding-left: 6%;
    padding-right: 6%;
    
  }
  .front-side {
    width: 100%;
    height: 100%;
    padding-bottom: 8%;
    padding-top: 12%;
    padding-left: 16%;
    padding-right: 16%;
}

  .info-grid {
    /*grid-column: 2/3;
    grid-row: 2/3;
    /*z-index: 2;*/
    width: 100%;
    height: auto;


    background-color: rgb(255, 255, 255);
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.432);
    border-radius: 6px;
    font-size: 0.7rem; /*12px;*/
    display: grid;
    grid-template-columns: 15px repeat(3, 1fr) 15px;
    grid-template-rows: 33% 33% 33% ;
    line-height: 0px;


  }
  .info-grid .name {
    grid-column: 2 / span 2;
    grid-row: 1 / span 1;
    font-size: 4em;
    letter-spacing: .1rem;
    margin-top: 8px;
    text-align: start;
  }
  .info-grid .name h5{
    font-weight: unset;
    
  }
  .info-grid .addr {
    grid-column: 2 / span 2;
    grid-row: 3;
    text-align: start;

  }
  
  .info-grid .phoneNo {
    grid-column: 4 / span 1;
    grid-row: 2;
    text-align: end;
  }
  .info-grid .emailId {
    grid-column: 4 / span 1;
    grid-row: 3;
    text-align: end;
    /*padding-top: 20%;*/
  }
  .info-grid .FaceBookLink {
    grid-column: 4 / span 1;
    grid-row: 1;
    text-align: end;
    padding-top: 8px;
  }


  a {
    text-decoration: none;
    color: rgb(0, 0, 0);; 
  }

  /*.a-facebook:hover {
    color: rgb(66, 81, 166);
    transition: fill 0.3s;
  }
  .a-phone:hover {
    color: rgb(146, 41, 198);
    transition: fill 0.3s;
  }
  .a-email:hover {
    color: rgb(176, 32, 32);
    transition: fill 0.3s;
  }  */
  .a-addr:hover, 
  .a-email:hover, 
  .a-phone:hover, 
  .a-facebook:hover {
    color: rgb(192, 154, 0);
    transition: color 0.3s; /* Corrected the property name from 'fill' to 'color' */
  }
  
  .back-side .name-tag {
    grid-column: 1 / span 4;
    grid-row: 2 / span 1;
    align-self: center;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgb(255 255 255 / 92%);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.288);
    font-size: 2rem;
    letter-spacing: 0rem;
    text-align: center;
    margin-top: 6%;
    margin-bottom: 6%;
    padding-bottom: 5%;
    padding-top: -0%;
    padding-left: 24%;
    padding-right: 24%;
}
  .name-tag h1,h3{
    margin: 2px;
    font-weight: unset;
  }

  .whiteBG {
    background-color: #ffffff;
    
    padding-left: 1%;
    padding-right: 1%;
  }
  .whiteSignText {
    color: #b7d1ff;
  }
  .whiteSignPrivacy {
    color: #c6c4ff;
  }

  .FacebookIconSVG, .EmailIconSVG, .PhoneIconSVG, .AddressIconSVG{
    width: 20%;
    height: 45%;
    margin: 1%;
  }
  

  .nameBig {
    font-size: 38px;
  }

  .nameSmall {
    font-size: 24px;
  }

  .nameData {
    font-size: 18px;
}
  .longTextSize{
    font-size: 20px;
  }
  h6.w3-center.w3-18.subtext2 {
    font-weight: 100;
    margin: 10px 0 25px 0;
}


  @media screen and (max-width: 2000px) {
    .FacebookIconSVG, .EmailIconSVG, .PhoneIconSVG, .AddressIconSVG{
      width: 25%;
      height: 40%;
      margin: 1%;
    }
    .nameBig {
      font-size: 32px;
    }
  
    .nameSmall {
      font-size: 19px;
    }
  
    .nameData {
      font-size: 16px;
    }
  }

  @media screen and (max-width: 1600px) {
    .FacebookIconSVG, .EmailIconSVG, .PhoneIconSVG, .AddressIconSVG{
      width: 18%;
      height: 40%;
      margin: 1%;
    }
    
  
    .nameBig {
      font-size: 26px;
    }
  
    .nameSmall {
      font-size: 16px;
    }
  
    .nameData {
      font-size: 14px;
    }
    .front-side {
      padding-left: 12%;
      padding-right: 12%;
  }
  }
  @media screen and (max-width: 1400px) {
    .FacebookIconSVG, .EmailIconSVG, .PhoneIconSVG, .AddressIconSVG{
      width: 18%;
      height: 40%;
      margin: 1%;
    }
    
  
    .nameBig {
      font-size: 22px;
    }
  
    .nameSmall {
      font-size: 14px;
    }
  
    .nameData {
      font-size: 12px;
    }
    .front-side {
      padding-left: 10%;
      padding-right: 10%;
  }
  }
  @media screen and (max-width: 1200px) {
    .FacebookIconSVG, .EmailIconSVG, .PhoneIconSVG, .AddressIconSVG{
      width: 18%;
      height: 40%;
      margin: 1%;
    }
    
  
    .nameBig {
      font-size: 24px;
    }
  
    .nameSmall {
      font-size: 15px;
    }
  
    .nameData {
      font-size: 13px;
    }
    .front-side {
      padding-left: 6%;
      padding-right: 6%;
  }

  
  }
  @media screen and (max-width: 1020px) {
    .FacebookIconSVG, .EmailIconSVG, .PhoneIconSVG, .AddressIconSVG{
      width: 18%;
      height: 40%;
      margin: 1%;
    }
    .nameBig {
      font-size: 22px;
    }
  
    .nameSmall {
      font-size: 13px;
    }
  
    .nameData {
      font-size: 12px;
    }
    .front-side {
      padding-left: 4%;
      padding-right: 4%;
  }
  }
  @media screen and (max-width: 900px) {
    .FacebookIconSVG, .EmailIconSVG, .PhoneIconSVG, .AddressIconSVG{
      width: 18%;
      height: 40%;
      margin: 1%;
    }
    .nameBig {
      font-size: 16px;
    }
  
    .nameSmall {
      font-size: 12px;
    }
  
    .nameData {
      font-size: 12px;
    }
    .front-side {
      padding-left: 4%;
      padding-right: 4%;
  }
  }

  @media screen and (max-width: 768px) {
    .FacebookIconSVG, .EmailIconSVG, .PhoneIconSVG, .AddressIconSVG{
      width: 18%;
      height: 40%;
      margin: 1%;
    }
    
  
    .nameBig {
      font-size: 20px;
    }
  
    .nameSmall {
      font-size: 14px;
    }
  
    .nameData {
      font-size: 12px;
    }
    .back-side {
      width: 100%;
      height: auto;


      position: relative;
      overflow: hidden;
      /*box-shadow: 2px 5px 15px 0px #000000;*/
      background-color: #12252900;
      
    }
    .front-side {
      width: 100%;
      height: 100%;
      /*display: grid;
     /* grid-template-columns: 2% 96% 2%;
      grid-template-rows: 4% 92% 4%;
      position: relative;
      overflow: hidden;
      /* box-shadow: 2px 5px 15px 0px #000000; */
      /*background-color: #12252900;*/
      padding-bottom: 4%;
      padding-top: -0%;
      padding-left: -0%;
      padding-right: -0%;
  

  }
  
    .info-grid {
      /*grid-column: 2/3;
      grid-row: 2/3;
      /*z-index: 2;*/
      width: 100%;
      height: auto;
  
  
      background-color: rgb(255, 255, 255);
      box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.432);
      border-radius: 6px;
      font-size: 0.7rem; /*12px;*/
      display: grid;
      grid-template-columns: 15px repeat(3, 1fr) 15px;
      grid-template-rows: 33% 33% 33% ;
      line-height: 0px;
  
  
    }

    .whiteBG {
      background-color: #ffffff;
      
      padding-left: -1%;
      padding-right: -1%;
    }

    .back-side .name-tag {
      grid-column: 1 / span 4;
      grid-row: 2 / span 1;
      align-self: center;
      /*z-index: 2;*/
      width: 100%;
      height: auto;
      display: flex;
      flex-direction: column;
      justify-content: center;

      font-size: 2rem; 
      letter-spacing: 0rem;
      text-align: center;
      padding-bottom: 2%;
      padding-top: -0%;
      padding-left: -0%;
      padding-right: -0%;

      margin-bottom: 5%;

      border-radius: 6px;
      
    }
  }
  @media screen and (max-width: 480px) {
    .FacebookIconSVG, .EmailIconSVG, .PhoneIconSVG, .AddressIconSVG{
      width: 25%;
      height: 40%;
      margin: 1%;
    }
    .nameBig {
      font-size: 14px;
    }
  
    .nameSmall {
      font-size: 11px;
    }
  
    .nameData {
      font-size: 10px;
    }
  }
  @media screen and (max-width: 320px) {
    .FacebookIconSVG, .EmailIconSVG, .PhoneIconSVG, .AddressIconSVG{
      width: 25%;
      height: 50%;
      margin: 1%;
    }
    .nameBig {
      font-size: 10px;
    }
  
    .nameSmall {
      font-size: 8px;
    }
  
    .nameData {
      font-size: 8px;
    }
  }

  @media screen and (max-width: 280px) {
    .FacebookIconSVG, .EmailIconSVG, .PhoneIconSVG, .AddressIconSVG{
      width: 25%;
      height: 50%;
      margin: 1%;
    }
    .nameBig {
      font-size: 8px;
    }
  
    .nameSmall {
      font-size: 6px;
    }
  
    .nameData {
      font-size: 6px;
    }
  }