/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

*,
*::before,
*::after{
            -webkit-box-sizing: border-box;
                    box-sizing: border-box;
}

html{
    padding: 0;
    margin: 0;
}
body{
    padding: 0;
    margin: 0;
		background-image: url("bg.jpg");
		background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.wrapper{
    height: 100vh;
    
}

.overlay{
    height: 100%;
    background-color: rgba(0,0,0, 0.3);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
		flex-wrap:wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    position: relative;
}

@media only screen and (max-width: 600px) {
    .overlay{
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
}

.card{
		width:322px;
		margin:10px;
    background-color: #5C4734;
    border-radius: 4px;
    padding: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-shadow: 0px 4px 11px -2px rgba(0,0,0,0.75);
            box-shadow: 0px 4px 11px -2px rgba(0,0,0,0.75);
    z-index: 2;
}

.img-wrapper{
    margin-bottom: 10px;
}

img{
    height: 150px;
}

.link {
    text-decoration: none;
    color: #EDC315;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    position: relative;
}

.text{
    color: #EDC315;
    font-size: 14px;
    font-weight: 400; 
    font-family: 'Roboto', sans-serif;
}

.text:first-of-type{
    margin-bottom: 2px;
}

.text:last-of-type{
    margin-bottom: 20px;
}

.hover-1{
    font-size: 18px;
    padding-bottom: 10px;
    margin-bottom: 5px;
}

.hover-1:after {
    content:'';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #EDC315;
    -webkit-transform: scaleX(0);
        -ms-transform: scaleX(0);
            transform: scaleX(0);
    -webkit-transform-origin: bottom right;
        -ms-transform-origin: bottom right;
            transform-origin: bottom right;
    -webkit-transition: -webkit-transform 0.5s;
    transition: -webkit-transform 0.5s;
    -o-transition: transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
}

.hover-1:hover:after {
    -webkit-transform-origin: bottom left;
        -ms-transform-origin: bottom left;
            transform-origin: bottom left;
    -webkit-transform: scaleX(1);
        -ms-transform: scaleX(1);
            transform: scaleX(1);
}

.top-logo{
    height: 100px;
    position: absolute;
    top: 20px;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    z-index: 1;
}

@media all and (max-width:700px){
	.overlay{
		display:block;
		padding-top: 120px;
		height:auto;
		min-height:100vh;
	}
	
	.overlay .card{
		text-align:center;
		display:block;
		margin-left:auto;
		margin-right:auto;
	}
	.wrapper{
		height:auto;
		min-height:100vh;
	}
	.img-wrapper img{
		height: 100px;
    display: block;
    margin: 0 auto;
	}
}