
body {
    font-family: sans-serif;
    color: slategray;
    background-color: black;
}

header {
    display: flex;
    justify-content: space-between;
    align-content: center;
    flex-wrap: wrap;
}

header a {
    text-decoration: none;
    color: rgb(155, 72, 155);
}

header h1 {
    padding: 15px;
    font-size: 50px;
    font-weight: bold;
}

header nav {
    display: flex;
    justify-content: center;
}

header nav ul {
    display: flex;
    align-items: center;
    list-style-type: none;
    padding: 0;
}

header nav ul li {
    padding: 10px;
    border-radius: 15px;
    background-image: linear-gradient(to right, rgb(206,103,181), rgb(255,147,77));
    margin: 0 10px;
}

header nav ul li:hover {
    background-image: linear-gradient(to right, rgb(255,147,77), rgb(206,103,181));
    color: white;
}

header nav ul li a {
    padding: 15px;
    color: black;
    font-weight: bold;
    white-space: nowrap;
}

#hero {
    background-image: url("../images/background.jpg");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 400px;
}

#projects {
    border-radius: 15px;
    padding: 15px;
    box-shadow: 4px 4px 10px #fffff3;
    margin-bottom: 100px;
}

#projects h2 {
    color: rgb(236, 136, 211);
    font-size: 40px;
    text-shadow: 2px 2px 10px rgb(255 147 77);
}

.main-project {
    width: 60%;
    white-space: nowrap;
}

.main-project h2 {
    color: white;
    font-size: 24px;
    padding-bottom: 15px;
}

.main-project img {
    width: 100%;
}

.sub-project {
    width: 60%;
    display: flex;
}

.sub-project div {
    width: 50%;
}

.sub-project img {
    width: 100%;
    height: 100%;
}

.profile {
    width: 100%;
    margin-bottom: 25px;
}

.profile img {
    width: 100%;
}

#about-me {
    /* display: flex; */
    padding-bottom: 100px;
    /* justify-content: center; */
}

#about-me h2 {
    color: rgb(236, 136, 211);
    font-size: 40px;
    text-shadow: 2px 2px 10px rgb(255 147 77);
}

#about-me .row {
    /* width: 60%; */
    /* border: white 2px solid; */
    border-radius: 15px;
    padding: 15px;
    box-shadow: 4px 4px 10px #fffff3;
}

#about-me p {
    color: rgb(255,147,77);
    background-color: rgb(39, 36, 36);
    opacity: .9;
    padding: 10px;
    border-radius: 15px;
    text-align: justify;
}

#about-me img {
    width: 100%;
    border-radius: 15px;
}

.card {
    background-color: black;
    margin-top: 75px;
}

.card-title {
    background-color: rgb(39, 36, 36);
    border-radius: 15px 15px 0 0;
    margin: 0;
    color: rgb(255,147,77);
    padding: 5px 5px 0px 10px;
}

.card-text {
    background-color: rgb(39, 36, 36);
    border-radius: 0 0 15px 15px;
    color: rgb(255,147,77);
    padding: 0px 5px 5px 10px;
}

.card .btn {
    margin-bottom: 5px;
}

.btn {
    padding: 10px;
    border-radius: 15px;
    background-image: linear-gradient(to right, rgb(206,103,181), rgb(255,147,77));
    margin: 0 10px;
    font-weight: bold;
}
.btn:hover {
    background-image: linear-gradient(to right, rgb(255,147,77),  rgb(206,103,181));
}

footer {
    display: flex;
    justify-content: space-around;
    padding-bottom: 25px;
}

footer h2 {
    padding-bottom: 15px;
    font-size: 24px;
}

footer a {
    text-decoration: none;
    color: rgb(40,103,178);
    font-size: 18px;
}

footer img {
    height: 30px;
}

@media screen and (max-width: 980px) {
    header {
        padding-bottom: 0;
        justify-content: center;
        position: relative;
    }

    header h1 {
        width: 100%;
        text-align: center;
    }

    header nav ul {
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }

    header nav ul li a {
        font-size: 14px;
    }
    
    .profile {
        width: 45%;
    }
}