@font-face {
    font-family: "AjfD";
    src: url("/fonts/Porto_Buena.otf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
* {
 font-family: AjfD;
}

#video1 {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.main-content {
    font-family: AjfD;
    position: fixed;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    width: 100%;
    padding: 40px;
    padding-bottom: 60px;

}

.mailto {
    text-decoration: none;
    color: white;
}

.mailto:hover {
    color: red;
}

@media (max-width: 700px) {
    #video1 {
        object-position: 35% 50%;
    }
}



.error {
    display: grid;
    justify-content: center;
    text-align: center;
    padding: 50px;
    background-color: rgba(0, 0, 0, 0.5);
}

.backtoindex {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 3px;
    padding-bottom: 3px;
    background-color: white;
    text-decoration: none;
    color: black;
}

.backtoindex:hover {
    color: red;
}


.link {
    display: block;
    width: 300px;
    height: 75px;
    box-sizing: border-box;
    padding: 20px;
    background-color: white;
    color: black;
    text-decoration: none;
}

.linkbox {
    width: 300px;
    height: 75px;
}

.linkcontainer {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding-top: 20px;
}

@media (max-width: 600px) {
    .linkcontainer {
        flex-direction: column;
    }
}