@font-face {
    font-family: 'Roboto-Regular';
    src: url(../Fonts/Roboto/Roboto-Regular.ttf) format('truetype');
    font-weight: normal;
}
@font-face {
    font-family: 'Roboto-Bold';
    src: url(../Fonts/Roboto/Roboto-Bold.ttf) format('truetype');
    font-weight: bold;
}
@font-face {
    font-family: 'Roboto-LightItalic';
    src: url(../Fonts/Roboto/Roboto-LightItalic.ttf) format('truetype');
    font-weight: lighter;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto-Regular';
}

body {
   background-color: #1f2937;
   width: 100%;
   height: 100vh;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: space-between;
}

body header{
    width: 100%;
    padding-left: 12.5%;
    padding-right: 12.5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;

}

.header-logo {
    font-size: 24px;
    font-family: 'Roboto-Bold', sans-serif;
    font-weight: bold;
}

.header-nav {
    margin-left: 5px;
    display: flex;
    justify-content: flex-end;
}

.header-nav a {
    text-align: end;
}

body header a, 
body header nav a{
    text-decoration: none;
    color: #e5e7eb;
    font-size: 18px;
}

body header nav a:hover {
    text-decoration: underline;
}

body header nav a{
    margin-left: 1.5rem;
}
body main figure{
    display: flex;
    flex-direction: column;
    align-items: center;
}
body main{
    display: flex;
    flex-direction: column;
    align-items: center;
}
body main figure > img{

    width: 1000px;
    height: 600px;
    object-fit: contain;
    margin-bottom: 2rem;
}
body main figure > figcaption{
    color: #f9faf8;
    overflow-wrap: break-word;
}

.headerText{ 
    font-size: 48px;
    font-weight: bold;
}

.subText{
    font-size: 18px;
}

body main section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #6d747d;
    max-width: 700px;
    min-height: 100px;
    border-radius: 0.3rem;
    margin-top: 2rem;
    padding: 5px;
}
body main section p{
    text-align: center;
    font-size: 18px;
    color: #1f2937;
}
body main section div.links{
    margin: 0.5rem;
}
body main section div.links > a{
    display: inline-block;
    color: #e5e7eb;
    text-decoration: none;
    font-size: 24px;
    text-align: center;
    line-height: 2;
    margin-right: 0.5rem;
    width: 12rem;
    height: 3rem;
    background-color: #3882f6;
    border-radius: 0.3rem;
}
body main section div.links > a.facebook{
    background-color: 	#4267B2;
}
body main section div.links > a.instagram{
    background-color: 	#5B51D8;
}
body main section div.links > a.pinterest{
    background-color: 	#E60023;
}
body main section div.links > a.facebook:hover{
    background-color: #1c4586;
}
body main section div.links > a.instagram:hover{
    background-color: 	#443ea3;
}
body main section div.links > a.pinterest:hover{
    background-color: 	#b6011c;
}
footer{
    color: #e5e7eb;
    width: 100%;
    height: 4rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
}


@media only screen and (max-width: 600px){
    body main{
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        margin-top: 60px;
    }
    body main figure{
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 320px;
    }
    body main figure > img{
        width: inherit;
        height: 250px;
        object-fit: contain;
        margin-bottom: 0.5rem;
    }
    body main figure > figcaption{
        text-align: center;
        color: #f9faf8;
    }
    .headerText{ 
        font-size: 48px;
        font-weight: bold;
        line-height: 1;
    }
    .subText{
        font-size: 18px;
        margin-top: 1rem;
    }
    body main section{
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #6d747d;
        width: inherit;
        border-radius: 0.3rem;
        margin-top: 2rem;
        padding: 1rem;
    }
    body main section p{
        font-size: 18px;
        color: #1f2937;
    }
    body main section div.links{
        margin: 1rem 0;
        display: flex;
        flex-direction: column;
    }

    .links a {
        margin-bottom: 0.5rem;
    }
}

@media screen and (max-width: 461px) {
    .header-nav {
        display: flex;
        flex-direction: column;
        flex-basis: 50%;
        align-items: flex-end;

    }

    .header-nav a {
        text-align: right;
    }

    section {
        margin: 1rem;
    }
}

@media screen and (max-width: 340px) { 
    body main figure > img{
        width: 200px;
        height: auto;
    }

    .headerText {
        font-size: 30px;
    }
}