* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body {
    /* background: linear-gradient(to bottom right, rgb(142, 142, 221), rgb(208, 163, 170), rgb(134, 196, 230)); */
    background-color: rgb(32, 32, 32);
    font-family: "Poppins", sans-serif;
    --color1: #FFF;
    --color2: #181818;
}

.nav-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    position: relative;
    background-color: var(--color2);
    padding: 12px 20px;
}

.logo img {
    width: 50px;
    border-radius: 50px;
}

.menu {
    display: flex;
}

.menu li {
    padding-left: 30px;
}

.menu li a {
    display: inline-block;
    text-decoration: none;
    color: var(--color1);
    text-align: center;
    transition: 0.15s ease-in-out;
    position: relative;
    text-transform: uppercase;
}

.menu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color1);
    transition: 0.15s ease-in-out;
}

.menu li a:hover:after {
    width: 100%;
}

.open-menu,
.close-menu {
    position: absolute;
    color: var(--color1);
    cursor: pointer;
    font-size: 1.5rem;
    display: none;
}

.open-menu {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.close-menu {
    top: 20px;
    right: 20px;
}

#check {
    display: none;
}
/* SECTION 2 */
.sec2{
    justify-content: center;
}
.container{
    display: flex;
    flex-direction: column;
    margin: auto;
    
}
.container h2{
    font-size: 60px;
    text-align: center;
    margin: 40px;
    color: rgb(253, 252, 253);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.container .card-wrap{
    display: flex;
    margin: auto;
    width: 100%;
    justify-content: space-around;
    flex-wrap: wrap;
}
.card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 330px;
    border-radius: 20px;
    height: 360px;
    padding: 20px;
    margin: 30px;
    align-items: center;
    background-image: linear-gradient(to bottom,red blue);
}
.container .card h1{
    margin: 20px 10px;
    color: rgb(6, 58, 110);
}
.container .card h3{
    text-align: center;
    color: rgb(43, 38, 39);
}
.container .card img{
    height: 100px;
    width: 100px;
    background-color: aquamarine;
    border-radius: 50%;
    display: block;
    margin: 5px 6px;
}
.container .card button{
    border: 2px solid #fff;
    display: block;
    margin: auto;
    margin-top: 20px;
    background-color: green;
    border-radius: 30px;
    padding: 10px 30px;
    color: white;
    cursor: pointer;
}
.container .card button a{
    text-decoration: none;
    color: white;
}
/* FOOTER */
.foot {
    display: flex;
    width: 100%;
    background-color: black;
    height: 400px;
    padding: 65px 196px;
}

.foot div {
    text-align: center;
    color: white;
}

.col2 {
    flex-grow: 2;
}
.foot div h3 {
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 1;
}


.col1 a {
    display: block;
    text-decoration: none;
    margin-bottom: 10px;
    color: aliceblue;
}

form input {
    width: 400px;
    height: 40px;
    border-radius: 4px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    outline: none;
    border: none;
}
.fa-brands{
    font-size: 30px;
    padding: 5px;
    cursor: pointer;
}
form button {
    background: transparent;
    border: 2px solid #fff;
    border-radius: 30px;
    padding: 10px 30px;
    color: white;
    cursor: pointer;
}
@media only screen and (max-width:1170px){
    .menu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 80%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 100;
        background-color: var(--color2);
        transition: all 0.2s ease-in-out;
    }

    .menu li {
        margin-top: 30px;
    }

    .menu li a {
        padding: 8px;
    }

    .open-menu,
    .close-menu {
        display: block;
    }

    #check:checked~.menu {
        right: 0;
    }

    
    .foot{
        display: flex;
        flex-direction: column;
        padding: 65px 25px;
        height: auto;
        width: 100%;
    }
    .foot div{
        margin-bottom: 20px;
    }
    .foot div h3{
        margin-bottom: 4px;
    }
    form input{
        width: 80%;
        margin: 10px;
    }
    
}    
@media only screen and (max-width:280px){
    .container .card-wrap{
        width: 90%;
        justify-content: center;
    }
    .card{
        width: 220px;
    }
    .container .card h1{
        font-size: 17px;
        margin: 15px 10px;
    }
    .container .card button{
        padding: 7px 18px;
    }
}   
