@font-face{
    font-family: calibri-mob;
    src: url(calibri.ttf);
}

body{
    font-family: calibri;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow-x: hidden;
}

h2{
    font-weight: bold;
    font-size: 48px;
    color: rgb(6, 131, 204);
    text-align: center;
}

input{
    padding-left: 10px;
}

input:focus, textarea:focus, button:focus{
    outline: none;
}

textarea{
    resize: none;
    padding: 10px 10px;
}

.para{
    font-weight: lighter;
    line-height: 1.3;
    position: relative;
    top: -25px;
    font-size: 21px;
    color: rgb(54,54,54);
    text-align: center;
}

.slider{
width: 100vw;
height: 500px;
overflow: hidden;
}

.slides{
    width: 500%;
    height: 500px;
    display: flex;
}

.slides input{
    display: none;
}

.slide{
    width: 20%;
    transition: 2s;
}

.slide img{
    width: 100vw;
    height: 500px;
}

.navigation-manual{
    position: absolute;
    width: 99vw;
    margin-top: -40px;
    display: flex;
    justify-content: center;
}

.manual-btn{
    border: 2px solid ivory;
    padding: 5;
    border-radius: 10;
    cursor: pointer;
    transition: 1s;
}

.manual-btn:not(:last-child){
    margin-right: 40px;
}

.manual-btn:hover{
    background: ivory;
}

#radio1:checked ~ .first{
    margin-left: 0;
}
#radio2:checked ~ .first{
    margin-left: -20%;
}
#radio3:checked ~ .first{
    margin-left: -40%;
}

.navigation-auto{
    position: absolute;
    display: flex;
    width: 99vw;
    justify-content: center;
    margin-top: 460px;
}

.navigation-auto div:not(:last-child){
    margin-right: 40px;
}

#radio1:checked ~ .navigation-auto .auto-btn1{
    background: #FFF;
}
#radio2:checked ~ .navigation-auto .auto-btn2{
    background: #FFF;
}
#radio3:checked ~ .navigation-auto .auto-btn3{
    background: #FFF;
}

#logo{
    width: 10vw;
    height: 10vw; 
}

#logo-text{
    width: 20vw;
    height: 7vw;
}

#nav-menu{
    margin-right: 50px;
    font-size: 20px;
    color: rgb(6, 131, 204);
}

#menu-btn{
    display: none;
    margin-right: -10px;
    margin-top: -50px;
}

.button{
  width: 150px;
  background-color: rgb(255, 153, 0);
  border: none;
  border-radius: 5px;
  color: white;
  padding: 15px 32px;
  text-decoration: bold;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

.button:hover{
    background-color: rgb(238, 143, 0);
}

a{
    text-decoration: none;
}
a:link{
    color: rgb(6, 131, 204);
}
a:hover{
    color: rgb(255, 153, 0);
}
a:active{
    color: rgb(255, 153, 0);
}

#menu-tbl{
    position: relative;
    top: 120px;
}

#menu-bar{
    position: fixed;
    top: 00px;
    height: 100vh;
    width: 100vw;
    background-color: ivory;
    display: none;
}

#close-btn{
    position: absolute;
    left: 88.5%;
    top: 22px;
}

.icons{
    position: relative;
    top: 0px;
    height: 90px;
    transition: top 0.5s;
}

.icons:hover{
    top: -50px;
}

#sub-field{
    position: relative;
    top: -20px;
    height: 40px;
    box-sizing: content-box;
    border: 1px solid grey;
    border-radius: 10px;
}

.icon-head{
    position: relative;
    font-size: 32px;
    font-weight: normal;
    color: rgb(54,54,54)
}

#footer{
    height: 400px;
    background-color: rgb(255, 214, 143);
}

#foot-tab-mob{
    display: none;
}

#low-foot-mob{
    display: none;
}

#foot-span{
    font-size: 19px;
}

.form{
    height: 40px;
    width: 200px;
    box-sizing: content-box;
    border: 1px solid grey;
    border-radius: 10px;
}

.contact-head{
    height: initial;
    position: relative;
    z-index: -2;
}

.head-text{
    color: rgb(82, 82, 82);
    position: relative;
    top: -300px;
    margin-left: -400px;
    font-size: 60px;
}

#ab-hd-txt{
    color: white;
    top: -480px;
    margin-left: -550px;
}

#contact-table{
    position: relative; 
    top: -160px;
}

#contact-table-mob{
    display: none;
    margin-left: 20px;
    position: relative;
    top: -60px;
    z-index: -1;
}

#ab-bann-but{
    position: relative;
    top: -500px;
    margin-left: 280px; 
    width: 150px; 
    z-index: -1;
}

#con-bann-but{
    position: relative;
    top: -300px;
    margin-left: 100px;
    width: 150px; 
    z-index: -1;
}

#about-head{
    position: relative; 
    top: -250px;
    z-index: -1;
}

#about-para{
    position: relative;
    top: -260px;
    text-align: justify;
    width: 50%;
    z-index: -1;
}

.modal{
    visibility: hidden;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 50px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */ /* Enable scroll if needed */
    overflow: auto;
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    transition: visibility 0.5s;
  }

  .modal-content{
    background-color: rgb(255, 214, 143);
    opacity: 0;
    margin: auto;
    margin-bottom: 100px;
    padding: 40px;
    width: 80%;
    border-radius: 20px;
    transition: opacity 1s;
  }

  .close{
    color: rgb(54,54,54);
    float: right;
    font-size: 48px;
    font-weight: bold;
    position: relative;
    top: 0px;
    transition: top 0.5s;
  }

  .close:hover,
  .close:focus{
    color: rgb(255, 153, 0);
    top: -25px;
    text-decoration: none;
    cursor: pointer;
}

@media (orientation: portrait){
    body{
        font-family: calibri-mob;
    }

    .slider{
        height: 30vh;
    }

    .slides{
        height: 30vh;
    }

    .slide img{
        height: 30vh;
    }

    #logo{
        width: 20vw;
        height: 20vw; 
    }
    
    #logo-text{
        width: 50vw;
        height: 18vw;
    }

    #nav-menu{
        display: none;
    }

    #main-btn{
        display: none;
    }

    #menu-btn{
        display: inherit;
    }

    h2{
        font-size: 32px;
    }

    .para{
        font-size: 17px;
        font-weight: normal;
        top: 0px;
    }

    .icons{
        height: 60px;
    }

    .icon-head{
        font-size: 22px;
    }

    #icon1{
        position: relative;
        
    }

    #head1{
        position: relative;
    }

    #p1{
        position: relative;
    }

    #footer{
        height: 770px;
    }

    #foot-tab{
        display: none;
    }

    #foot-tab-mob{
        display: inherit;
    }

    #foot-span{
        font-size: 17px;
    }

    #low-foot{
        display: none;
    }

    #low-foot-mob{
        display: inherit;
    }

    .head-text{
    top: -130px;
    margin-left: 0px;
    font-size: 28px;
    z-index: -1;
    }

    #ab-hd-txt{
        top: -160px;
        margin-left: 0px;
    }

    #contact-table{
        display: none;
    }

    #contact-table-mob{
        display: inherit;
    }

    #ab-bann-but{
        top: -180px;
        margin-left: 100px;
    }

    #con-bann-but{
        top: -130px;
        margin-left: 105px;
    }

    #about-head{
        top: -140px;
    }

    #about-para{
        top: -160px;
        width: 70%;
    }
}