table{ /* Requirement-2.A */
    border: 5px ivory; /* Requirement-2.5 */
    border-style: groove;
    background-color: beige; /* Requirement-2.4 */
}

img{
    display: block;
    margin: auto;
    position:relative; /* Requirement-2.15 */
    z-index: 4; /* Requirement-2.17 */
    -webkit-filter: drop-shadow(5px 5px 5px #222);
  filter: drop-shadow(2px 2px 2px #2b2a2a);
}

ul{
    list-style-type: square; /* Requirement-2.8 */
}

body{
    font-size: large;
    display: table; /* Requirement-2.12 */
    margin: auto;
    vertical-align: middle;
}


tr, th, td{
    border: 1px solid;
    border-collapse: collapse;
    padding: 5px; /* Requirement-2.6 */
}

p, h1, h2, h3 { /* Requirement-2.B */
    font-family: "Delicious Handrawn", serif; /* Requirement-2.1 */
    font-weight: 300; /* Requirement-2.9 */
    font-style: normal;
    letter-spacing: 0.7px; /* Requirement-2.2 */
    clear: both; /* Requirement-2.13 */
}

.ambition{ /* Requirement-2.C */
    font-style: oblique;
    font-size: x-large;
    color: salmon /* Requirement-2.3 */
}

.hidden{ 
    visibility: hidden; /* Requirement-2.16 */
}

#end{ /* Requirement-2.D */
    padding-left: 25%; /* Requirement-2.10 */
}

* {
    box-sizing: border-box;
    font-family: "Delicious Handrawn", serif;
}
  
.box {
    float: left; /* Requirement-2.11 */
    width: 33.33%; /* Requirement-2.7 */
}
  
.cravings::after {
    content: "";
    clear: both;
    display: table;
}

a:hover{ /* Requirement-2.E */
    color: burlywood;
}

table td{ /* Requirement-2.F */
    color: teal;
}

.navigation{
    position:fixed;
    height:55%;
    width:150px;
    background-color: burlywood;
    border-radius: 25px;
    text-align:center;
    z-index: 99;
}

.navigation a{
    padding: 10px 10px;
    color:brown;
    display: block;
    text-decoration: none;
    text-align: left;

    font-family: "DynaPuff", serif;
    font-weight: 500;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}
.navigation a:hover{
    color:rgb(110, 9, 9)
}

#main{
    margin-left: 170px;
    padding:5px 10px;
}

*{
    text-align: center;
}

details{ /* Requirement-2.G */
    background-color: cadetblue;
    font-size: xx-large;
    overflow:scroll; /* Requirement-2.14 */
    text-align: center;
}

summary{ /* Requirement-2.H */
    background-color: darkcyan;
}

html{
    background-color: blanchedalmond;
}

figure figcaption{
    text-align: center;
}

.darkmode{
    background-color: #3d251e;
    color: #8e6049;

    .navigation{
        background-color: #5b3e33;
    }
    .navigation a{
        color: #3d251e
    }

    .navigation a:hover{
        color: #3d251e
    }

    table{
        background-color: #3d251e;
        border: 0;
    }
}

#night{
    background-color: transparent;
    border: 0;
    z-index: 99;
}

.newsreader-f {
    font-family: "Newsreader", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
  }

header{
    display: flex;
    justify-content: center;
    align-items: baseline;
}

#self{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    text-align: center;
}

footer{
    position:fixed;
    left:20px;
    bottom: 10px;
    z-index: 999;
    opacity: 0.5;
    text-align: left;
    margin-left: -25%;
    float:left;
}

#tools{
    display: flex;
    flex-direction: column;
}

.skills{
    display: flex;
    justify-content: space-evenly;
}



/* Resizing */
    /* Styles for screens up to 600px wide */
    @media only screen and (max-width: 400px) {
        body {
          font-size: 12px;
        }
        .navigation{
            display: flex;
            justify-content: center;
            align-items: baseline;
            background-color: burlywood;
            height: auto;
            width:100%;
            text-align: left;
            clear:both;
        }

        .navigation a{
            display: inline-block;
            padding: 10px;
        }
        .navigation h2{
            display: inline-block;
            padding: 0px 0px 0px 15px
        }

        #self{
            padding: 50px 0px ;
        }

        #main{
            margin: 0;
        }

        footer{
            margin: 0px 100px 400px;
            float:none;
        }

    
      }

/* contact */
.contact {
  margin-top: 2rem;
}

.contact h2 {
  text-align: center;
}

.contact-form-container {
  font-family: "DynaPuff", serif;
  max-width: 40.75rem;
  margin: 0 auto;
  padding: 0.938rem;
  border-radius: 5px;
}

.submit-btn {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  background-color: burlywood;
  font-size: 1rem;
  border: transparent;
  border-radius: 25px;
  font-family: "DynaPuff", serif;
}

.contact-form-container label {
  line-height: 2.7em;
}

.contact-form-container textarea {
  min-height: 6.25rem;
  font-size: 14px;
}

.contact-form-container .input-field {
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 5px;
  border: none;
  font-size: 0.875rem;
  outline: none;
  filter: drop-shadow(5px 5px 2px burlywood);
}

/* Reveal animations */

.revealable {
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition:all 2s ease;
}

.active{
  transform: translateY(0px);
  opacity: 1;
}

/*Image gallery */
.slide{
    display: none;
}

#galleryControls{
    display: flex;
    justify-content: space-around;
    align-items: center;

}

#homePage {
    display: block;
}

.prev,
.next {
  width: auto;
  padding: 16px;
  color: brown;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  float:left;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
  float:right;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.number {
  color: #000000;
  font-size: 12px;
  padding: 8px 12px;
  top: 0;
}

.gallery h1{
    color: brown;
}