/* @import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,wght@0,400;0,500;1,400&display=swap'); */
@font-face { 
    font-family: fakt-m;
    src:url('fonts/FaktProMedium.ttf');
    font-style: normal;
    font-size: 25px;
} 
@font-face { 
    font-family: fakt-l;
    src:url('fonts/FaktProLight.ttf');
    font-style: normal;
    font-size: 25px;
} 
@font-face { 
    font-family: fakt-r;
    src:url('fonts/FaktProNormal.ttf');
    font-style: normal;
    font-size: 25px;
} 

/* BODONI MODA */
@font-face { 
    font-family: 'Bodoni Moda';
    src:url('fonts/BodoniModa_28pt-Regular.ttf');
    font-weight: 400;
    font-style: normal;
} 
@font-face { 
    font-family: 'Bodoni Moda';
    src:url('fonts/BodoniModa_28pt-Italic.ttf');
    font-weight: 400;
    font-style: italic;
} 
@font-face { 
    font-family: 'Bodoni Moda';
    src:url('fonts/BodoniModa_28pt-Medium.ttf');
    font-weight: 500;
    font-style: normal;
} 


body {
    background-color: rgb(250,250,250);
    font-family: 'fakt-l';
    text-align: center;
    padding: 40px 0px;
    margin: 0;
}

section {
    width: 70vw;
    padding-left: 15vw;
}

section:nth-of-type(1) {
    padding-top: 40px;
}

section:nth-of-type(2) {
    width: 100vw;
    margin-top: 150px;
    position: relative;
    text-align: center;
    padding: 0;
}

h1 {
    font-size: 45px;
    font-weight: 400;
    width: 700px;
    font-family: 'Bodoni moda';
    padding-left: calc(50vw - 350px);
    text-align: center;
}

p {
    font-weight: 400;
    font-style: italic;
    font-size: 17px;
} 

h3 {
    font-size: 13px;
    font-family: 'fakt-m';
    padding: 0px;
    margin: 0px;
    margin-bottom: 10px;
    letter-spacing: .4px;
}

h2 {
    font-size: 30px;
    font-family: 'fakt-l';
    padding: 0px;
    margin: 0px;
}

.persons {
    margin-bottom: 30px;
}

#home {
    position: fixed;
    top: 0;
    right: 0;
    padding: 15px 30px;
    background-color: #374A67;
    color: white;
    font-weight: 500;
    font-size: 22px;
    text-decoration: none;
    font-family: 'Bodoni moda';
}

.footer {
    position: absolute;
    vertical-align: center;
    color: #374A67;
    text-decoration: none;
    font-size: 17px !important;
}

.footer:nth-of-type(1) {
    left: 50px;
}
.footer:nth-of-type(2) {
    left: 193px;
}
.footer:nth-of-type(3) {
    right: 50px;
}

section {
    width: 700px;
    margin-top: 30px;
    position: relative;
    text-align: left;
    padding: 0;
    padding-left: calc(50vw - 350px);
}

@media screen and (max-width: 740px) {
    h1, h4, section {
        width: 600px;
        padding-left: calc(50vw - 300px);
    }
}

@media screen and (max-width: 640px) {
    h1, h4, section {
        width: 500px;
        padding-left: calc(50vw - 250px);
    }
}

@media screen and (max-width: 600px) {
    h1, h4, section {
        width: 300px;
        padding-left: calc(50vw - 150px);
    }
}

@media screen and (max-width: 550px) {
    section:nth-of-type(2) {
        margin-top: 200px;
    }
    .footer {
        width: 100%;
        text-align: center;
        position: absolute;
        left: 0px !important;
        right: 0px !important;
    }

    .footer:nth-of-type(1){
        position: absolute;
        bottom: 79px !important;
    }

    .footer:nth-of-type(2){
        position: absolute;
        bottom: 47px !important;
    }

    .footer:nth-of-type(3){
        position: absolute;
        bottom: 15px !important;
    }
}

@media screen and (max-width: 540px) {
    h1, h4, section {
        width: 280px;
        padding-left: calc(50vw - 140px);
    }
}

@media screen and (max-width: 440px) {
    h1, h4, section  {
        width: 240px;
        padding-left: calc(50vw - 120px);
    }
}