/*
Name: Tyler Avirett
File name: Css.css
Date: 11/20/22 */

/* CSS Reset */

body, header, nav, main, footer, h1, div, img section, article, aside, figure, figcaption{
  margin: 0;
  padding: 0;
  border: 0;
}
/* Header style*/
header{
  font-family: Arial, Lato, Tahoma, sans-serif;
  color:black;
  background-color: gray;
  background-repeat: no-repeat;
  width: 100%;
  height: 10%;
}
#carts {
    font-family: Arial, Lato, Tahoma, sans-serif;
    color: black;
    background-color: gray;
    background-repeat: no-repeat;
    font-size: 1em;
    text-align: center;
    
}

.button{
  background-color: steelblue; /* Green */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 2em;
  border-radius: 20%;
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
.button:hover {
  background-color: green; /* Green */
  color: white;
}
.background {
  background-color: gray;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}
/* Main Style */
.iframe {
  color: white;
  text-align: center;
  border-style: outset;
  border-color: white;
}
main {
  font-family: Arial, Lato, Tahoma, sans-serif;
  font-size: 1em;
  
}
.item {
    vertical-align: top;
    display: inline-block;
    text-align: center;
    width: 120px;
  	padding: 1em;
    border-radius: 50%;
}

img {
    width: 100px;
    height: 100px;
    left: 0px;
    top: 0px;
    background-color: grey;
    border-radius: 30%;
    animation-name: pict;
    animation-duration: 4s;
    animation-iteration-count: 8;
}
.caption {
    display: block;
    border-radius: 50%;
}
.textbox {
  color: black;
  text-align: center;
  background-color: deepskyblue;
  font-size: 105%;
  border-width: .25em;
  border-style: outset;
  border-color: white;
  display: grid;
  grid-template-columns: auto;
}

@keyframes truck{
  from{margin-left: 100px;}
  to{margin-left: 1175px;}
}
.truck {
  margin-left: 0px;
  animation-name: truck;
  animation-duration: 8s;
  animation-iteration-count: infinite;
}

/*Media Query*/

@media screen and (min-width: 480px) {
  .textbox{margin: 25px 165px 25px 165px}

}
@media screen and (min-width: 880px) {
  .textbox{margin: 25px 300px 25px 300px}
  nav li a:link {color:black;}
  nav li a:visited {color:blue;}
  nav li a:hover {color:blue;}
  nav li a:active {color:red;}
  main a:link {color:black;}
  main a:visited {color:blue;}
  main a:hover {color:green;}
  main a:active {color:red:}
}

/* nav style*/
.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: linear-gradient(to bottom right, darkgray, white);
}

.brand-title {
    font-size: 1.5rem;
    margin: .5rem;
}

.navbar-links ul {
    margin: 0;
    padding: 1rem;
    display: flex;
    font-size: 1.5em;
}

.navbar-links li {
    list-style: none;
}

    .navbar-links li a {
        text-decoration: none;
        padding: 1rem;
        display: block;
    }

.toggle-button {
    position: absolute;
    top: .75rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

    .toggle-button .bar {
        height: 3px;
        width: 100%;
        background-color: black;
        border-radius: 10px;
    }

@media (max-width: 490px) {

    .toggle-button {
        display: flex;
    }

    .navbar-links {
        display: none;
        width: 100%;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .navbar-links ul {
        width: 100%;
        flex-direction: column;
    }

    .navbar-links li {
        text-align: center;
    }

        .navbar-links li a {
            padding: .5rem 1rem;
        }

    .navbar-links.active {
        display: flex;
    }

    .iframe2 {
        height: 600px;
        width: 430px;
    }

    .textbox {
        width: 80%;
    }

    td {
        font-size: 70%;
    }
    iframe{
        width: 430px;
    }
}
#Puppies {
  padding: 3em 3em;
  border-radius: 60%;
  height: 20%;
  width: 20%;
  max-height: 100%;

}
#Personal {
  padding: 3em 3em;
  border-radius: 40%;
  height: 20%;
  width: 18%;
  max-height: 100%;
  top: -12em;
}

/* Footer style */
figure img{
  border-radius: 20%;
}

#title {
    text-align: center;
    font-family: 'Lucida Console';
    font-size: 4em;
}

.result {
    text-align: center;
    font-family: 'Lucida Console';
    font-size: 4em;
}