@import url('//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css');

@font-face {
    font-family: myFirstFont;
    src: url(AveresTitle-Regular.otf);
}

div {
    font-family: myFirstFont;
}

.img-container {
    text-align: center;
    display: block;
}

.center {
    /*display: block;*/
    margin-left: auto;
    margin-right: auto;
    /*margin-bottom: 10px;*/
    width: 50%;
    height: 50%;
}


body {
    /* Location of the image */
    background-image: url("tło6.png");
    /* Background image is centered vertically and horizontally at all times */
    background-position: center center;
    /* Background image doesn't tile */
    background-repeat: no-repeat;
    /* Background image is fixed in the viewport so that it doesn't move when
       the content's height is greater than the image's height */
    background-attachment: fixed;
    /* This is what makes the background image rescale based
       on the container's size */
    background-size: cover;
}

.text {
    color: black;
    font-family: myFirstFont;
    font-size: 50px;
    font-weight: 400;
    text-align: center;
    /*line-height: 100px;*/
}

@media (max-width: 650px) {
    .text {
        font-size: 25px;
        margin-top: 30%;
    }

    .center {
        /*display: block;*/
        margin-left: auto;
        margin-right: auto;
        /*margin-bottom: 10px;*/
        width: 80%;
        height: 80%;
    }

}


a, a:hover {
    text-decoration: none;
}

.socialbtns, .socialbtns ul, .socialbtns li {
    margin: 0;
    padding: 5px;
}

.socialbtns li {
    list-style: none outside none;
    display: inline-block;
}

.socialbtns .fa {
    width: 40px;
    height: 28px;
    color: #000;
    background-color: #F5F1EE;
    border: 1px solid #000;
    padding-top: 12px;
    border-radius: 22px;
    -moz-border-radius: 22px;
    -webkit-border-radius: 22px;
    -o-border-radius: 22px;
}

.socialbtns .fa:hover {
    color: #F5F1EE;
    background-color: #000;
    border: 1px solid #000;
}