/* Project Meta */
/* reset  */
/* general */
/* typography */
/* grid */
/* header */
/* footer */
/* Page template A */
/* Page template B */
/* Media Queries */
/* Layout styling */
/*
Colors used:
Primary Color (blue): #CADDD3;  A3B0A6
Secondary Color (brown): #CBC0AA;
Accent Color (light yellow): #EFE6B2;   yellow (hoover state) FFCE45; F2EBC1
Text (dark): #2D3337
                                                 Text (light): #FBF3DA
                                                 background: linear-gradient(0.25turn, #caddd3, #ebf8e1, #efe6b2);

*/



/* Global Tags */
* {
  box-sizing: border-box;
}

@font-face {
  font-family: "AdventPro", sans-serif;
  font-weight: 400;
  src: url("../glory/Glory-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Oswald";
  font-weight: 300;
  src: url("../glory/Glory-Light.ttf") format("truetype");
}

@font-face {
  font-family: "Oswald";
  font-weight: 700;
  src: url("../glory/Glory-Bold.ttf") format("truetype");
}

html {
  scroll-behavior: smooth;
}

/*url("https://annaeivor.com/files/fishbackground.png"),- image to repeat*/


body {
  background-image:  linear-gradient(0.75turn, #2F2F2D, #2F2F2D);
  background-repeat: space;
  
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  /* Sets the font size to 16px */
  font-weight: 300;
  /* Sets the font weight to 300 */
  line-height: 1.6;
  /* Sets the line-height to 1.6 * the font-size */
  color: #D4D3BD;
}

img {
  width: 100%;
  
}

.img-cnt img {
  padding-top: 40px;
}


a {
  color: #9DB8A9;
  text-decoration: none;
  /* No underlining */
}

a:visited {
  /* visited link */
  color: #9DB8A9;
}

a:hover {
  color: #caddd3;
  text-decoration: underline;
  /* Underlining when hovering over a link */
}

a:focus {
  color: #caddd3;
  text-decoration: underline;
}

h1,
h2 {
  font-weight: 700;
}

h1 {
  line-height: 3;
  font-size: 32px;
}

h2 {
  text-align: center;
  line-height: 1.5;
  font-size: 32px;
}

h3 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}

h4 {
  line-height: 1.4;
  text-align: left;
  font-size: 20px;
  font-weight: 300;
}

h5 {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}
h6 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

p {
  line-height: 1.4;
  font-size: 20px;
  font-weight: 300;
  text-align: center;
}

p1 {
  font-weight: 700;
}

p3 {
  text-align: left;
  font-size: 20px;
}



/* Global Tags end */

/* Layout Tags */
.button {
  display: inline-block;
  /* since the <a> tag is inline by default, we need to change this to inline-block, but more on this in the next exercise */
  background-color: #2F2F2D;
  color: #FD7E26;
  border: 2px solid #D4D3BD;
  /* needed to override the default link color */
  font-weight: 700;
  padding: 10px;
  margin-top: 10px;
  border-radius: 6px;
  transition: 0.2s opacity, 0.5s background-color, 0.4s font-size;
}

.button:active {
  background-color: #2F2F2D;
  color: #FD7E26;
  text-decoration: none;
}

.button:hover {
  cursor: pointer;
  background-color: #FD7E26;
  color: #2F2F2D;
  text-decoration: none;
  opacity: 0.9;
}

.button.contact {
  background-color: #2F2F2D;
  color: #FD7E26;
  text-transform: uppercase;
}

.button.contact:hover {
  background-color: #FD7E26;
  color: #2f2f2d;
}

.button.contact:active {
  background-color: #2F2F2D;
  color: #FD7E26;
}

.container {
  padding: 30px;
}

.column {
  padding: 0 15px;
}

.row {
  margin: 25px 0;
  /* 25px top and bottom, 0 left and right */
}

/* Layout Tags end*/

/* Specific sections and elements as per structure */
/* Header*/
header {
  position: fixed;
  box-shadow: 0px 2px 7px 0px #9DB8A9;
  background: linear-gradient(0.25turn, #2F2F2D, #2F2F2D);
  color: #9DB8A9;
  padding: 10px 0;
  width: 100%; 
  z-index: 4;
}

.logo {
  width: 100px;
  float: left;
  padding-bottom: 20px;
  margin-top: -5px;
}

.logo {
  transition: all 0.3s; /* Add a smooth transition effect */
}

.logo:hover  {
  transform: scale(1.1); /* Enlarge the logo on hover */
  opacity: 1.1; /* Reduce the opacity on hover */
}

.logo:active {
  transform: scale(0.9); /* Shrink the logo when clicked */
  opacity: 1; /* Restore the opacity when clicked */
}

nav>ul {
  list-style-type: none;
  padding: 0px;
  margin: 0;
}

nav>ul>li>a {
  padding: 0 20px;
  font-weight: 700;
  color: #FD7E26;
}

nav>ul>li>a:hover {
  font-weight: 700;
  color: #FD7E26;
}

nav>ul>li>a:active {
  font-weight: 700;
  color: #FD7E26;
}

.navtoggle,
.navtoggle.responsive {
  position: relative;
}

.navtoggle li .icon {
  padding-right: 0;
  position: absolute;
  right: 0;
  top: 2px;
  font-size: 30px;
}

.navtoggle li:not(:last-child) {
  display: none;
}

.navtoggle.responsive nav {
  padding: 147px 0 0;
}

.navtoggle.responsive li {
  display: block;
  padding: 10px 0;
  border-top: 1px solid #caddd3;
}

.navtoggle.responsive li:last-child {
  padding: 0 0 10px;
}

/* Main*/
main {
  padding-top: 100px;
}

#hero span {
  background-color: transparent;
  margin: 0;
  display: block;
  width: 100%;
  text-align: center;
}

.anna {
  color: #FD7E26;
  margin-top: 100px;
}

.slogan {
  line-height: 1.4;
  font-size: 24px;
  font-weight: 300;
  margin-top: 20px;
  padding: 30px;
  text-align: center;
  font-style: italic;
}

.intro {
  text-align: center;
  padding: 30 15px;
}

.skills {
  text-align: center;
}

.gif {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 40%;
  height: 20%;
}

/* Footer*/
footer {
  box-shadow: 0px -2px 7px 0px #9DB8A9;
  text-align: center;
  background: linear-gradient(0.25turn, #2F2F2D, #2F2F2D);
  color: #9DB8A9;
}

.animation {
  height: 100px;
}

.contact-part {
  margin-bottom: 50px;
}

.footernav {
  margin-bottom: 20px;
}

.footernav ul {
  padding: 0;
  margin: 0;
}

.footernav ul li {
  display: inline-block;
}

.footernav li a {
  padding: 10px 10px;
}

.icon {
  max-width: 42px;
}

.copyright {
  text-align: center;
  font-size: 14px;
  font-weight: 200;
  font-style: italic;
}

/* Specific sections and elements as per structure end*/

/* Media Queries and Animation */

/* ==============================
Medium devices (640px and larger)
================================= */
@media only screen and (min-width: 640px) {
  #about-page h3 {
    margin-top: 0;
  }

  header {
    background: linear-gradient(0.25turn, #2F2F2D, #2F2F2D);
    text-align: unset;
    padding: 10px 0;
  }
 
    .logo  {
      transition: all 0.3s; /* Add a smooth transition effect */
    }
  
    /* Define the styles for the logo when tapped (clicked) on mobile */
    .logo:active {
      transform: scale(0.9); /* Shrink the logo when tapped on mobile */
      opacity: 1; /* Restore the opacity when tapped on mobile */
    }
  
  body {
    font-size: 18px;
  }

  nav {
    width: auto;
    float: right;
    margin-top: 4px;
  }

  nav>ul {
    margin: 1em 0;
  }

  nav>ul>li {
    display: inline-block;
  }

  .navtoggle li:not(:last-child) {
    display: inline-block;
  }

  .navtoggle li:last-child {
    display: none;
  }

  .navtoggle.responsive nav {
    padding: 0px 0 0;
  }

  .navtoggle.responsive li {
    border-top: 1px solid transparent;
    padding: 0px 0;
  }

  .col-md-6 {
    width: 50%;
  }

  [class*="col-"] {
    float: left;
    padding: 10px;
  }

  .container .row::after {
    content: "";
    clear: both;
    display: table;
    margin-left: auto;
    margin-right: auto;
  }
}

/*???makes my logo huge
/* ==============================
Large devices (1024px or larger)
================================= */
@media only screen and (min-width: 1024px) {
  .col-lg-7 {
    width: 60%;
  }

  .col-lg-5 {
    width: 40%;
  }

  .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px 0px;
  }
}

/* ==============================
X-large devices (1440px or larger)
================================= */
@media only screen and (min-width: 1440px) {
  .absolute-pos {
    position: absolute;
    left: 20%;
    margin-top: 50px;
  }

  .buttonV {
    margin-top: 163px;
  }

  .buttonVG {
    margin-top: 127px;
  }

  .buttonVGG {
    margin-top: 154px;
  }

  .buttonVGV {
    margin-top: 147px;
  }
}

/*logo {min-width: 641px;} - makes my logo huge!*/

/* ==============================
Extra-large devices (1920px or larger)
================================= */
@media only screen and (min-width: 1920px) {}

/*logo {min-width: 641px;} - makes my logo huge!*/

/* ==============================
animation
================================= */
@keyframes color-change {
  from {
    fill: #2F2F2D;
  }

  to {
    fill: #FD7E26;
  }
}

.cloud {
  animation-duration: 2s;
  animation-name: color-change;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
}

.envelope {
  animation-duration: 2s;
  animation-name: envelope-move;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
}

.envelopecover {
  animation-duration: 2s;
  animation-name: envelope-move;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
}

.envelopeblue {
  animation-duration: 2s;
  animation-name: envelope-move;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
}

@keyframes envelope-move {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(5deg);
  }
}

/* @keyframes device-move {
  from {transform: translate(0,20px);}
  to {transform: translate(10px,20px);}
}*/