@font-face {
    font-family: 'eurostyle'; /* Name your font family */
    src: url('eurostyle.ttf'); /* Locate the .ttf file within your directory*/
  }

*  {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: "PT Sans", sans-serif;
    /* border: 1px solid red; */
}

html {
    background-color: #b5b5b5;
    height: 100%;
}

p {
    font-size: 1.3rem;
}
h1 {
    font-family: eurostyle;
    font-size: 6vw;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.3rem;
}

h4 {
    text-align: center;
    font-size: 1.4rem;
}

body {
    min-height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#title {
    margin-top: 5rem;
}

#title p {
    font-size: 2.5vw;
}

#subtitle {
    margin-left: 80px;
    align-self: end;
}

#contact {
    margin-right: 130px;
}

.top {
    text-align: center;
    margin-bottom: 2rem;
}

.bottom {
    display: flex;
    flex-direction: row;
    position: absolute;
    bottom: 0;
    margin-bottom: 75px;
    width: 100%;
    justify-content: space-between;
}

img {
    display: block;
    margin-bottom: 1rem;
    max-width: 300px;
}

a, a:link, a:visited, a:hover, a:active  {
    text-decoration: none;
    color: black;
}

 a.underline {
    text-decoration: underline;
}

@media screen and (max-width: 950px), (max-height: 750px) {

    body {

    }

    h1 {
        font-size: 8vw;
    }

    h2 {
        font-size: 5vw;
    }

    h3 {
        font-size: 4vw;
    }

    #title p {
        font-size: 4vw;
    }

    .top {
        flex-grow: 1;
        text-align: center;
        flex-grow: 1;
        display: flex;
        justify-content: center;
        align-items: end;
    }

    .bottom {
        flex-grow: 1;
        position: relative;
        flex-direction: column;
        margin-bottom: 0;
    }

    #subtitle, #contact {
        margin: auto;
        text-align: center;
    }

    #subtitle {
        margin-bottom: 2rem;
    }

    #contact p{
        font-size: 4vw;
    }

    img {

        width: 300px;
        max-width: 90%;
        margin: 0 auto 2rem;
    }
}


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

    h1 {
        font-size: 8.5vw;
    }

    h2 {
        font-size: 6vw;
    }

    h3 {
        font-size: 5vw;
    }

    #title p {
        font-size: 5vw;
    }

    #contact p {
        font-size: 6vw;
    }
}