* {
    cursor: url('assets/my-cursor.png') 16 16, auto;
}

body{
    background-color:#f5f5f5;
}

h1{
    font-family: 'Baskerville'; /* Apply the custom font */
    font-weight: normal;
    font-size: 80px;
    text-align: center;
}

.lol {
    position: relative;
    display: inline-block;
}

.lol::after {
    content: "Ana Catarina Loles"; /* The text to display on hover */
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: transparent; /* Make it invisible by default */
    text-align: center; /* Align the text */
    
}

.lol:hover::after {
    color: black; /* Make the hover text visible */
    background-color: #f5f5f5;
}

.lol:hover {
    color: transparent; /* Hide the original text */
}

body{
    width:100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height:100vh;
    
}

main{
    width:100%;
    display: flex;
    flex-direction: column;
    flex-direction: column;    /* Stack elements vertically */
    align-items: center;
}

.title{
    width:50%;
    height:auto;
    background-color: black;
    color: #f5f5f5;
    display:flex;
    justify-content: center;
    align-items: center;
}

.scroll-container {
    width:50%;
    user-select: none;
    padding: 0.5%;
    position: relative;
    /* Full viewport width */
    overflow: hidden;
    /* Hide overflow */
    display: flex;
    /* Use flexbox to align items */
}

.scroll-content {
    display: flex;
    justify-content: space-between;
    /* Arrange items in a row */
    white-space: nowrap;
    /* Prevent line breaks */
    animation: scroll-left 40s linear infinite;
    /* Continuous scrolling */
}

.scroll-item {
    font-size: 12px;
    /* Font size for text */
    letter-spacing: 0.8px;
    width: 30vw;
    display: flex;
    justify-content: center;
    color: #FF00FF;
    /* Text color */
    mix-blend-mode: difference;
    font-size: 17px;
}

.btns{
    width:50%;
    height:auto;
    padding: 0.5%;
    background-color:blue;
    display:flex;
    justify-content: space-between;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}

.btns:hover {
    background-color: rgb(6, 208, 6) !important;
}

a {
    text-decoration: none;
    color: #f5f5f5;
    text-decoration: underline;
    cursor: pointer !important; 
}



.footer a {
    color: black !important; 
    cursor: pointer !important; 
}

a:hover {
    background-color: #f5f5f5; /* Background color on hover */
    color: blue; /* Optional: change text color on hover */
}

.cv:hover {
    background-color: black !important; 
    color: #f5f5f5 !important; 
}

.footer{
    width:50%;
    height:auto;
    padding-top: 0.5%;
    padding-bottom: 0.5%;
    background-color:#f5f5f5;
    display:flex;
    justify-content: center;
    align-items: center;
    text-align: center; 
    cursor: pointer !important;    
}

.bricks{
    padding:0.5%;
    width:50%;
    height:auto;
    background-color:#FF00FF;
    display: flex;
    justify-content: center;
    align-items: center;    
}

.bricks:hover {
    background-color: yellow !important;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
        /* Start at the beginning */
    }

    100% {
        transform: translateX(-50%);
        /* Move fully to the left */
    }
}

@media only screen and (max-width: 920px) {

    .scroll-item {
        font-size: 12px;
        width: 50vw;
    }

    h1{
        font-size: 50px;
    }

    .title, .scroll-container, .btns, .footer, .bricks{
        width:60vw;
    }

    .scroll-item{
        margin-left:5.5%;
        margin-right:5.5%;
    }

}

