body {
    font-family: 'Times New Roman';
    margin: 0;
    background-color: #181218;
    color: #181218;
}

/* relativo ao index */

#cont {
    height:100vh;
    padding:1em;
    background-color:transparent;
    z-index:999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#cover {
    width:14em;
    height:18em;
    background-image:url("https://i.pinimg.com/736x/d9/fd/b9/d9fdb98b3224912c82d2bd8ffb043f73.jpg");
    background-size:cover;
    background-position:center;
    position:absolute;
    z-index:998;
    top: calc(-1 * var(--sw));
        right: calc(-1 * var(--sw));
    perspective: 1000px;
    transform-origin: left;
        transform-style: preserve-3d;
        transform:translateX(13em);
    animation:backflip 1.7s cubic-bezier(.75,.03,.4,.97);
    animation-fill-mode:forwards;
}

@keyframes backflip {
	100% {
		transform: rotateY(0) translateX(0) skewY(0);
	}

	50% {
		transform: rotateY(-90deg) translateX(0em) skewY(-20deg);
	}

	0% {
		transform: rotateY(-180deg) translateX(0em) skewY(0);
	}
}

#cont:hover #cover {
animation:flip 1.7s cubic-bezier(.75,.03,.4,.97);
animation-fill-mode:forwards;
}

@keyframes flip {
	0% {
		transform: rotateY(0) translateX(0) skewY(0);
	}

	50% {
		transform: rotateY(-90deg) translateX(0em) skewY(-20deg);
	}

	100% {
		transform: rotateY(-180deg) translateX(0em) skewY(0);
	}
}

#page {
    width:14em;
    height:18em;
    background-color:#ECC8CA;
    position:relative;
    overflow:auto;
    box-sizing: border-box;
}

.button1 {
    border: dotted;
    color: #181218;
    background: #ECC8CA;
    text-decoration: none;
    padding: 10px 20px;
    text-align: center;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    margin-left: 65px;
}

.button1:hover {
    background-color: #181218;
    color: #ECC8CA;
}

/* relativo à homepage */

:root {
    --header-image: url('https://files.catbox.moe/hca3a1.png');
    --content: #181218;
}
* {
    box-sizing: border-box;
}

#container {
    max-width: 850px;
    margin: 0 auto;
}

#container a {
    color: #ECC8CA;
    font-weight: bold;

}

#container b {
max-width: 200px;
margin: auto;
}

#header {
    width: 100%;
    margin-top: 20px;
    height: 250px;
    background-image: var(--header-image);
    background-size: 100%;
}

#navbar {
    height: 30px;
    background-color: #ECC8CA;
    width: 100%;
}

/*
#navbar ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style-type: none;
    justify-content: space-evenly;
}

#navbar li {
    padding-top: 10px;
}

#navbar li a {
    color: #181218;
    font-weight: 800;
    text-decoration: none;
}

#navbar li a:hover {
    color: #3E1F20;
    text-decoration: underline;
}
*/

.btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    border: d
}

.btn-group .button2:not(:last-child) {
  border-right: none;
}

.button2 {
    border: dotted;
    color: #181218;
    background: transparent;
    text-decoration: none;
    padding: 4px 41px;
    text-align: center;
    display: inline-block;
    font-size: 15px;
    cursor: pointer;
}

.button2:hover {
    background-color: #181218;
    color: #ECC8CA;
}

#flex {
    display: flex;
}

aside {
    background-color: #ECC8CA;
    width: 200px;
    padding: 15px;
    font-size: smaller;
    border: dotted;
}

main {
    background-color: #ECC8CA;
    flex: 1;
    padding: 15px;
    order: 2;
    border: dotted;
}

#leftSidebar {
    order: 1;
    margin-right: 10px;
}

#rightSidebar {
    order: 3;
    margin-left: 10px;
}

footer {
    background-color: #ECC8CA;
    width: 100%;
    height: 36px;
    padding: 6px;
    margin-bottom: 20px;
    text-align: center;
    border: dotted;
}

h1,
h2,
h3 {
    color: #181218;
}

h1 {
    font-size: 20px;
}

strong {
    color: #181218;
}

#topBar {
    width: 100%;
    height: 30px;
    padding: 10px;
    font-size: smaller;
    background-color: #ECC8CA;
}


@media only screen and (max-width: 800px) {
    #flex {
        flex-wrap: wrap;
    }

    aside {
        width: 100%;
    }

    main {
        order: 1;
    }

    #leftSidebar {
        order: 2;
        margin-right: 0;
    }

    #rightSidebar {
        order: 3;
        margin-left: 0;
    }

    #navbar ul {
        flex-wrap: wrap;
    }
}