@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800;900&family=Quicksand:wght@300;400;500;600;700&display=swap');

:root {
    --Playfair: 'Playfair Display', serif;
    --Quicksand: 'Quicksand', sans-serif;
    --Roboto: 'Roboto', sans-serif;
    /* --dark: #3c393d;
        --exDark: #2b2b2b; */
}

* {
    padding: 0;
    margin: 0;
    font-family: var(--Quicksand);
}

body {
    line-height: 1.4;
    color: var(--dark);
}

img {
    width: 100%;
    display: block;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ********************************** */


/* *******************************  header */
.navbar {
    background: rgba(107, 99, 255, 0.621);
    padding: 1rem;
}

.navbar-brand img {
    height: 100px;
}

.navbar-nav {
    padding: 0.8rem 0 0.2rem 0;
    text-align: center;
}

.navbar-nav a {
    font-family: var(--Roboto);
    letter-spacing: 1px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    padding: 0.4rem 0.1rem;
    letter-spacing: 3px;
    transition: opacity 0.5s ease;
}

.navbar-nav a:hover {
    opacity: 0.7;
}

.navbar-nav a:nth-child(4){
    border-bottom: 3px solid;
    width:fit-content;
}

/* ************************* */

/* *********  Middle  *********** */
.middle {
    max-width: 1320px;
    margin: 0 auto;
    padding: 9.42rem 1.2rem;
    display: grid;
    gap:2rem;
}
.middle p{
    letter-spacing: 1.5px;
}
.middle-title h2{
    font-family: var(--Playfair);
    font-size: 35px;
}
.middle-content h3{
    margin-bottom: 10px;
}
.middle-content p{
    line-height: 1.5rem;
}


/* ****************************** footer */
footer {
    background: rgba(0, 0, 0, 0.6);
    /* color: #fff; */
    text-align: center;
    padding: 2rem 0;
    color: white;
    color: white;
    padding-top: 100px;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 1.4rem;
}

.social-links a {
    border: 2px solid #fff;
    color: #fff;
    display: block;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    margin: 0 0.3rem;
    transition: all 0.5s ease;
}

.social-links a:hover {
    background: #fff;
    color: black;
}


.footer span {
    margin-top: 1rem;
    display: block;
    font-family: var(--Playfair);
    letter-spacing: 2px;
}



/****************** Media Queries */

@media screen and (min-width: 540px) {
    .navbar-nav a {
        padding-right: 1.2rem;
        padding-left: 1.2rem;
    }
}

@media screen and (max-width: 768px) {
    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
}