@import url(https://fonts.googleapis.com/css?family=Open+Sans:600);

@media (min-device-width : 320px) and (max-device-width : 900px) {
/* Smartphone  */
nav {
  position: fixed;
  top: 1%;
  left: 5%;
  width: 90%;
  background-color: #b4d59e;
  border-bottom: 2px solid #70a368;
  border-radius: 25px;
  height: 50px;
  z-index: 1;
}
.clear{
    clear:both;
}
.nav-cnt {
  display: flex;
  list-style-type: none;
  justify-content: center;
  flex-wrap: wrap;
  padding-left: 0px;

}

.nav-itm{
  padding: 1px;
}

.menu{
  color: #ffffff;
  text-decoration: none;
  padding: 5px;
}
.sfondo{
  background-image: url("../sfondo4.jpg");
  background-size: 185%;
  background-position: bottom 5px;
  background-repeat: no-repeat;
  position: absolute;
  top: 300px;
  left: 0px;
  right: 0px;
  z-index: -4;
  height: 390px;
  overflow: hidden;
  background-color: red;

  border-radius: 0 0 25px 25px;
}

.blank{
  height: 650px;
}

.logo{
  position: absolute;
  top: 90px;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
}
.logo img{
  height: 150px;
}

.title{
  position: relative;
  top: 270px;
  text-align: center;
  font-size: 20px;
  color: #184406;
  font-family: "times new roman"
}
.title h1{
    font-family: "times new roman"
}
.subtitle{
  position: relative;
  top: 250px;
  text-align: center;
  font-size: 15px;
  font-family: "times new roman"
}
.subtitle h1{
    font-family: "times new roman"
}
.STB p{
  font-size: 20px;
}
.main-btn{
  font-family: 'Open Sans', 'sans-serif';
  position: relative;
  top: 300px;
  color: white;
  font-size: 15px;
  text-align: center;
  padding: 8px;
}
.main-btn a {
  text-decoration: none;
  color: white;
}

.main-ctn{
  position: relative;
  font-family: 'Open Sans', 'sans-serif';
}
.main-ctn h2{
  font-size: 20px;
  font-weight: bolder;
}
.tx-box-tx2 h3, .tx-box-tx h3{
  font-size: 15px;
  padding-left: 20px;
}

.main-pfp-img{
  float: left;
  width: 100%;
  align-items: center;
  display: flex;
  justify-content: center;
}
.main-pfp-img img {
  height: 200px;
  border-radius: 50%;
}

.main-pfp h1{
  text-align: center;
}
.main-pfp h3{
  text-align: center;
}

.main-tx-box{
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0,0,0, .2);
}
.main-tx-box2{
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  height: 1000px;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0,0,0, .2);
}
.main-tx-box:hover {
  box-shadow:0 5px 10px rgba(0,0,0,.15);}

.tx-box-tx{
  margin-left: 20px;
  width: 60%;
  float: left;
}
.tx-box-tx2{
  margin-left: 5%;
  margin-right: 5%;
  width: 90%;
}
.tx-box-img{
    float: right;
}
.tx-box-img2{
  margin-top: 100px;
  margin-left: 950px;
}
.tx-box-img img{
  height: 100px;
}
.tx-box-img2 img{
  height: 100px;
}

.footer {
  font-family: 'Open Sans', 'sans-serif';
  margin-top: 15px;
  color: white;
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  background-color: #333;
  border-top: 2px solid #b4d59e;
}
.footer footer {
  padding: 15px;
}
.footer-1{
  text-align: center;
  display: block;
}
.footer-1a{
  width: auto; display: inline-block; position: relative}
.footer-1a ul{
    text-align: right;
    margin-right: 20px;
}
.navf-itm{
  list-style: none;
  float: left;
  width: auto;
  padding: 0 2px 0 2px;
}
.footer a {
  color: #b4d59e;
}
.footer-1b{
  width: auto; display: inline-block; position: relative
}
.footer-1b p{
  text-align: center;
}
.footer-1c{
  width:auto; display: inline-block; position: relative
}
.footer-1c i{
  font-size:36px;
  padding: 3px;
}
.footer-2 {
  font-family: 'Open Sans', 'sans-serif';
  font-size: 12px;
  color: #b4d59e;
  text-align: center
}
#my-div {
  position: fixed;
  text-align: center;
  top: 10px;
  left: 10px;
  width: 20%;
  display: none;
}
#my-div img{
  height: 100px;
    border-radius: 50%;
}
}
