/*
CSS-SYNTAX:

selector { 
     property: value(s);
}

1) TAGS selectors -> body, header, h1, p...
2) CLASS selector -> .active, .important, class-xyz...

*/







header {
    background-color: crimson;
    padding-top: 2.5em;
    padding-right: 5vw;
    padding-left: 5vw;
    padding-bottom: 2.5em;
    background-image: url(../img/web-information-art.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-bottom: solid 2px black;


}


body {
    margin: 0px;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    font-family: pressio-condensed, sans-serif;
    font-weight: 500;
    font-style: normal;
}



h1 {
    margin-top: 1em;
    margin-bottom: 0.5em;
    font-size: 7.6vw;
    color: white;
    text-align: center;
    border: 5px;
    font-family: "impact", sans-serif;
    font-weight: 100;
    font-style: normal;

}

nav {
    text-align: left;
    font-family: "impact", sans-serif;
    font-weight: 400;
    font-style: normal;
}

nav href {
    display: block;
    
}

h2 {
    margin-top: 1em;
    margin-bottom: 0.5em;
    font-size: 2.5em;
    font-weight: 400;
    text-align: center;
    font-family: forma-djr-mono, sans-serif;
font-weight: 900;
font-style: normal;

}

code {
    font-family: "forma-djr-mono", sans-serif;
    font-weight: 300;
    font-style: normal;
}

p {
    padding-right: 1em;
    padding-left: 1em;
    max-width: 75ch;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.6em;
    letter-spacing: 0.02em;

}

main {
    padding: 10vh 1em 20vh;
    background-color: #9ebee3;
    margin: 0 auto;

}

.css {
    background-color: #ffdb58;
}

.css-bg {
    background-image: url(../img/deepai/web-interactive-art-bw.jpg)
}

h1 {

    text-shadow: 5px 5px 10px black;
}

.responsive {
    background-color: #2F65C2;
}

.responsive-bg {
    background-image: url(../img/deepai/network-information-art.jpg)
}

.layout {
    background-color: #8DAB5A;


}

.layout-bg {
    background-image: url(../img/deepai/web-interactive-art.jpg)
}



footer {
    background-color: black;
    color: white;
    padding-right: 5vw;
    padding-left: 5vw;
    padding-top: 0.5em;
    padding-bottom: 0.5em;

}

nav a {

    background-color: white;
    text-decoration: none;
    padding: 0.5em;
    border: solid 1px black;
    transition: 0.4s;

}

nav a:hover {
    color: white;
    background-color: black;
    text-decoration: none;

}

.l {
    color: white;
    background-color: black;

}




a {
    color: black;
}



.important {
    max-width: none;
    text-align: center;
    font-size: 1.5em;
    border-bottom: solid 3px black;
    border-top: solid 3px black;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    padding-left: 3em;
    padding-right: 3em;
    margin-top: 2em;
    margin-bottom: 2em;


}

.important:hover {

    background-color: aliceblue;

}



.container {
    background-color: gainsboro;
    padding: 1em;
    margin-bottom: 2.5em;
    margin-top: 2.5em;
}



.cont-inline div {
    display: inline;
}


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

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

.cont-flex {
    display: flex;
    color: azure;
    background-color: black;
    border: solid 3px gainsboro;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 40vh;
    align-items: center;
}

.cont-flex .item {
    background-color: white;
    color: black;
}

.item {
    background-color: black;
    color: white;
    padding: 0.5em;
    border: 0.5em;
    margin: 0.5em;
}

article {
    background-color: white;
    padding-top: 2em;
    padding-bottom: 5em;
    margin-bottom: 15vh;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 5px 5px 20px gray;
}

ul {
    padding: 0;
    margin-top: 2em;
    max-width: 75ch;
    margin-left: auto;
    margin-right: auto;
    list-style-type: none;



}

li {
    border-top: black solid 1px;
    margin-bottom: 2.5em;
    padding-top: 1em;
    padding-left: 2em;
    padding-right: 2em;

}


/*
.important code {
    font-size: 2em;
    color: palevioletred;
}
*/

figcaptoin {
    padding: 1em;
    margin-bottom: 2em;
    text-align: center
}

img {
    width: 100%;

}

figure {
    margin-top: 2em;
    margin-right: 0;
    margin-bottom: 2em;
    margin-left: 0;
    background-color: #fafafa;

}
