/* Weather App 2/14 */
/* Still adding dates to my comments! Just gonna be a trend. */
* {
    margin: 0;
    padding: 0;
    list-style: none;
    scroll-behavior: smooth;

}

/* This project honestly took me like 2 days. One of the more easier projects and API's are pretty simple to learn thankfully. */
body {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background-color: #0B1012;
    color: white;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px;
    border-bottom: #2a2a3a solid 1px;
}

.home-link {
    font-size: 26px;
    color: white;
    transition: ease 0.3s color;
}

.home-link:hover {
    color: #2a2a3a;
}

.nav-menu {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.nav-text {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.nav-text h1 {
    font-size: 50px;
}

h3 {
    font-size: 25px;
}

/*  */
.finsweet-img {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.finsweet-img img {
    width: 80%;
    height: 500px;
    object-fit: cover;
    border-radius: 1.5rem;
    margin-bottom: 1rem;
    border: 0.4rem solid #2a2a3a;
    box-shadow: 0 0 15px 1px #2a2a3a;
}

.home-page {
    padding: 50px 100px;
}

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

span {
    color: #ad9470;
}

.heading {
    font-size: 30px;
    margin-bottom: 50px;
}

.sub-heading {
    font-size: 30px;
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.sub-p {
    color: #8484c0;
}

.description {
    font-size: 25px;
    width: 80%;
    line-height: 1.7;
    margin-bottom: 50px;
    color: grey;
}

/* Links */
.links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-links {
    display: flex;
    align-items: center;
    gap: 10px;
    border: #2a2a3a solid 1px;
    font-size: 36px;
    text-align: center;
    padding: 10px 20px;
    color: #2a2a3a;
    transition: all .40s ease;
    border-radius: 5px;
}

.links a {
    text-decoration: none;
    color: aliceblue;
}

.btn-links:hover {
    background: #2a2a3a;
    color: white;
}

/* Footer */

footer {
    background: #12141c;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* Responsive Styling */

/* Nav menu */
@media (max-width: 500px) {
    .nav-menu {
        display: none;
    }
}

/* Main Picture */
@media (max-width: 768px) {
    .finsweet-img img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        border-radius: 1.5rem;
        margin-bottom: 1rem;
        border: 0.4rem solid #ad9470;
        box-shadow: 0 0 15px 1px #ad9470;
    }
}

@media (max-width: 500px) {
    .finsweet-img img {
        height: 200px;
    }
}

@media (max-width: 450px) {
    .home-page {
        padding: 50px 50px;
    }
}

/* Sub Heading */
@media (max-width: 670px) {
    .sub-heading {
        display: flex;
        flex-direction: column;
    }
}

/* Description */
@media (max-width: 650px) {
    .description {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .description {
        font-size: 20px;
    }
}

/* Link buttons */
@media (max-width: 425px) {
    .links {
        display: flex;
        flex-direction: column;
        align-items: unset;
    }
}