/*Font*/
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: local('Roboto'), local('Roboto-Regular'), url(../fonts/Roboto/roboto-v19-greek_cyrillic-ext_cyrillic_vietnamese_latin-ext_latin_greek-ext-regular.woff2) format('woff2');
}

/* Design */
body{
    background: url("../img/bg.png") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100vh;
    font-family: Roboto;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    background-color: #eaeef0;
    font-size: 16px;
}

body {
    color: #272727;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
    padding: 1rem;
}

.main{
    max-width: 80vw;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

h1 {
    font-size: 24px;
    font-weight: 400;
    text-align: center;
}

img {
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

.btn {
    color: #ffffff;
    padding: 0.8rem;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 4px;
    font-weight: 400;
    display: block;
    width: 100%;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
}

.btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.cards {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cards_item {
    display: flex;
    padding: 1%;
}

@media (min-width: 40rem) {
    .cards_item {
        width: 50%;
    }
}

@media (min-width: 56rem) {
    .cards_item {
        width: 33.3333%;
    }
}

h4 {
    font-size: calc(100vw / 70);
}

.card_image{
    margin : auto;
}

.card_image img {
    padding:10%;
    width:calc(100vw);
}

.card {
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition-duration: 0.3s;
    transition-property: transform;
    height: calc(calc(100vh / 3) - 5rem);
    width: -webkit-fill-available;
    justify-content: center;
}

.card:hover{
    box-shadow: 0 0 11px #007bffa3;
    transform: scale(1.1);
    border-color: #007bffa3;
    cursor: pointer;
}
.card_content {
    padding: 1rem;
    background: linear-gradient(to bottom left, #EF8D9C 40%, #FFC39E 100%);
}

.card_title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: capitalize;
    margin: 0px;
}

.card_text {
    color: #ffffff;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    font-weight: 400;
}
.made_by{
    font-weight: 400;
    font-size: 13px;
    margin-top: 35px;
    text-align: center;
}

@media only screen and (min-width: 20rem){
    .main center img {
        width: 50% !important;
    }
    .main {
        max-width: 80vw;
        margin: 0 auto;
        position: unset;
        top: 0;
        left: 0;
        margin-right: auto;
        transform: none;
    }
    .card {
        height: calc(calc(100vh / 3) - 7rem);
    }

    h4 {
        font-size: calc(100vw / 35);
    }
}

@media only screen and (min-width: 67.5rem){
    .main {
        max-width: 80vw;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-right: -50%;
        transform: translate(-50%, -50%);
    }

    .main center img {
        width: 25% !important;
    }

    .card {
        height: calc(calc(100vh / 3) - 7rem);
    }

    h4 {
        font-size: calc(100vw / 70);
    }

}


@media (min-width: 160rem) {
    .card {
        height: calc(calc(100vh / 3) - 7rem);
    }
}


@media (min-width: 227.5rem) {
    .card {
        height: calc(calc(100vh / 3) - 10rem);
    }
}


@media (min-width: 320rem) {
    .card {
        height: calc(calc(100vh / 3) - 15rem);
    }
}

@media (min-width: 480rem) {
    .card {
        height: calc(calc(100vh / 3) - 28rem);
    }
}