.white {
    color:white;

}
body {
    font-family: 'Playfair Display', serif;
    width:100%;
    margin:0px;
    padding:0px;
    background: linear-gradient(135deg,#1c3334, #074f52, #1c3334, #074f52, #1c3334, #074f52, #1c3334, #074f52);
    -webkit-mask: var(--mask);
            mask: var(--mask);
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Full viewport height */
}

.hoverable-image {
}
.hoverable-image img.image-main {
    opacity:1;
}
.hoverable-image:hover img.image-main {
    opacity:0;
}

.hoverable-image img.image-hover {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    object-fit: contain;
    opacity: 0;
}
  .hoverable-image:hover img.image-hover {
    opacity: 1;
  }


div.auto-hide {
    height: 180px;
    padding-top:100px;
    overflow: show;
  -webkit-animation: seconds 0.1s forwards;
          animation: seconds 0.1s forwards;
  -webkit-animation-delay: 5s;
          animation-delay: 5s;
  -webkit-animation-iteration-count: 1;
          animation-iteration-count: 1;
}
@-webkit-keyframes seconds {
    0% { opacity: 1; }
   85% { opacity: 0;  height: 210px;padding-top:75px;}
   90% { opacity: 0;  height: 140px;padding-top:50px;}
   95% { opacity: 0;  height: 70px;padding-top:25px;}
  100% { opacity: 0;  height: 0px;padding-top:0px;}
}
@keyframes seconds {
    0% { opacity: 1; }
   85% { opacity: 0;  height: 210px;padding-top:75px;}
   90% { opacity: 0;  height: 140px;padding-top:50px;}
   95% { opacity: 0;  height: 70px;padding-top:25px;}
  100% { opacity: 0;  height: 0px;padding-top:0px;}
}

a {
    text-decoration: underline;
}
a:link {
    color:white;
}
a:visited  {
  color: #FFB6C1;
}
a:hover {
  color: grey;
}
a:active  {
  color: red;
}

.footernav {
        padding-left: 15px; padding-right: 15px;  padding-bottom: 5px; padding-top:0px; 	
        margin-left: 20px; margin-right: 20px; margin-bottom:80px; margin-top:80px; 
        white-space: nowrap;
        color:white; 
        background-color:black; 
        border-radius:50px; 
        margin: auto;
        width:auto;
        font-family: 'Playfair Display', serif; 
        font-size: 16px;
        text-decoration: none;
        font-weight: bold;
    text-decoration: none;
}
.footernav:link {
    color:white;
}
.footernav:visited  {
  color: white;
}
.footernav:hover {
  color: grey;
}
.footernav:active  {
  color: white;
}

.footercontainer {
  flex: 1; /* Pushes the footer down by taking all available space */
    background-color:black; 
    padding-top:10px; 

  display: flex;

}
.footercontainer.space-around {  
  justify-content: center;
}

.responsive {
    max-width:100%;
}
.center {
    text-align:center;
}
.bold {
    font-weight: bold;
}
.frontpagerow {
    margin:0;
    width:100%;
    padding:0;
}
.frontpagecol {
    margin:0;
    margin-top:100px;
    padding:0;
    font-family: 'Playfair Display', serif; 

}
.indented {
    padding-left:10px;
    padding-right:10px;
}
p {
    font-family: 'Montserrat', sans-serif;
    color:white;
    font-size:125%;
}
li {
    font-family: 'Montserrat', sans-serif;
    color:white;
    font-size:100%;
}h1 {
    color:white;
    font-family: 'Playfair Display', serif; 
    font-size: 60px;
}
h2 {
    color:white;
    font-family: 'Playfair Display', serif; 
}
h3 {
    font-family: 'Playfair Display', serif; 
}
h4 {
    color:white;
    font-family: 'Montserrat', sans-serif;
}
ul {
  list-style-type: square;
}
ul li {
    font-family: 'Montserrat', sans-serif;
    color:white;
    font-size:100%;
}

.container {
    padding-top:80px;]
}

.divcenter {
  margin: auto;
  width: 80%;
}
ol {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
ul {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.resumebutton {
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;

    background-color: black;
    color: white;
    padding: 20px 20px 20px 20px;
    border-top: 1px solid #333333;
    border-right: 1px solid #333333;
    border-bottom: 1px solid #333333;
    border-left: 1px solid #333333;
}
a.anchor {
    color:white;
    text-decoration: none;
}
a.titlelink {
    color:white;
    text-decoration: underline;
}
a.titlelink:link {
    color:white;
    text-decoration: underline;
}
a.titlelink:visited  {
    color:white;
    text-decoration: underline;
}
a.titlelink:hover {
    color:grey;
    text-decoration: underline;
}
a.titlelink:active  {
    color:white;
    text-decoration: underline;
}
a.resumebutton {
    color:white;
    text-decoration: none;
}
a.resumebutton:link {
    color:white;
    text-decoration: none;
}
a.resumebutton:visited  {
    color:white;
    text-decoration: none;
}
a.resumebutton:hover {
    color:grey;
    text-decoration: none;
}
a.resumebutton:active  {
    color:white;
    text-decoration: none;
}

/* TABLET */
@media only screen and (max-width: 766px) {
    .topnav {
        background: transparent;
        position: relative;
    }

    .topnav #myLinks {
        display: none;
    }

    .topnav a {
        padding-left: 15px; padding-right: 15px;  padding-bottom: 5px; padding-top:0px; 	
        margin-left: 5px; margin-right: 5px; margin-bottom:80px; margin-top:0px; 
        color:white; 
        background:transparent; 
        border-radius:50px; 
        margin: auto;
        width:auto;
        font-family: 'Playfair Display', serif; 
        font-size: 36px;
        text-decoration: none;
        font-weight: bold;
    }

    .topnav a.icon {
        color: #520C17;
        background: transparent;
        display: block;
        position: absolute;
        right: 0;
        top: 0;
    }

    .topnav a:hover {
        background: transparent;
        color:grey; 
        text-decoration: none;
        font-weight: bold;
    }

    #myLinks {
        text-align: right;
        padding-right:30px;
        background: transparent;
    }
    #myLinks a {
        display: block;
    }
    .navlist {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }      
    .topnav, #myLinks, .navlist, .navlist li {
        margin-top:0;
        margin-bottom:0;
        padding-top:0;
        padding-bottom:0;
    }
}

/* COMPUTER */
@media only screen and (min-width: 767px) {


    .topnav {
        background: transparent;
        position: relative;
        margin-top:0;
        margin-botton:0;
        padding-top:0;
        padding-bottom:0;
    }

    .topnav #myLinks {
        display: block;
        margin-top:0;
        margin-botton:0;
        padding-top:0;
        padding-bottom:0;
    }

    .topnav a {
        padding-left: 15px; padding-right: 15px;  padding-bottom: 5px; padding-top:0px; 	
        margin-left: 5px; margin-right: 5px; margin-bottom:80px; margin-top:0px; 
        color:white; 
        background-color:black; 
        border-radius:50px; 
        margin: auto;
        width:auto;
        font-family: 'Playfair Display', serif; 
        font-size: 28px;
        text-decoration: none;
        font-weight: bold;
    }

    .topnav a.icon {
        display: none;
    }

    .topnav a:hover {
        color:grey; 
        text-decoration: none;
        font-weight: bold;
    }

    #myLinks {
        margin-top:0;
        margin-botton:0;
        padding-top:0;
        padding-bottom:0;
    }
    #myLinks ul {
        position: absolute;
        right: 20px;
        top: 0;
        margin-top:0;
        margin-botton:0;
        padding-top:0;
        padding-bottom:0;
    }
    .navlist {
        transform: rotate(180deg);
        list-style-type: none;
        margin: 0;
        padding: 0;
        position: absolute;
        right: 0px;
        top: 40px;
    }      
    .navlist li {
        float: right;
        transform: rotate(-180deg);
        margin-left:15px;
    }
    .bars {
        display: none;
    }
    .topnav, #myLinks, .navlist, .navlist li {
        margin-top:0;
        margin-bottom:0;
        padding-top:0;
        padding-bottom:0;
    }
}
