@font-face {
    font-family: "ChalkFont";
    src: url(../fonts/chalkboard.ttf) format("truetype"),
    url(../fonts/chalkboard.woff) format("woff"),
    url(../fonts/chalkboard.woff2) format("woff2");
}

@font-face {
    font-family: "MenuChalkFont";
    src: url(../fonts/pastelcrayon.ttf) format("truetype");
}

body {
    font: 40px Annie Use Your Telescope, "Comic Sans MS", cursive, sans-serif;
    line-height: 1.8;
    color: rgb(0,0,0);
}

p {font-family: "Comic Sans MS", cursive;
    font-size: 20px;}

p.paraStyle{
    text-align: left;
    -moz-text-align-last: left; /* Code for Firefox */
    text-align-last: left;
    margin-left: 30px;
    margin-right: 30px;
}

p.headline{
    padding-top: 5%;
    font-size: 35px;
}

p.reducedSpace{
    margin-bottom: -10px;
}

h1{
    /*font: 80px Kalma, cursive;*/
    font: 50px ChalkFont, cursive;
    line-height: 1.8;
    color: rgb(0,0,0);
    position: absolute;
    left: 400px;
    top: 100px;}
h2{font: 50px Annie Use Your Telescope, cursive;
    line-height: 1.8;
    color: rgb(0,0,0);}
h3{font: 40px Annie Use Your Telescope, cursive;
    line-height: 1.8;
    color: rgb(0,0,0);}
div.relative{
    position: relative;
    top: 200px;
}

p.project {
    margin-bottom: 0;
}

.bg-1{
    background-color: #F6F6F6;
}

.myfontSize{
    font: 25px Annie Use Your Telescope;
}

.mymenufontSize{
    font: 25px Annie Use Your Telescope;
}

.mymenufontSizeSelect{
    font: 40px Annie Use Your Telescope;
}

.navbar {
    padding-top: 15px;
    padding-bottom: 15px;
    border: 0;
    border-radius: 0;
    margin-bottom: 0;
    font-size: 12px;
    letter-spacing: 5px;
    background-color: rgb(255,255,255);
    opacity: 1;
}
.navbar-nav  li a:hover {
    color: #1abc9c !important;
}

.navbar-inverse {
    background-color: white;
}
.navbar-left{
    position:relative;
    /*left:-180px;*/
}

.navbar-text {
    font-size: 20px;
    color: black !important;
    display: flex;
    flex-direction: row;
}

.navbar-inverse .navbar-toggle .icon-bar {
    background-color: black;
}

.navbar-toggle {
    background-color: #F6F6F6;
}

.projectName {
    display: flex;
    flex-direction: column;
    margin-right: 0;
    margin-left: 15px;
    letter-spacing: 3px !important;
    width: 75%;
    left: 25px;
}

.ercHeader {
    display:flex;
    flex-direction: column;
    margin-right: 0;
    width: 25%;
}

.container-fluid {
    padding-bottom: 0px;
}

.container-fluid .direction {
    display:flex;
    flex-direction: column;
}

.container-row {
    display: flex;
    flex-direction: row;
    /*flex-wrap: wrap;*/
}

.cardDimensions{
    width:75%;
    height:30%;
}

.photoDimensions{
    width:25%;
}

.polaroid-images a:after {
    /*color: #333;*/
    font: 15px ChalkFont, cursive;
    line-height: 1.8;
    color: rgb(0,0,0);
    /*font-size: 20px;*/
    content: attr(title);
    position: relative;
    top:-5px;
}
.polaroid-images a{
    background: white;
    display: inline;
    float: left;
    margin: 0 60px 30px;
    padding: 10px 10px 25px;
    text-align: center;
    text-decoration: none;
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, .3);
    -moz-box-shadow: 0 4px 6px rgba(0,0,0,.3);
    box-shadow: 0 4px 6px rgba(0,0,0,.3);
    -webkit-transition: all .15s linear;
    -moz-transition: all .15s linear;
    transition: all .15s linear;
    z-index:0;
    position:relative;
    -webkit-transform: rotate(-2deg);
    -moz-transform: rotate(-2deg);
}

.polaroid-base {
    min-width: 480px;
    max-width: 550px;
    max-height: 620px;
    background: white;
    display: inline;
    float: left;
    margin: 0 30px 30px;
    padding: 20px 20px 25px;
    text-align: center;
    text-decoration: none;
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, .3);
    -moz-box-shadow: 0 4px 6px rgba(0,0,0,.3);
    box-shadow: 0 4px 6px rgba(0,0,0,.3);
    -webkit-transition: all .15s linear;
    -moz-transition: all .15s linear;
    transition: all .15s linear;
    z-index:0;
    position:relative;
    -webkit-transform: rotate(-2deg);
    -moz-transform: rotate(-2deg);
}

.polaroid-base.madalina{
    max-height: 520px !important;
}

.polaroid-base.dovile{
    max-height: 520px !important;
}

.polaroid-base.benjamin{
    max-height: 500px !important;
}

.polaroid-base.saar{
    max-height: 530px !important;
}

.polaroid-base-title {
    font: 40px Annie Use Your Telescope, cursive;
    line-height: 1.8;
    color: rgb(0,0,0);
    position: relative;
    top:10px;
}

.polaroid-images img{
    height: 350px;
}

.adjustToImg img{
    margin-bottom: 0;
    height:100%;
    width: 390px;
}

.adjustToImgMada img{
    margin-bottom: 0;
    height:90%;
    width: 360px;
}

.adjustToImgSaar img{
    margin-bottom: 0;
    height:100%;
    width: 370px;
}

.adjustToImgBen img{
    margin-bottom: 0;
    height:100%;
    width: 370px;
}

.introSetup{
    margin-right: 2.5%;
    margin-left: 2.5%;
}

.introSetup p{
    font: 20px "Comic Sans MS"
}

.bg-2 {
    background-color: white;
}

.cardSetup{
    margin-bottom: 5%;
}

.bg-3 {
    background-color: #ffffff; /* White */
    color: #555555;
}

.sectionGap {
    margin-bottom: 50px;
}

.row-m-t{
    margin-top : 60px
}

.margin {margin-bottom: 45px;}

a.linkHover:hover{
    color: #e05e00;
}


@media only screen and (max-width: 1000px) {
    h2{font: 40px Annie Use Your Telescope, cursive;
        line-height: 1.8;
        color: rgb(0,0,0);}
    h3{font: 40px Annie Use Your Telescope, cursive;
        line-height: 1.2;
        color: rgb(0,0,0);}
    p {font-family: Lato, cursive;
        font-size: 18px;
        line-height: 1.3;}
    .polaroid-base {
        min-width: 300px;
        max-height: 450px;
        background: white;
        display: inline;
        float: left;
        /*margin: 0 60px 60px;*/
        margin:auto;
        padding: 20px 20px 25px;
        text-align: center;
        text-decoration: none;
        -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, .3);
        -moz-box-shadow: 0 4px 6px rgba(0,0,0,.3);
        box-shadow: 0 4px 6px rgba(0,0,0,.3);
        -webkit-transition: all .15s linear;
        -moz-transition: all .15s linear;
        transition: all .15s linear;
        z-index:0;
        position:relative;
        -webkit-transform: rotate(-2deg);
        -moz-transform: rotate(-2deg);
    }
    .container-row {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
    }
    p.paraStyle{
        text-align: left;
        -moz-text-align-last: left; /* Code for Firefox */
        text-align-last: left;
        margin-left: 5px;
        margin-right: 5px;
    }

    .adjustToImg img{
        /*margin: 15px;*/
        margin-bottom: 0;
        height: 300px;
        width:100%
    }

}


@media only screen and (max-width: 800px) {
    h2{font: 40px Annie Use Your Telescope, cursive;
        line-height: 1.8;
        color: rgb(0,0,0);}
    h3{font: 40px Annie Use Your Telescope, cursive;
        line-height: 1.2;
        color: rgb(0,0,0);}
    p {font-family: Lato, cursive;
        font-size: 18px;
        line-height: 1.3;}
    .polaroid-base {
        min-width: 300px;
        max-height: 450px;
        background: white;
        display: inline;
        float: left;
        /*margin: 0 60px 60px;*/
        margin:auto;
        padding: 20px 20px 25px;
        text-align: center;
        text-decoration: none;
        -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, .3);
        -moz-box-shadow: 0 4px 6px rgba(0,0,0,.3);
        box-shadow: 0 4px 6px rgba(0,0,0,.3);
        -webkit-transition: all .15s linear;
        -moz-transition: all .15s linear;
        transition: all .15s linear;
        z-index:0;
        position:relative;
        -webkit-transform: rotate(-2deg);
        -moz-transform: rotate(-2deg);
    }
    .container-row {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
    }
    p.paraStyle{
        text-align: justify;
        -moz-text-align-last: right; /* Code for Firefox */
        text-align-last: left;
        margin-left: 5px;
        margin-right: 5px;
    }

    .adjustToImg img{
        /*margin: 15px;*/
        margin-bottom: 0;
        height: 300px;
        width:100%
    }

}

@media only screen and (max-width: 400px) {
    h2{font: 40px Annie Use Your Telescope, cursive;
        line-height: 1.8;
        color: rgb(0,0,0);}
    p {font-family: Lato, cursive;
        font-size: 18px;
        line-height: 1.3;}
    .polaroid-base {
        min-width: 250px;
        max-height: 450px;
        min-height: 350px;
        background: white;
        display: inline;
        float: left;
        /*margin: 0 30px 30px;*/
        margin:auto;
        padding: 20px 20px 25px;
        margin-bottom: 20px;
        text-align: center;
        text-decoration: none;
        -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, .3);
        -moz-box-shadow: 0 4px 6px rgba(0,0,0,.3);
        box-shadow: 0 4px 6px rgba(0,0,0,.3);
        -webkit-transition: all .15s linear;
        -moz-transition: all .15s linear;
        transition: all .15s linear;
        z-index:0;
        position:relative;
        -webkit-transform: rotate(-2deg);
        -moz-transform: rotate(-2deg);
    }
    .container-row {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
    }
    p.paraStyle{
        text-align: left;
        -moz-text-align-last: left; /* Code for Firefox */
        text-align-last: left;
        margin-left: 5px;
        margin-right: 5px;
    }

    .adjustToImg img{
        /*margin: 15px;*/
        margin-bottom: 0;
        /*height: 200px;*/
        width:100%
    }

    .photoDimensions{
        width:100%;
    }

    .cardDimensions{
        width:100%;
        height:30%;
    }

}
