/*

{SYNTAX CSS}

selector {
       property: value(s);
    
       property: -top -right -bottom -left
}

----------------------------------------------------------

1) TAG selectors --> body, h1, foooter...

2) CLASS selectors --> .class-x, .class-y, .class-z ...

3) PSEUDOCLASS selectors --> :hover, :focus, :checked ...

*/


/*CSS*/

body {
    font-family: 'W95FA', sans-serif;

    font-size: 125%;

    line-height: 1.5;

    margin: 0px;


    cursor: url(../design/cursor.gif), auto;
}



@font-face {
    font-family: 'W95FA';

    font-style: normal;

    font-weight: 400;
    src: local('W95FA'), url('https://fonts.cdnfonts.com/s/45697/W95FA.woff') format('woff');
}



/*bg-color*/

.bg-color header {
    font-family: 'W95FA';

    background: #6e40e4;
}



.bg-color main {
    background: linear-gradient(0deg, rgba(246, 175, 255, 1) 0%, rgba(143, 246, 255, 1) 48%, rgba(246, 175, 255, 1) 100%);
    text-align: center;
}



.bg-color .important {
    color: black;
    background-color: white;
}



.bg-color .important:hover {
    color: white;
    background-color: #f0419f;
}




/* header */

header {
    display: flex;

    flex-direction: column;
    align-items: center;

    justify-content: center;

    padding: 50px;
    border-bottom: 15px solid #eaeaea;
}


h1 {
    font-family: 'W95FA';

    text-align: center;
    text-transform: uppercase;
    text-decoration: underline;

    font-weight: bold;
    unicode-bidi: isolate;
    font-size: 4.5em;


    color: #ffd9f6;
    text-shadow: 2.5px 2.5px 2.5px #ff6bdc;


    margin: 0 0 0 0;


    background-clip: text;
}




nav a {
    font-family: 'W95FA';


    display: inline-block;

    padding: 6px 12px;


    border: 4px solid black;
    border-radius: 0.5em;


    margin: 0.2em;

    padding: 0.2em;


    color: black;
    background: linear-gradient(180deg, rgba(99, 102, 104, 0.9) 0%, rgba(69, 71, 71, 0.9) 50.52%, rgba(52, 52, 52, 0.9) 53.12%, rgba(0, 0, 0, 0.9) 100%);
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.3), inset 0px 2px 1px rgba(255, 255, 255, 0.3), inset 0px -2px 1px rgba(0, 0, 0, 0.4);


    text-decoration: none;
    transition: 0.4s;


    box-shadow: 0 0 transparent;
    white-space: nowrap;

}

nav a:hover {
    display: inline-block;
    text-decoration: underline;

    color: #ffd9f6;

    transition: 0.4s;
}


.current {
    background-color: black;
    color: #ffd9f6;
}






/* main */

main {
    padding: 64px 16px 120px 16px;
}



main a:-webkit-any-link {
    color: #d966be;
    cursor: pointer;

    text-decoration: underline;

    transition: 0.4s;
}

main a:-webkit-any-link:hover {
    color: white;
    cursor: pointer;

    text-decoration: underline;
    text-shadow: 2px 2px 4px #000000;

    transition: 0.4s;
}



article {

    background: linear-gradient(180deg, black 0%, rgba(14, 15, 15, 0.9) 100%);

    color: #ffd9f6;

    width: auto;
    max-width: 870px;

    margin: 20px;
    margin-left: auto;
    margin-right: auto;

    border: none;
    border: 30px solid transparent;

    padding: 0px;

    display: block;

    border-image: url(../design/border.png) 46 round;

    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.2), 0 10px 10px 0 rgba(0, 0, 0, 0.2);

}





/*img*/

figure {
    margin: 50px 0;
    padding: 0;
    background-color: #f0efef;
}


img {
    width: 100%;
    overflow: clip;
}


.image-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;


    margin: 0 0 2em;
    padding: 1.5em;
}


.image-container figure {
    flex-basis: 450px;
    margin: 2px;
}


.image-container figure img {
    max-height: 25em;
    max-width: 25em;
}


figcaption {
    margin-top: 0;
    font-size: 1.2em;
    text-align: center;

    color: #e591d1;
    background-color: black;

    padding: 20px;
}





/*container + item*/

.container {
    margin: 2.5em 0;
    padding: 1em;
    border-radius: 1.5em;

    background-color: #63a7eb;
}


.item {
    font-weight: bold;

    margin: 0.5em;
    padding: 0.5em;
    border-radius: 1.5em;

    border: 2px #fafafa solid;

    background-color: #878C87;
    color: #fafafa;
    ;

    text-transform: uppercase;
}



/*display*/

.display-block .item {
    display: block;
}



.display-inline .item {
    display: inline;
}

.display-inline h2 {
    display: inline;
}



.display-inline-block .item {
    display: inline-block;
}

.display-inline-block h2 {
    display: inline-block;
}




.display-flex .container {

    /*FLEX-BOX EIGENSCHAFTEN*/

    display: flex;

    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;

    align-items: baseline;



    min-height: 300px;

    margin: 2.5em 0;
    padding: 1em;
    border: solid 4px #e8e8e8;

    background-color: #878C87;
}


.display-flex .item {
    margin: 0.5em;
    padding: 0.5em;

    background-color: #fafafa;
    color: #63a7eb;

    text-transform: uppercase;
}




/*p*/

h2 {
    text-transform: uppercase;
    text-align: center;

    font-weight: bold;
    font-size: 2.5em;

    text-shadow: 2px 2px 2px #ff6bdc;
}


h3 {
    margin: 2em 0 1em;

    font-family: 'W95FA';

    font-size: 2.2em;
    font-weight: 400;
    text-align: center;

    text-shadow: 2px 2px 2px #ff6bdc;
}


p {
    line-height: 1.5em;

    margin: 1.5em auto 1.5em auto;
    padding: 0 1em;

    max-width: 75ch;
    font-size: 1.2em;
}




/*important*/

.important {
    border-radius: 1em;

    font-size: 1.5em;
    text-align: center;

    margin: 0;

    padding: 1.4em 4em 1.6em 4em;

    max-width: none;

    transition: 0.8s;
}




.important:hover {
    border-radius: 1em;

    font-size: 1.5em;
    text-align: center;

    margin: 0;

    padding: 1.4em 4em 1.6em 4em;

    max-width: none;

    color: white;
    background-color: linear-gradient(180deg, lightpink, ghostwhite) 100%;

    transition: 0.8s;
}




/* list */

ul {
    list-style: none;

    max-width: 75ch;
    font-size: 1.2em;

    margin: 2em auto 2em auto;
    padding-left: 0;
}



li {
    text-align: left;


    padding: 1em 2em;
    margin-bottom: 2em;
    border-top: ridge 5px #6e40e4;
}







/* footer */


footer {
    text-align: left;
    font-weight: lighter;

    border-top: 15px solid #eaeaea;
    padding: 20px 32px 20px 32px;

    background: linear-gradient(180deg, rgba(46, 47, 47, 0.9) 0%, rgba(42, 42, 42, 0.9) 50.52%, rgba(31, 31, 31, 0.9) 53.12%, rgba(0, 0, 0, 0.9) 100%);
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.3), inset 0px 2px 1px rgba(255, 255, 255, 0.3), inset 0px -2px 1px rgba(0, 0, 0, 0.4);

}



footer a:-webkit-any-link {
    color: #d966be;
    cursor: pointer;

    text-decoration: underline;
    text-shadow: 1px 0.5px #ac228b;

    transition: 0.4s;
}



footer a:-webkit-any-link:hover {
    color: white;
    cursor: pointer;

    text-decoration: underline;
    text-shadow: 1px 0.5px #ac228b;

    transition: 0.4s;
}




footer p {
    color: #ffd9f6;

    font-size: 0.9em;
    text-shadow: 1px 0.5px #d966be;

    margin: 0em;
    padding: 0.3em;
}
