@font-face{
    font-family: 'terminalf4';
    src: url('resources/fonts/terminalf4.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}


section{
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

#bg-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#bg-video-2{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}


.content{
    position: relative;
}

body{
    font-family: 'terminalf4', monospace;
    color: white;
    background-color: #711c91;
    margin: 0;
    overflow-y: auto;
}

a{
    font-family: 'terminalf4', monospace;
    color: white;
    font-size: 25px;
    text-decoration: none;
}

#projects-button:hover{
    color: white;
    text-decoration: underline;
}

button{
    cursor: pointer;
    border: none;
    background: none;
    margin: 10px;

}

button:hover{
    background: rgba(255,255,255,0.15);
    border-radius: 5px;
}

nav{
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 5px;
    border-radius: 10px;
    padding-left: 20px;
}

.contact{
    display: flex;
    margin-left: 2vw;
    margin-right: 2vw;
    position: absolute;
    text-align: right;
    z-index: 2;
    top: 20px;
    right: 20px;
}

.contact:hover{
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding-left: 10px;
    border-radius: 10px;
    transition: color 0.2s, text-shadow 0.2s;
}

nav a{
    color: white;
    font-size: 25px;
    margin-right: 20px;
    text-decoration: none;
    color:  #711c91;
}

a:hover{
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px, 4px;
    text-decoration: underline;
    transition: color 0.2s, text-shadow 0.2s;

}

.content{
    position: relative;
    z-index: 1;
    text-align: left;
    margin-top: 10vh;
    margin-left: 10vh;
}

.project-div{
    display: flex;
    gap: 20px;
    align-items: center;
    vertical-align: middle;
}

.project-link:hover{
    color: white;
    text-decoration: underline;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px, 4px;
    text-decoration: underline;
    transition: color 0.2s, text-shadow 0.2s;
}

#projects-div{
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding-left: 40px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 300px;
    border-radius: 10px;

    width: 60vw;
    height: 30vh;
}


#toast {
    position: fixed;
    bottom: 30px; 
    right: 40px;  
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none; 
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(20px);
    z-index: 10000;  
}