*{
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
}
html, body{
    height: 100%;
    width: 100%;
    background-color: #A1D5CE;
    background: radial-gradient( #AEB1A8, #2F3632, #212023);
    overflow: hidden;
}

@font-face {
    font-family: archivo;
    src: url(Archivo-Regular.ttf);
}
@font-face {
    font-family: figtree;
    src: url(Figtree-Medium.ttf);
}


.main{
    height: 100%;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.card{
    height: 340px;
    width: 270px;
    background-color: #eeeeee;
    margin:20px;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
    padding: 20px;
}
.card img{
    height: 100px;
    width: 100px;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    margin-top: -20px;
    margin-bottom: 8px;
}
.card h1{
    font-size: 27px;
    font-family: figtree;
    font-weight: 500;
    text-align: center;
    margin-top: 10px;
}
.card p{
    text-align: center;
    color: #4B4B4B;
    margin-top: 7px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.card button{
    height: 40px;
    width: 110px;
    background-color: #0294F4;
    color: #FEFEFE;
    margin-top: 20px;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 15px;
    font-family: archivo;
    font-weight: 400;
}

.card1 img{
    object-position:initial;
}
.card3 img{
    object-position: bottom;
}
.card4 img{
    object-position: center;
}
.card5 img{
    object-position: bottom;
}
.card6 img{
    object-position: center;
}
.card7 img{
    object-position: bottom;
}

.card:hover{
    height: 343px;
    width: 271px;
    background-color: #ffffff;
    margin:21px;
    box-shadow: 6px 6px 25px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 26px;
    padding: 21px;
}

.card button:hover{
    height: 43px;
    width: 115px;
    background-color: transparent;
    color: black;
    margin-top: 23px;
    border: 2px solid #0294F4;
    border-radius: 23px;
    padding: 11px 22px;
    font-family: archivo;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
}

