@font-face {
    font-family: Estrella;
    src: url("fonts/estrella.ttf") format("truetype");
}

@font-face {
    font-family: Raleway;
    src: url("fonts/raleway/Raleway-VariableFont_wght.ttf") format("truetype"),
    url("fonts/raleway/Raleway-Italic-VariableFont_wght.ttf") format("truetype");
}

@font-face {
    font-family: hedvig;
    src: url("fonts/Hedvig.ttf") format("truetype");
}

html {
    background-color: #ffffff;
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
}

::selection {
    color: white;
    background-color: black;
}

.star img {
    position: relative;
    left: 49%;
    transform: translateX(-49%);
    margin: 0.55rem;
    width: 25px;
    height: auto;
    margin-bottom: 2rem;
    -webkit-user-drag: none;
}


.menu {
    width: 100%;
    background-color: white;
    height: 62px;
    border-bottom: 2px solid black;
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.jobinquiry, .aboutMe {
    font-family: hedvig;
    font-weight: 200;
    font-size: 1em;
    margin: auto 1rem;
    user-select: none;
    width: 5%;
    flex: 1 1 0;
    
}

.aboutMe {
    text-align: right;
}

.menu a {
    text-decoration: none;
}

.logo {
    font-family: Estrella;
    font-size: 50px;
    margin: 10px auto;
    user-select: none;
    
}

.panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: fit-content;
    margin: 2rem auto;
    margin-top: 4rem;
    border-bottom: 10px solid black;
} 

footer {
    font-family: Raleway;
    font-weight: 400;
    text-align: center;
    border-top: 2px solid black;
    width: 100%;
    max-height: fit-content;
}

footer img {
    width: 30px;
    vertical-align: middle;
}

a {
    color: black;
    position: relative;
}

.index {
    margin: 0;
    float: right;
    font-weight: 300;
}

.diainfo {
    align-self: flex-start;
    padding-top: 2rem;
    padding-right: 2rem;
    margin-bottom: 1rem;
    background-color: #be697d;
    width: 50%;
    max-width: fit-content;
    font-family: Raleway;
    font-size: 20px;
    font-weight: 250;
}

.diainfo a {
    display: inline-block;
}

.dialogue h1 {
    font-size: 2.5em;
    margin: 0.5rem;
}

.dialogue {
    background-color: #f2e6cc;
    height: fit-content;
    max-width: 100%;
    font-family: Raleway;
    font-size: 1em;
    font-weight: 450;
    min-width: 70%;
    padding: 0 1rem 2rem 1rem;
}

.attachment {
    width: 100%;
    max-width: 100%;
}



.credit {
    font-weight: 300;
    opacity: 0.2;
    text-align: center;
}

#home {
    color: white;
}

/* Desktop */
@media only screen and (min-width:1000px){
    .dialogue {
        margin-left: 15%;
        margin-right: 15%;
    }

    .panel  {
        width: 70%
    }

    .attachment {
        max-width: 80%;
      
    }
}

/* Mobile */
@media only screen and (max-width <= 400px) {
    .dialogue {
        margin-left: 15%;
        margin-right: 15%;
        width: 100%;
    }

    .attachment {
        width: 100%;
    }

    .panel  {
        width: 80%;
    }
}

