/* import font  */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400&600&700&display=swap');

/* css variables  */
:root {
    --primary-color: #03224c;
    --neutral-color: hsl(0, 0%, 0%);
    --grey-700: hsl(0, 0%, 98%);
    --grey-800: hsl(0, 0%, 100%);
    --grey-900: hsl(0, 0%, 100%);

    --primary-ff: "Inter Tight", sans-serif;
    
    --fw-regular: 400;
    --fw-semibold: 600;
    --fw-bold: 700;

    /* - Mobile: 375px
       - Desktop: 1440px */

}

/* general reset  */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: var(--primary-ff);
}
html {
    font-size: 16px;
}
body {
    font-size: 14px;
}
@media (max-width: 525px) {
    body {
        font-size: 12px;
    }
}

.main {
    width: 100%;
    height: 100vh;
    background-color: var(--grey-900);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.box {
    width: 100%;
    height: auto;
    background-color: var(--grey-800);
    border-radius: 8px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.main > .box {
    box-shadow: 0 20px 40px 0 #dfdfdf;
}
@media (min-width: 768px) {
    .box {
        width: 500px;
    }
}
@media (min-width: 525px) and (max-width: 767px) {
    .box {
        width: 100%;
    }
}
.img-box {
    width: 70px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
}
.img-box > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name {
    font-size: 1.5em;
    color: var(--neutral-color);
    font-weight: var(--fw-semibold);
    text-align: center;
    text-transform: capitalize;
    letter-spacing: 2px;
}
.location {
    font-size: 1em;
    color: var(--primary-color);
    font-weight: var(--fw-bold);
    text-align: center;
    text-transform: capitalize;
    letter-spacing: 1px;
}
.desc {
    font-size: 1em;
    color: var(--neutral-color);
    font-weight: var(--fw-regular);
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}
.boxes-container {
    width: 100%;
    height: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.boxes-container .box {
    width: 100%;
    height: 50px;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
}
.boxes-container .box > a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--grey-700);
    font-size: 1em;
    font-weight: var(--fw-semibold);
    color: var(--neutral-color);
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: capitalize;
    transition: .3s ease;
}

.boxes-container .box > a:hover {
    background-color: var(--primary-color);
    color: var(--grey-900);
}
