body {
    margin: 0;
    background-color: rgb(255, 255, 255);
    overflow-x: hidden;

    height: 100vh;
}

.hero {
    position: relative;
    height: 100vh;

    background-image: url(images/background.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

h1 {
    color: white;
    font-family: "Black Ops One", sans-serif;

    text-shadow: 4px 4px 4px black;
    
    text-align: center;

}

h2 {
    color: white;
    font-family: "Black Ops One", sans-serif;

    text-shadow: 4px 4px 4px black;

    text-align: center;
}

ul {
    color: white;
    list-style: none;
    text-align: center;
    padding: 0;

    text-shadow: 2px 2px 2px black;
}

p {
    color: white;
    font-family: "Nunito Sans", sans-serif;
    text-align: center;
    margin-top: -20px;

    font-size: 30px;
    
    text-shadow: 2px 2px 2px black;
}

a {
    margin-right: 15px;

    color: white;
    text-shadow: 4px 4px 4px black;
}

.welcome {
    margin-top: 35px;
    color: rgb(0, 0, 0);
}

.welcome-text {
    font-size: 45px;
    text-shadow: none;
    color: inherit;
}

.welcome p {
    color: inherit;
    text-shadow: none;
}

.profile-picture {
    width: 150px;
    height: 150px;

    border-radius: 100px;
    object-fit: cover;

    border: 4px solid rgb(255, 255, 255);
}

.profile {
    text-align: center;
}

.top-row {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 10px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.profile-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.mini-profile {
    margin: 0;
}

.mini-profile-picture {
    width: 50px;
    height: 50px;

    margin: 0;

    border-radius: 50px;
    border: 4px solid white;
}

.my-name {
    margin: 0;
    text-align: right;
    white-space: nowrap;
}

.home-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page .home-group {
    position: absolute;
    top: 15px;
    left: 15px;
}

.home-group a {
    margin-right: 0;
}

.fa-house {
    font-size: 35px;

    margin: 0;

    color: aliceblue;

    filter: drop-shadow(4px 4px 4px black);
    transition: color 0.3s ease;
}

.fa-house:hover {
    color: rgb(199, 206, 213);
}

.home-title {
    margin: 0;

    font-size: 35px;
    text-align: left;

    font-family: "Black Ops One", sans-serif;

    transition: color 0.3s ease;
}

.home-title:hover {
    color: rgb(199, 206, 213);
}

.home-link {
    text-decoration: none;
}

.links {

    width: 100%;
    box-sizing: border-box;
    height: 55px;

    text-align: center;
    background-color: black;

    margin-top: 0;
    padding-top: 12px;

    font-size: 35px;

}

.links a {
    font-size: 24px;
    text-decoration: none;

    transition: color 0.3s ease;
}

.links a:hover {
    color: rgb(190, 197, 203);
}

.links a:hover {
    color: rgb(190, 197, 203);
}

.main-title {
    transform: translateY(225px);
    text-align: center;
    margin-top: 0;
}

#Index {
    animation: FadeIn;
    animation-duration: 3s;
    animation-timing-function: ease;
}

@keyframes FadeIn {
    from{
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 600px) {

    .top-row {
        top: 10px;
        left: 10px;
        right: 10px;
    }

    .home-group {
        gap: 8px;
        padding: 0;
    }

    .page .home-group {
        top: 10px;
        left: 10px;
    }

    .fa-house {
        font-size: 26px;
        margin: 0;
    }

    .home-title {
        font-size: 22px;
        margin: 0;
    }

    .my-name {
        font-size: 22px;
    }

    .main-title {
        transform: translateY(300px);
    }

    .profile {
        padding-top: 70px;
    }

    .mini-profile {
        margin: 0;
    }

    .profile-summary {
        gap: 8px;
    }

    .mini-profile-picture {
        width: 32px;
        height: 32px;
        border-width: 3px;
        margin-top: 0;
    }

    .links {
        height: auto;
        padding: 12px 8px;

        display: grid;
        grid-template-columns: repeat(3, 1fr);

        row-gap: 8px;
        column-gap: 6px;

        text-align: center;
    }

    .links a {
        margin-right: 0;
        font-size: 18px;
    }
}
