@media(prefers-reduced-motion:reduce) {
    * {
        animation: none !important
    }
}

@font-face {
    font-family: "AvenirLTProLight";
    src:
      url("./fonts/avenir/AvenirLTProLight.otf");
}


@font-face {
    font-family: "blueocean";
    src:
      url("./fonts/blueocean/blueocean.ttf");
}

@font-face {
    font-family: "groothe";
    src:
      url("./fonts/groothe/Groothe.otf");
}

body,
html {
    background: #e0f5f9;
    background-image: url(./img/water2.jpg);
    background-size: cover;
    background-position: 25% 15%;
    border: 0;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
    height: 100%;
    font-size: 16px;
}

body {
    font-family: AvenirLTProLight, Arial, Helvetica, sans-serif;
    color: #303030;
    overflow-x: auto;
    overflow-y: scroll;
    line-height: 1.5;
}

a,
abbr,
acronym,
address,
applet,
b,
big,
blockquote,
button,
caption,
center,
cite,
code,
dd,
del,
dfn,
div,
dl,
dt,
em,
fieldset,
font,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
nav,
object,
ol,
p,
pre,
q,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
title,
tr,
tt,
u,
ul,
var {
    background: transparent;
    border: 0;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline
}

input,
select,
textarea {
    box-sizing: border-box;
    font-family: Helvetica, Arial, sans-serif
}

a:link {
    color: #fff6ec;
    text-underline-offset: 4px;
}

a:visited {
    color: rgb(61, 61, 61);
}

a:hover {
    text-decoration: none;
    filter: drop-shadow(1px 2px 10px #5e3002);
    background-image: url(./img/water2.jpg);
    background-repeat: no-repeat;
    background-position: 10% 10%;
    color: transparent;
    background-clip: text;
    text-shadow: none;
}

a:active {
    text-decoration: none;
}

:focus {
    outline: none
}

:focus-visible {
    outline: 2px solid #0a290c;
    outline-offset: 4px;
}

.visuallyhidden:not(:focus):not(:active) {
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.skipnav { 
    text-align: left; 
}

.skipnav a { 
    position: absolute; 
    left: -10000px; 
    width: 1px; 
    height: 1px; 
    overflow: hidden; 
}

.skipnav a:focus, .skipnav a:active { 
    position: static; 
    left: 0; 
    width: auto; 
    height: auto; 
    overflow: visible; 
    text-decoration: underline; 
}

header {
    display: block;
    padding: .7rem .5rem 0;
    text-align: center;
}

h1 {
    font-size: 2rem;
    font-family: blueocean, Helvetica, Arial, sans-serif;
    text-shadow: #5e3002 1px 2px 10px;
    color: #d16a03;
    display: block;
    font-weight: normal;
}

h2 {
    font-size: 2rem;
    font-family: groothe, Helvetica, Arial, sans-serif;
    background-color: #fff6ec;
    background-image: url('./img/water2.jpg');
    background-repeat: no-repeat;
    background-position: 10% 10%;
    color: transparent;
    background-clip: text;
    text-shadow: #fff6ec 1px 2px 0px ;
}

section {
    display: block;
    margin: 1rem;
}

video {
    width: 100%;
    height: auto;
}

footer  {
    text-align: center;
    padding: 1rem;
    color: #fff6ec;
    font-size: 0.7rem;
}

hr {
    width: 80%;
    border-top: 1px solid #303030;
}

.contact {
    background-color: #9d4f01;
    padding: 1%;
    text-align: center;
    font-weight: 800;
    font-size: 1.2rem;
    text-shadow: 1px 2px 10px #fff6ec;
    color: #fff6ec;
}

#about {
    color: #fff6ec;
}

.about {
    background-color: #9d4f01;
    padding: 6% 10%;
    text-align: left;
}

#about p {
    margin: 1rem 0
}

#portfolio h2 {
    text-align: center;
}

.portfolio {
    color: #fff6ec;
    background-color: #9d4f01;
    line-height: 0;
}

#social {
    margin: 1rem 0.5rem;
    text-align: right;
}

#social ul {
    list-style: none;
    display: inline-flex;
    flex-wrap: wrap;
}

.socialicon {
    width: 2rem;
    padding: 0.5rem;
}

.photo {
    margin: 1rem 0 0 1rem;
    width: 40%;
    float: right;
}

.photo img {
    max-width: 100%;
    height: auto;
}

.hr {
    background-image: url("./img/water2.jpg");
    border: 0px;
    height: 4px;
}

@media screen and (min-width: 30rem) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 3rem;
    }
    
    section {
        margin: 0 4rem 4rem;
    }

    .socialicon {
        width: 3rem;
    }

    footer {
        font-size: 1rem;
    }

}

@media screen and (min-width: 42rem) {
    h1 {
        font-size: 5rem;
        text-shadow: #5e3002 5px 2px 10px;
    }

    h2 {
        font-size: 3.5rem;
        text-shadow: #fff6ec 2px 5px 0px ;
    }
    
    section {
        margin: 0 4rem 4rem;
    }

    #contact p {
        font-size: 2rem;
    }

    a:link {
        text-underline-offset: 14px;
    }

}

@media screen and (min-width: 50rem) {
    h1 {
        font-size: 6rem;
    }

    h2 {
        font-size: 4rem;
    }

    .contact {
        padding: 1%;
    }

}

@media screen and (min-width: 65rem) {
    .about {
        padding: 6% 20%;
    }
}

@media screen and (min-width: 80rem) {
    h1 {
        font-size: 6rem;
    }

    h2 {
        font-size: 5rem;
    }

}