/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: #9a83ad;
  color:#9f3758;
  font-family: "lucida console","courier new", 'Courier New', Courier, monospace;
   max-width:980px;
     margin:auto;

  
}
  h1 {
    text-align: center;
    color: #480950;
  }
  
  h2 {
    text-align:left;
    display: inline-block;
    padding: 5px;
    
  }

header {
  padding: 30px;
  text-align: center;
  font-size: 35px;
  color:#9f3758 ;
}

section {
  display:flex
}

nav {
  flex:1;
  padding:20px;
}

nav ul {
  list-style-type: none;
  padding: 0;
  text-align: center;
  
}

article {
 flex-basis:3;
transform: translatex(10px);
 
}

}

  section {
    max-width:960px;
    margin:auto;
  }
  
  header {
    max-width:960px;
    margin:auto;
  }
  
   
   footer{
     max-width:980px;
     margin:auto;
     padding:10px;
   }


  #sidebar1{

    line-height: 1.5;
    background-color: #68b783;
    outline-style: dotted;
    flex-basis:20px;
    max-height:relative;
  
  }
  
  #introtext {
    outline-style: dotted;
    outline-color: #9f3758;
    padding: 30px;
    text-align: center;
    
  
  }

p{
color: #4f1b2c;
text-align: center;
}

a {
  color:	#480950;
}

 #lastmodbox {
  text-align: right;
 
}

  

/* .flip-card-container */

.flip-card-container {
  width: 310px;
  height: 500px;
  transform:translatex(-35px);
 

  perspective: 1000px;
}

/* .flip-card */
.flip-card {
  width: inherit;
  height: inherit;

  position: relative;
  transform-style: preserve-3d;
  transition: .6s .1s;
}

/* hover and focus-within states */
.flip-card-container:hover .flip-card,
.flip-card-container:focus-within .flip-card {
  transform: rotateY(180deg);
}

/* .card-... */
.card-front,
.card-back {
  width: 80%;
  height: 80%;
  border-radius: 24px;

  
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;

  backface-visibility: hidden;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* .card-front */
.card-front {
  transform: rotateY(0deg);
 

}

/* .card-back */
.card-back {
  transform: rotateY(180deg);
  z-index: 1;
  background-color:		#c791f8;
}

/* figure */
figure {
  z-index: -1;
}

/* figure, .img-bg */
figure,
.img-bg {
  position: absolute;
  top: 0;
 left:0;

  width: 100%;
  height: 100%;
}

/* img */
botw{ 
  height:100%;
  border-radius: 24px;
}


/* .img-bg */


.card-front .img-bg::before {
  content: "";

  position: absolute;
  top: 34%;
  left: 50%;
  

  width: 100%;
  height: 6px;
  transition: .1s;
}

.card-back .img-bg {
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 60%);
}

/* hover state */
.flip-card-container:hover .card-front .img-bg::before {
  width: 6px;
  border-left-color: var(--primary);
  border-right-color: var(--primary);
}


/* button */
button {
  font-family: inherit;
  font-weight: bold;
  color: var(--white-1);

  letter-spacing: 2px;

  padding: 9px 20px;
  border: 1px solid var(--grey);
  border-radius: 1000px;
  background: transparent;
  transition: .3s;

  cursor: pointer;
}

button:hover,
button:focus {
  color: var(--primary);
  background: hsla(var(--hue), 25%, 10%, .2);
  border-color: currentColor;
}



.abs-site-link {
  position: fixed;
  bottom: 20px;
  left: 20px;
  color: hsla(0, 0%, 100%, .6);
  font-size: 16px;
  
}

/* button */
button {
  font-family: inherit;
  font-weight: bold;
  color: var(--white-1);

  letter-spacing: 2px;

  padding: 9px 20px;
  border: 1px solid var(--grey);
  border-radius: 1000px;
  background: transparent;
  transition: .3s;

  cursor: pointer;
}

button:hover,
button:focus {
  color: var(--primary);
  background: hsla(var(--hue), 25%, 10%, .2);
  border-color: currentColor;
}

button:active {
  transform: translate(2px);
}

