@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500&display=swap');
* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}


/* BUTTON */

button {
    background: none;
    border: 2px solid #7b101e;
    border-radius: 5px;
    font-size: 1.5rem;
    padding: 10px;
}

button:hover {
    background: #7b101e;
    color: white;
    transition: .5s;
}


/* CARD */

.card {
    width: 35%;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
    border-radius: 5px;
}

.card > a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card img {
    width: 95%;
    margin: 0 auto;
    margin-top: 10px;
}

.card i {
    font-size: 2.2rem;
    margin-top: 10px;
}

.card p {
    font-weight: 300;
    text-align: justify;
    width: 95%;
    margin-top: 5px;
    line-height: 24px;
}

.card h3 {
    font-style: italic;
    font-weight: 400;
    margin: 15px 0;
}

footer {
    width: 100%;
    background-color: #2a2a2a;

    padding: 20px 0;

    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}

footer small {
    color: white;
}


/* NAVBAR */

header {
    position: fixed;
    width: 100%;
    background-color: rgba(240, 240, 240, 1);
    top: -20px;
}

nav {
    height: 80px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

nav>img {
    margin-left: 40px;
    height: 108px;
}

nav>ul {
    margin-right: 40px;
    display: flex;
    width: 60%;
    justify-content: space-around;
    
}

nav>ul>li a {
    text-decoration: none;
    color: black;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: bold;
    padding:10px;
}

nav>ul>li a:hover {
    background: #7b101e;
    color: white;
    transition: .5s;
    border-radius: 5px;
}

.checkbtn {
    font-size: 30px;
    color: black;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
}


@media (max-width: 756px) {
    nav {
        flex-direction: row-reverse;
        flex-wrap: nowrap;
        justify-content: space-around;
    }
    .checkbtn {
        display: inline-flex;
        font-size: 3rem;
    }
    nav>img {
        margin-top: 10px;
        margin-left: 0;
    }
    nav>ul {
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #2c3e50;
        top: 120px;
        left: -100%;
        text-align: center;
        transition: all .5s;
        flex-direction: column;
        justify-content: flex-start;
    }
    nav>ul>li {
        margin: 30px 0;
        line-height: 30px;
    }
    nav>ul>li a {
        color: white;
        font-size: 1rem;
    }
    #check:checked~ul {
        left: 0;
    }

    .card {
        width: 90%;
    }

    footer {
        text-align: center;
    }
}
