* {
    padding: 0;
    margin: 0;
    font-family: sans-serif;
    text-decoration: none;
}

body {
    background-color: whitesmoke;
    height: 2000px;
}

/* HEADER */

header {
    position: relative;
    width: auto;
    height: 100px;
    background-color: cadetblue;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

    /* HEADER. logo */

.main_logo {
    position: absolute;
    border-top: 4px solid white;
    border-bottom: 4px solid white;
    left: 130px;
    top: 20px;
    color: white;
    font-family: sans-serif; 
    font-size: larger;
    font-weight: 500;
    text-align: center;
    border-radius: 4px;
    padding-bottom: 5px;
    transition: .3s;
}

.main_logo:hover {
    transform: scale(1.1);
}

.main_logo p {
    background-color: white;
    color: cadetblue;
    padding: -1px;
}

.main_logo a {
    text-decoration: none;
    color: white;
}

    /* HEADER. menu*/

header ul {
    display: flex;
    flex-direction: row;
    gap: 50px;
    align-items: center;
}

.menu li {
    position: relative;
    color: white;
    text-align: center;
    list-style: none;
}

.menu a {
    transition: all .5s;
    color: gray;
    font-weight: 600;
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
}

.menu a:hover {
    background-color: cadetblue;
    transition: .5s;
    color: aqua;
}

.menu ul {
    position: absolute;
    display: none;
    border-radius: 7px;
}

.menu li:hover ul {
    display: block;
    width: 200px;
    background-color: aquamarine;
    box-shadow: 1px 2px 2px 1px gray;
}

/* MAIN. html list */

.html_list {
    position: absolute;
    position: fixed;
    display: flex;
    flex-direction: column;
    width: 200px;
    height: 500px;
    overflow-y: scroll;
    left: 100px;
    text-align: center;
}

.html_list h1 {
    color: cadetblue; 
}

.html_list a {
    color: cadetblue;
    display: block;
    font-weight: bold;
    height: 40px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.html_list a:hover {
    background-color: aqua;
    color: grey;
}

/* MAIN_TXT */

.main_txt {
    width: 1050px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 100px;
    margin-top: 50px;
}

.main_txt ul {
    margin-left: 30px;
}

.main_txt div {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* FOOTER */

footer {
    background-color: cadetblue;
    height: 300px;
    margin-top: 100px;
}

footer ol {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-top: 15px;
}

footer ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
}

footer a {
    color: white;
    font-weight: 600;
}

footer a:hover {
    color: aqua;
}