html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: sans-serif;
    font-size: 24px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.bold {
    font-weight: bold;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    background-color: white;
    width: 100%;
    z-index: 5;
}

nav img {
    height: 40px;
}

#icon {
    display: none;
    cursor: pointer;
}

#burger {
    display: none;
    flex-direction: column;
    z-index: 6;
    position: absolute;
    background-color: white;
    top: 72px;
    right: 0px;
    padding-right: 125px;
    padding-left: 16px;
    gap: 8px;

}

a {
    text-decoration: unset;
    color: black;
}

.navRight {
    display: flex;
    gap: 24px;
    margin-right: 48px;
}

.navLeft {
    margin-left: 48px;
    text-wrap: balance;
}

h1 {
    color: rgb(0, 0, 0);
    font-size: 80px;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
    margin-block: 0;
    margin-top: 48px;
}

h2 {
    font-weight: 400;
}

h3 {
    font-size: 48px;
    text-decoration: underline;
}

#headImage {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 240px;
}

.headSection {
    text-align: center;
    text-wrap: balance;
}

#about {
    display: flex;
    padding-bottom: 48x;
    padding-top: 48px;
    width: 90%;
}

#about img {
    height: 400px;
    width: 400px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;

}

.aboutRight {
    display: flex;
    width: 50%;
    justify-content: center;
    flex-direction: column;

    line-height: 200%;
    padding: 16px;
}

.aboutLeft {
    display: flex;
    width: 50%;
    justify-content: center;
    align-items: center;
}

.portfolioSection {
    background-color: #f8f9fa;
    text-align: center;
    width: 100%;
    padding-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#portfolio {
    display: flex;
    justify-content: space-between;
    width: 90%;

}

.card {
    width: 320px;
    text-align: center;
    border-radius: 16px;
    border: solid;
    margin-top: 48px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
    padding: 8px;
    border-width: 1px;
    border-color: rgba(0, 0, 0, 0.5);
    background-color: rgb(47, 79, 79);
    color: white;
}

.formContainer {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    align-items: center;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
    padding-bottom: 48px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 75%;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 75%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form input[type="submit"] {
    background-color: rgb(47, 79, 79);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
}

iframe {
    width: 100%;;
    height: 80vh;
    border: solid;
    border-width: 2px;
    border-color: rgba(0, 0, 0, 0.5);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

#references {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;

}

.refContainer {
    width: 90%;
    display: flex;
    justify-content: space-around;
    margin-bottom: 48px;
    text-align: center;
}

.references30 {
    width: 35%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.references60 {
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.references60 img {
    border-radius: 16px;
    width: 100%;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
}

footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgb(47, 79, 79);
    height: 48px;
    width: 100%;
}

@media (max-width: 1050px ) {
    #portfolio {
        flex-direction: column;
        align-items: center;
    }

    #about {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .aboutLeft {
        width: 90%;
    }

    .aboutRight {
        width: 90%;
    }
    
    .refContainer {
        flex-direction: column;
        align-items: center;
    }

    .references30 {
        width: 90%;
    }

    .references60 {
        width: 90%;
    }

    .navRight {
        display: none;
    }

    #icon {
        display: flex;
    }

    footer {
        flex-direction: column;
        justify-content: center;
        height: 120px;
    }

    .navRight {
        margin: 0;
    }
}

@media (max-width: 560px) {
    h1 {
        font-size: 56px;
    }

    footer {
        font-size: 16px;
    }
}

