@charset "UTF-8";

@font-face {
  font-family: myFirstFont;
  src: url(../bugaki-regular.woff);
}

/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

article, aside, footer, header, main, nav, section, div {
  display: block;
}

/* Body Structure */
body {
  font-size: 30px;
  text-align: center;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Condensed', Helvetica, 'Helvetica Neue', Arial, sans-serif;
}

h1 {
  font-size: 60px;
  font-family: "Sofia", sans-serif;
}

h2 {
  font-size: 45px;
  text-align: center;
  padding: 10px;
}

h3 {
  font-size: 40px;
}

/* Navigation */
nav {
  background-color: black;
  height: 90px;
  padding: 25px;
}

nav a:link {
  text-decoration: none;
  padding: 30px 20px;
  font-size: 20px;
}

nav a:visited {
 color: green;
}

nav a:hover {
  font-size: 25px;
  background-color: tan;
}

nav a:active {
  background-color: blueviolet
}

/* Header */
#header {
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/abstract-background.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.intro {
  color: tan;
  padding: 100px;
  line-height: 2;
}

.intro h2 {
  -webkit-text-stroke: 3px red;
  -webkit-text-fill-color: transparent;;
}

.intro h3 {
  text-shadow: 3px 3px 25px red;
}

/* Page Structure */
section {
  padding: 30px;
}

/* Fonts Section */
#fonts {
  background-color: gray;
}

#fonts h2 {
  font-family: myFirstFont, serif;
  font-size: 55px;
  font-weight: bold;
}

#fonts p {
  text-align: left;
  padding: 10px 25px;
}

.p1 {
  font-family: monospace;
}

.p2 {
  font-family: cursive;
}

.p3 {
  font-family: fantasy;
}

.p4 {
  font-style: italic;
}

.p5 {
  font-variant: small-caps;
}

.p6 {
  font-family: "Sofia", sans-serif;
}

.p7 {
  font-family: sans-serif;
  font-stretch: ultra-condensed;
}

/* Buttons Section */
#buttons {
  background-color: aqua;
}

button {
  font-size: 18px;
  padding: 20px 30px;
  color: white;
  margin: 20px;
  border: none;
  text-decoration: none;
}

.button1 {
  background-color: pink;
  color: black;
}

.button2 {
  background-color: white;
  color: blue;
  border: 2px solid red;
}

.button3 {
  background-color: brown;
  width: 300px;
}

.button4 {
  background-color: yellow;
  color: black;
  padding: 30px 40px;
}

.button5 {
  background-color: gray;
  font-size: 20px;
}

.button6 {
  background-color: purple;
  border-radius: 25px;
}

.shadow {
  width: 400px;
  height: 200px;
  padding: 20px;
  margin: 30px auto;
  background-color: black;
  color: blue;
  box-shadow: 15px 15px 10px 20px blue;
}

/* Images Section */
#images {
  background-color: bisque;
  display: flex;
}

.img-items {
  padding: 50px;
}

#images img {
  padding: 30px;
}

.img1 {
  border-top-left-radius: 75px;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 100px;
  border-bottom-left-radius: 40px;
}

.img2 {
  border-radius: 50%;
}

.img3 {
  border: 5px solid red;
  border-radius: 4px;
  padding: 5px;
  width: 150px;
}

.img4 {
  opacity: 0.5;
}

.img5 {
  filter: invert(100%);
}

.img6:hover {
  transform: scaleX(-1);
}

.img7 {
  border: 10px solid transparent;
  padding: 10px;
  border-image: url(../images/six.jpg) 30 round;
}

.img8 {
  border-image-source: url(../images/six.jpg);
  border-image-outset: 15px;
}

.img9 {
  border: 10px solid transparent;
  padding: 10px;
  border-image: url(../images/six.jpg) 30 stretch;
}

.img9 {
  border-image-source: url(../images/six.jpg);
  border-image-outset: 15px;
}

.mailbox {
  background-image: url("../images/mailbox\ 1.jpg");
  background-attachment: fixed;
  background-origin: padding-box;
  background-position: bottom left;
}

/* Lists Section */
#lists {
  background-color: goldenrod;
  text-align: left;
  display: flex;
}

ol {
  list-style-type: lower-alpha;
  margin: 60px;
  background: #ff9999;
  padding: 20px;
  width: 50%;
  list-style-position: inside;
}

ol li {
  background: #ffe5e5;
  color: darkred;
  padding: 5px;
  margin: 5px;
}

ul {
  list-style-image: url('images/wallpaper.png');
  margin: 60px;
  background: #3399ff;
  padding: 20px;
  width: 50%;
  list-style-position: outside;
}

ul li {
  background: #cce5ff;
  color: darkblue;
  padding: 5px;
  
}

/* Tables Section */
#tables {
  background-color: rosybrown;
  border: 10px dotted brown;
  display: flex;
}

table {
  width: 50%;
  margin: 20px;
}

.table1, .table1 th, .table1 td {
  border: 1px solid black;
}

.table2, .table2 th, .table2 td {
  border: 1px solid white;
}

.table1 {
  border-collapse: collapse;
}

.table1 th {
  background-color: black;
  color: white;
}

.table1 tr:nth-child(even){
  background-color: #f2f2f2
}

.table1 tr {
  text-align: left;
}

.table2 th {
  background-color: #04AA6D;
  color: white;
}

.table2 tr:hover {
  background-color: lightgreen;
}

.table2 tr {
  vertical-align: bottom;
}

/* Text Section */
#text {
  background-color: olive;
  text-align: left;
  padding: 40px 20px;
}
#text>p {
  padding-bottom: 15px;
}

.color {
  background-color: black;
  color: beige;
}

.align {
  text-align: center;
}

.direction {
  direction: rtl;
  unicode-bidi: bidi-override;
}

.decoration {
  text-decoration: line-through blue wavy 5px;
}

.transform {
  text-transform: capitalize;
}

.indent {
  text-indent: 100px;
}

.letter-spacing {
  letter-spacing: 10px;
}

.height {
  line-height: 3;
}

.word-spacing {
  word-spacing: 10px;
}

.overflow {
  white-space: nowrap;
  width: 300px;
  border: 1px solid yellow;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Gradients Section */
#gradients {
  background-color: green;
}

.grad {
  display: flex;
  padding:  5px  5px 5px 100px;
}

.grad>* {
  flex-basis: 100%;
  align-content: center;
  justify-content: center;
}

#grad1 {
  height: 180px;
  max-width: 400px;
  background-color: red; /* For browsers that do not support gradients */
  background-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
}

#grad2 {
  height: 180px;
  max-width: 400px;
  background-image: linear-gradient(to right, rgba(0,255,0,0), rgba(0,255,0,1));
}

#grad3 {
  height: 180px;
  max-width: 400px;
  background-color: red; /* For browsers that do not support gradients */
  background-image: repeating-linear-gradient(190deg,yellow,red 7%,orange 10%);
}

#grad4 {
  height: 180px;
  max-width: 400px;
  background-color: white; /* For browsers that do not support gradients */
  background-image: radial-gradient(brown, pink, red);
}

#grad5 {
  height: 180px;
  max-width: 400px;
  background-color: red; /* For browsers that do not support gradients */
  background-image: radial-gradient(circle, indigo, yellow, orange);
}

#grad6 {
  height: 180px;
  max-width: 400px;
  background-color: red; /* For browsers that do not support gradients */
  background-image: repeating-radial-gradient(blue, yellow 10%, black 15%);
}

#grad7 {
  height: 180px;
  max-width: 400px;
  background-color: red; /* For browsers that do not support gradients */
  background-image: conic-gradient(red, violet, pink, blue, indigo);}

#grad8 {
  height: 180px;
  max-width: 400px;
  background-color: red; /* For browsers that do not support gradients */
  background-image: conic-gradient(black, blue, green, yellow, red);
  border-radius: 50%;
}

#grad9 {
  height: 180px;
  max-width: 400px;
  background-color: red; /* For browsers that do not support gradients */
  background-image: repeating-conic-gradient(black 10%, goldenrod 20%);
  border-radius: 50%;
}

/* Pagination Section */
.pagination a {
  color: black;
  
  padding: 8px 16px;
  text-decoration: none;
}

.pagination a.active {
  background-color: #4CAF50;
  color: white;
  border-radius: 5px;
}

.pagination a:hover:not(.active) {
  background-color: #ddd;
  border-radius: 5px;
}

/* Footer */
.footer {
  background-color: black;
  color: white;
  height: 90px;
  padding: 30px;
}