@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;
}

.desktop-button{
    max-width: 50px;
    max-height: 50px;
    padding: 1px;
    object-position:center;
    background-color: none;
}

.desktop-button:hover{
    background: none;
}

.desktop-icon{
    width: 40px;
    height: 20%;
    fill: white;
}

.desktop-icon:hover{
    border-radius: 3px;
    transform: scale(1.4);
    transition: transform 0.3s ease;
}

.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;
}

.desktop{
    position: fixed;
    left: 5px;
    bottom: 5px;
    z-index: 20000;
}

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

.text-link{
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.text-link:hover{
    text-decoration: underline;
    background-color: none;
}

.project-link:hover{
    color: white;
    text-decoration: underline;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px, 4px;
    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;  
}


#motd-pannel{
    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: 17vw;
    height: 30vh;

    text-align: justify;
    padding-right: 40px;
}


#terminal-section{
    position: fixed;
}


#second-id{
    display: flex;
}



#top-bar{
    width: 100vw;
    height: 50px;

    background-color: #424242;
    position: relative;
    display: flex;
}


.bar-tab{
    margin: 5px;
    width: 100vw;
    padding: 20px;
    border-radius: 5px;
    background-color: #363636;
    text-align: center;
    display: flex;
    flex-direction:row;
    justify-content: center;
    align-items: center;
}

#window{
    width: 100vw;
    height: 100vh;
    background-color: #363636;
    position: absolute;
    color: #83FF08;
    z-index: 10000;

}

#terminal-text{
    margin: 20px;
}

#terminal-output{
    flex: 1;
    overflow-y: auto;
    margin-bottom: 5px;
}

#terminal-input-line{
    display: flex;
    align-items: center;
}

.prompt{
    margin-right: 5px;
}

#terminal-input{
    flex: 1;
    background: transparent;
    border: none;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

#closebutton{
    color: white;
    padding: 6px;
    text-align: center;
    font-size: 18px;
    margin: 2px;
    border-radius: 5px;
}