@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    #form{
        padding:2%;
        margin-top:8%;
        margin-bottom:5%;
        margin-left:3%;
        margin-right:3%;
        background-color:#f0f0f5;
        border-radius:15px;
    }

    .toast-success {
      background-color: #00ad5f;
    }
    
    #toast-container > div {
       opacity: 1;
      -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
      filter: alpha(opacity=100);
      width: 350px;
    }

    .sizeselect{
      width:56%;
    }

    #black{
      width:35%;
      height:auto;
    }

    #huisnr{
        width:80%;
    }

    #adres{
        width:95%;
    }

    .sizeinputs{
        width:85%;
    }

    label{
        font-size:12px;
    }

    #floatleft{
        width:49%;
        float:left;
    }

    #stylebtn{
        padding:10px;
        background-color:black;
        color:white;
        font-family: 'Roboto', sans-serif;
    }

    #clearboth{
        clear: both;
        padding:3px;
    }

    #icon{
        width:150px;
        height:auto;
        padding:3%;
    }

    #imagebox{
      margin-left: auto;
      margin-right: auto;
      display: inline-block
    }

      body{
        background-image:url("../images/achtergrond6.jpg");
        background-position:top;
        background-size:cover;
        background-repeat: no-repeat;
        bottom:0;
      }

      .example_d {
        border-radius: 4px;
        background: linear-gradient(to right, #000000, #000000) !important;
        border: none;
        color: #FFFFFF;
        text-align: center;
        text-transform: uppercase;
        font-size: 12px;
        padding: 5px;
        width: 100px;
        transition: all 0.4s;
        cursor: pointer;
        margin: 5px;
        }
    
        .example_d span {
            cursor: pointer;
            display: inline-block;
            position: relative;
            transition: 0.4s;
          }
    
          .example_d span:after {
            content: '\00bb';
            position: absolute;
            opacity: 0;
            top: 0;
            right: -20px;
            transition: 0.5s;
          }
    
          .example_d:hover span {
            padding-right: 25px;
          }
    
          .example_d:hover span:after {
            opacity: 1;
            right: 0;
          }

          h1{
            font-size:16px !important;
          }
    
          h4{
            font-size: 14px !important;
          }
    
          h2{
            font-size: 14px !important;
          }
    
          label{
            font-size:12px !important;
          }
    
          #pads{
            font-size:12px;
          }
    
        .font{
          font-size: 12px;
        }
  }

@media only screen and (min-width: 768px) {

h1, h4, label, button {
    font-family: 'Roboto', sans-serif;
}

.sizeselect{
  width:50%;
}

#imagebox{
  margin-left: auto;
  margin-right: auto;
  display: inline-block
}

#icon{
    width:200px;
    height:auto;
}

#pads{
  font-size:12px;
}

#logo{
    padding:3%;
    text-align:center;
}

.sizeinputs{
    width:85%;
}

#huisnr{
    width:80%;
}

#form{
    padding:2%;
    margin-bottom:2%;
    margin-left:25%;
    margin-right:25%;
    background-color:#f0f0f5;
    border-radius:15px;
}

#floatleft{
    float:left;
}

#black{
  width:25%;
  height:auto;
}

#clearboth{
    clear: both;
}

.size{
    margin-left:25px;
}

#stylebtn{
    padding:10px;
    background-color:black;
    color:white;
    font-family: 'Roboto', sans-serif;
}

.toast-success {
  background-color: #00ad5f;
}

#toast-container > div {
   opacity: 1;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  filter: alpha(opacity=100);
  width: 350px;
}

  body{
    background-image:url("../images/achtergrond5.jpg");
    background-position: top left;
    background-size:cover;
    background-repeat: no-repeat;
    bottom:0;
  }

  .example_d {
    border-radius: 4px;
    background: linear-gradient(to right, #000000, #000000) !important;
    border: none;
    color: #FFFFFF;
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    padding: 10px;
    width: 125px;
    transition: all 0.4s;
    cursor: pointer;
    margin: 5px;
    }

    .example_d span {
        cursor: pointer;
        display: inline-block;
        position: relative;
        transition: 0.4s;
      }

      .example_d span:after {
        content: '\00bb';
        position: absolute;
        opacity: 0;
        top: 0;
        right: -20px;
        transition: 0.5s;
      }

      .example_d:hover span {
        padding-right: 25px;
      }

      .example_d:hover span:after {
        opacity: 1;
        right: 0;
      }

    .pright{
      padding-right:5px;
    }
}