@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #111111;
    position: sticky;
    top: 0;
    z-index: 100000;
}

.navbar ul {
    display: flex;
    list-style: none;
    margin: 20px 0px;
}

.navbar ul li {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
}

.navbar ul li a {
    text-decoration: none;
    color: white;
    padding: 8px 25px;
    transition: all .5s ease;
}

.navbar ul li a:hover {
    background-color: #222222;
    color: white;
    box-shadow: 0 0 10px black;
}

#home {
    display: flex;
    flex-direction: column;
    height: 700px;
    justify-content: center;
    align-items: center;
    color: white;
}

#home::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    background: url('/assets/images/background.jpg') no-repeat center/cover;
    height: 950px;
    width: 100%;
    z-index: -1;
    filter: brightness(85%);
}

.education {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main {
    display: flex;
    flex-direction: column;
    /* border: 1px solid white; */
    align-items: center;
    position: absolute;
}

.headings-intro {
    font-family: 'Roboto', sans-serif;
    font-size: 3rem;
    text-align: center;
    margin: 40px 0px;
}

.headings-dark-grey {
    font-family: 'Roboto', sans-serif;
    font-size: 3rem;
    text-align: center;
    background-color: #111111;
    color: white;
    margin: 40px 0px 0px 0px;
}

.headings-white {
    font-family: 'Roboto', sans-serif;
    font-size: 3rem;
    text-align: center;
    background-color: #ffffff;
    color: black;
    margin: 40px 0px 0px 0px;
}

.headings-light-grey {
    font-family: 'Roboto', sans-serif;
    font-size: 3rem;
    text-align: center;
    background-color: #e6e6e6;
    color: black;
    margin: 40px 0px 0px 0px;
}

p {
    font-size: 1.2rem;
    font-family: 'Roboto', sans-serif;
}

.btn {
    padding: 10px 35px;
    background-color: transparent;
    border: 1px solid white;
    color: white;
    outline: none;
    transition: .6s ease;
}

.btn:hover {
    cursor: pointer;
    background-color: white;
    color: black;
    box-shadow: 0 0 5px white, 0 0 10px white, 0 0 15px white;
}

#about {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    scroll-margin: 50px 0 0 50px;
    background-color: #ffffff;
}

#page {
    background-color: #111111;
    color: white;
    padding: 25px 0;
    width: 100%;
}

#page-portfolio {
    background-color: #e6e6e6;
    color: rgb(0, 0, 0);
    padding: 25px 0;
    width: 100%;
}

#page-about {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 25px 0;
    width: 100%;
}

#intro {
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: left;
    align-items: center;
    padding: 10px;
}

#intro h2 {
    font-size: 2rem;
    font-family: 'Roboto', sans-serif;
}

#intro img {
    padding: 20px;
    width: 300px;
    height: 250px;
}

#intro p {
    width: 30vw;
}

#portfolio {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    scroll-margin: 50px 0 0 50px;
    background-color: #e6e6e6;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    box-sizing: border-box;
}

.gallery img {
    width: 550px;
    height: 300px;
    margin-top: 80px;
}

.gallery p {
    margin-top: 10px;
    width: 400px;
}

.gallery iframe {
    margin-top: 80px;
    width: 550px;
    height: 300px;
    border: none;
}

#services {
    display: flex;
    flex-direction: column;
    background-color: #111111;
    scroll-margin: 50px 0 0 50px;
}

.row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.box {
    display: flex;
    flex-direction: column;
    width: 350px;
    border: 3px solid white;
    margin: 20px;
    align-items: center;
    text-align: left;
    padding: 30px;
    border-radius: 15px;
    background: #111111;
    background-size: 100% 200%;
    transition: all 0.8s;
}

.box-list {
    display: flex;
    flex-direction: column;
    width: 350px;
    border: 3px solid white;
    margin: 20px;
    align-items: center;
    text-align: left;
    padding: 30px;
    border-radius: 15px;
    background: #111111;
    background-size: 100% 200%;
    transition: all 0.8s;
}


footer {
    background-color: black;
    width: 100%;
    height: 250px;
    font-family: 'Roboto', sans-serif;
    color: white;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.footer-content h3 {
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 3rem;
    margin-top: 50px;
}

.footer-content p {
    max-width: 500px;
    margin: 10px auto;
    line-height: 28px;
    font-size: 14px;
}

#contact {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#contact a {
    text-decoration: none;
    font-size: 1.1rem;
    color: white;
}

#contact a:hover {
    color: #c0c0c0;
    transition: color 0.4s ease;
}

#socials {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 3rem 0;
}

#socials li {
    margin: 0 10px;
}

#socials a {
    text-decoration: none;
    color: white;
}

#socials a i {
    font-size: 2rem;
    transition: color 0.4s ease;
}

#socials a:hover i {
    color: #c0c0c0;
}

@media screen and (max-width: 1650px) {
    .gallery img {
        width: 400px;
        height: 250px;
        margin-top: 10px;
    }
}

@media screen and (max-width: 1560px) {
    .headings {
        font-size: 2.5rem;
    }

    .headings-intro {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 480px) {
    .navbar ul {
        flex-direction: column;
        text-align: center;
        margin: 5px;
    }

    .navbar ul li {
        margin: 5px;
    }
}

@media screen and (max-width: 310px) {
    .box {
        padding: 10px;
        width: 250px;
    }

    .box-list {
        padding: 10px;
        width: 250px;
    }
}