* {
    box-sizing: border-box;
    margin: 0;
}

/* Contact */

.contact-1 {
    margin-top: 13%;
    margin-left: 20px;
    margin-right: 2.7%;
    width: 100%;
}

#name {
    margin-bottom: 10px;
    width: 50%;
    border: 1px solid #8e8e8e4d;
    font-family: 'Merriweather', serif !important;
    font-style: italic !important;
    color: #4c4c4c;
    font-size: 12px;
    padding: 13px 0px 13px 20px;
    transition: 0.7s;
}

#name:focus {
    outline: 0;
    border: 3px solid #66d2ed;
    transition: 0.7s;
}

#name::-webkit-input-placeholder {
    font-size: 12px;
    padding-left: 0px;
}

#name:-moz-placeholder {
    font-size: 12px;
    padding-left: 0px;
}

#name:-ms-input-placeholder {
    font-size: 12px;
    padding-left: 0px;
}

#email {
    width: 49.4%;
    border: 1px solid #8e8e8e4d;
    font-family: 'Merriweather', serif !important;
    font-style: italic !important;
    color: #4c4c4c;
    font-size: 12px;
    padding: 13px 0px 13px 20px;
}

#email:focus {
    outline: 0;
    border: 3px solid #66d2ed;
    transition: 0.7s;
}

#email::-webkit-input-placeholder {
    font-size: 12px;
    padding-left: 0px;
}

#email:-moz-placeholder {
    font-size: 12px;
}

#email:-ms-input-placeholder {
    font-size: 12px;
}

#caption {
    margin-bottom: 10px;
    width: 100%;
    border: 1px solid #8e8e8e4d;
    font-family: 'Merriweather', serif !important;
    font-style: italic !important;
    color: #4c4c4c;
    font-size: 12px;
    padding-left: 20px;
    padding-top: 13px;
    padding-bottom: 13px;
}

#caption:focus {
    outline: 0;
    border: 3px solid #66d2ed;
    transition: 0.7s;
}

#caption::-webkit-input-placeholder {
    font-size: 12px;
    padding-left: 0px;
}

#caption:-moz-placeholder {
    font-size: 12px;
    padding-left: 0px;
}

#caption:-ms-input-placeholder {
    font-size: 12px;
    padding-left: 0px;
}

#subject {
    margin-bottom: 10px;
    width: 100%;
    height: 200px;
    border: 1px solid #8e8e8e4d;
    font-family: 'Merriweather', serif !important;
    font-style: italic !important;
    color: #4c4c4c;
    font-size: 12px;
    padding-left: 20px;
    padding-top: 13px;
    padding-bottom: 13px;
}

#subject:focus {
    outline: 0;
    border: 3px solid #66d2ed;
    transition: 0.7s;
}

#subject::-webkit-input-placeholder {
    font-size: 12px;
    padding-left: 0px;
}

#subject:-moz-placeholder {
    font-size: 12px;
    padding-left: 0px;
}

#subject:-ms-input-placeholder {
    font-size: 12px;
    padding-left: 0px;
}

.p-for-form-press {
    float: left;
    margin: 20px 50px 0px 10px;
    font-size: 15px;
    font-family: 'Merriweather', serif !important;
    color: #4c4c4c;
    line-height: 27px;
    font-style: normal;
    font-weight: 400;
}

.submit {
    background-color: #46b2cc;
    color: #ffff;
    height: 45px;
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 22px;
    border: none;
    margin-top: -30px;
    float: right;
}

.submit:hover {
    background-color: #46b2cc;
    transition: 0.3s;
}

#submit {
    width: 160px;
}

.for-img-label{
    display: grid;
    width: 300px;
    height: 176px;
    justify-items: stretch;
}

.upload-img {
    width: 110px;
    height: 110px;
}

.upload-img:hover {
    cursor: pointer;
}

.for-button-span {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.button-bar-kirin{
    width: 110px;
    height: 30px;
}

@media only screen and (max-width: 992px) {

    .contact-form {
        padding: 10px;
    }

    .contact-1 {
        margin: 0 auto;
        margin-top: 130px;
        width: 100%;
        padding: 10px;
    }

    #name {
        width: 100% !important;
    }

    #email {
        width: 100%;
    }

    .submit {
        float: left;
        margin-top: 20px;
    }

    .upload-img {
        margin-left: 130px;
    }
}

@media only screen and (max-width: 768px) {
    .contact-1 {
        margin-top: 140px;
    }
}


@media only screen and (max-width:376px) {
    
    .for-button-span{
        font-size: 11px;
    }

    .upload-img {
        margin-left: 120px;
        width: 110px;
        height: 90px;
    }

    .contact-1 {
        margin: 0 auto;
        margin-top: 40%;
        width: 100%;
        padding: 10px;
    }
  }

@media only screen and (max-width: 320px) {

    .for-button-span{
        font-size: 9px;
    }

    .upload-img {
        margin-left: 92px;
        width: 100px;
        height: 80px;
    }
}
input#file:before{
    content: 'Bar bike';
    background: green;
    position: absolute;
    width: 86px;
    height: 20px;
    text-align: center;
    background: #eeeeee;
    color: black;
    margin: 3px;
    font-weight: 600;
}
.pseudo{
    position: relative;
}
.pseudo:after{
    background: white;
    width: 115px;
    position: absolute;
    left: 92px;
    content: 'Nehat hilbijartin';
    padding: 0 10px;
    margin-top: 2px;}