/* 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 {
  color: plum;
  font-family: "mayonice-webfont";
}

h1{
  background-color: lightblue;
}

p{
 background-color: purple; 
 color: aquamarine;
 text-align: center;
}

s{
 background-color: purple; 
 color: aquamarine;
 text-align: left;
}

.links{
  color:green;
  border: 10px;
  border-style: ridge;
  background-color:black;
  width:500px;
  margin-top: 0%;
  float: left;
  position: relative;
  margin-left: 10%;
}

.test{
  color:green;
  border: 10px;
  border-style: ridge;
  background-color:black;
  width:500px;
  margin-top: 0%;
  margin-left: auto;
  margin-right: 10%;
  position: relative;
}

li{
  color: blueviolet;
  
}

.n{
  font-family: "mayonice-webfont";
}

.myDiv{
  border: 5px outset red;
  background-color: lightblue;
  text-align: center;
}

.welcome{
  margin: auto;
  align-self: center;
  text-align: center;
}

.code-look{
  color:green;
  border: 10px;
  border-style: ridge;
  background-color:black;
  width:500px;
  margin: auto;
}

.introText{
  border: 10px;
  border-style: ridge;
  background-color: powderblue;
  width:500px;
  margin: auto;
}

@property --a{
  syntax: '<angle>';
  inherits: true;
  initial-value: 0deg;
}
@property --p {
  syntax: '<percentage>';
  inherits: true;
  initial-value: 0%;
}
@property --c1 {
  syntax: '<color>';
  inherits: true;
  initial-value: #000;
}
@property --c2 {
  syntax: '<color>';
  inherits: true;
  initial-value: #000;
}

html {
  --s: 80px;
  --_g: #0000, var(--c1) 2deg calc(var(--a) - 2deg),#0000 var(--a);
  background: 
    conic-gradient(from calc(-45deg  - var(--a)/2) at top    var(--p) left  var(--p),var(--_g)),
    conic-gradient(from calc(-45deg  - var(--a)/2) at top    var(--p) left  var(--p),var(--_g)),
    conic-gradient(from calc( 45deg  - var(--a)/2) at top    var(--p) right var(--p),var(--_g)),
    conic-gradient(from calc( 45deg  - var(--a)/2) at top    var(--p) right var(--p),var(--_g)),
    conic-gradient(from calc(-135deg - var(--a)/2) at bottom var(--p) left  var(--p),var(--_g)),
    conic-gradient(from calc(-135deg - var(--a)/2) at bottom var(--p) left  var(--p),var(--_g)),
    conic-gradient(from calc( 135deg - var(--a)/2) at bottom var(--p) right var(--p),var(--_g)),
    conic-gradient(from calc( 135deg - var(--a)/2) at bottom var(--p) right var(--p),var(--_g))
    var(--c2);
  background-size: calc(2*var(--s)) calc(2*var(--s));
  animation: m 2s infinite alternate linear;
}

@keyframes m {
  0%,15% {
    --a: 135deg;
    --p: 20%;
    --c1: #5D3FD3;
    --c2: #36A0EB;
    background-position: 0 0,var(--s) var(--s);
  }
  45%,50% {
    --a: 90deg;
    --p: 25%;
    --c1: #5D3FD3;
    --c2: #36A0EB;
    background-position: 0 0,var(--s) var(--s);
  }
  50.01%,55% {
    --a: 90deg;
    --p: 25%;
    --c2: #5D3FD3;
    --c1: #36A0EB;
    background-position: var(--s) 0,0 var(--s);
  }
  85%,100% {
    --a: 135deg;
    --p: 20%;
    --c2: #5D3FD3;
    --c1: #36A0EB;
    background-position: var(--s) 0,0 var(--s);
  }
}

.collapsible {
  background-color: #5D3FD3;
  color: #DA27F5;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover {
  background-color: #36A0EB;
}

/* Style the collapsible content. Note: hidden by default */
.content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #DA27F5;
}