

html {
    scroll-behavior: smooth;
}

:root {
    --blue: #4392f1;
    --grey: #fafafa;
    --font1: "Oswald";
    --font2: "Montserrat";
    --font3: "Roboto";
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}


#hero {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,1)), url(../images/husted.jpg);
    background-position: center 50px; /* Positioning the image  */
    background-size: 500px auto; /* Set the image width to 500px and auto-adjust height */
    background-repeat: no-repeat;
}

footer {
    background-color: black;
    padding: 20px;
    text-align: center; /* Center align the content */
}

/* Style for each project item */
footer ul {
    list-style-type: none;
    padding: 0;
}

footer ul li {
    display: inline-block;
    margin: 0 10px;
}

footer ul li a {
    color: white;
    text-decoration: none;
}

/* Style for project names and images */
footer p {
    color: white;
    font-size: 14px;
    margin-top: 5px;
}

footer img {
    display: block;
    margin: 0 auto; /* Center align images */
    border-radius: 50%; /* Rounded corners for images */
    transition: transform 0.3s ease-in-out;
}

/* Hover effect for images */
footer img:hover {
    transform: scale(1.1); /* Scale up on hover */
}

#contact {
    margin-bottom: -200px;
}

#actual {
    display: flex;
    padding-top: 100px;
    padding-bottom: 80px;
    background: black;
    color: white;
}

    #actual #actual-title {
        line-height: 25px;
        margin-left: 200px;
        width: 50%;
    }

        #actual #actual-title h2 {
            font-family: var(--font1);
        } 

    #actual #actual-list {
        margin-right: 200px;
        text-align: justify; 
    }
        
        #actual #actual-list li {
            padding-bottom: 25px;
        }
            
            #actual #actual-list li h3 {
                font-family: var(--font2);
            }

                #actual #actual-list li h3 a {
                    color: white;
                    font-size: 150%;
                    transition: 0.2s;
                }

                #actual #actual-list li h3 a:hover {
                    color: var(--blue);
                    text-decoration: underline;
                    transition: 0.2s
                }
            
            #actual #actual-list li h4 {
                font-family: var(--font2);
                color: var(--blue);
            }

            #actual #actual-list li p {
                font-family: var(--font3);
                margin-top: 5px;
            }
    
    #actual #actual-list {
        width: 50%;
    }

    @media (max-width: 800px) {
        #actual {
            display: block;
        }
        
        #actual #actual-title {
            width: 80%;
            margin-bottom: 20px;
            margin-left: 30px;
        }
        
        #actual #actual-list {
            width: 100%;
        }

            #actual #actual-list ul {
                font-size: 80%;
                padding: 0 30px;
            }
    }


#resume {
    margin: 80px 200px;
}


@media (max-width: 800px) {
    #resume {
        margin: 80px 30px;
        text-align: justify;
    }
}

    ol, ul#others-list {
        list-style-type: none;
    }

        #resume h2 {
            font-family: var(--font1);
            margin-top: 30px;
            margin-bottom: 20px;
            border-bottom: grey 1px solid;
        }

        #resume h3 {
            font-family: var(--font2);
            text-align: left;
            margin-top: 10px;
            margin-bottom: 5px;
        }

        #resume h4 {
            font-family: var(--font3);
            font-size: 90%;
            margin-bottom: 10px;
            display: flex;
            text-align: left;
            justify-content: space-between;
        }

    .time {
        display: flex;
        text-align: right;
        color: grey;
        font-size: 80%;
    }
        
        .time dt {
            margin-inline: 5px;
        }

    .end {
        text-align: right;
    }

    .description {
        margin-bottom: 30px;
        text-align: justify;
        font-family: var(--font3);
        font-size: 80%;
    }


    #resume li p {
        font-family: var(--font3);
        font-size: 0.9em;
        text-align: justify;
    }

    .final-lists li {
        margin: 10px 0;
        list-style: none;
        font-family: var(--font3);
        font-size: 0.9em;
    }

    #resume a {
        color: var(--blue)
    }
        
    #resume a:hover {
        text-decoration: underline;
    }





