* {
    box-sizing: border-box;
}
body{
    background-color: rgb(0, 44, 189);
    margin: 0 auto;
}
a{
    text-decoration: none;
    color: rgb(216, 148, 216);
}
header {
    align-content: center;
    background-position: 20% 50%;
    padding-top: 45px;
    height: 250px;
    background-image: url("https://cdn.pixabay.com/photo/2017/09/08/05/07/state-2727717_640.png");
    background-size:33% 35%;
    border-image-outset: 10px;
    background-attachment:fixed;
    background-position:center;}
.head{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}
img{
    width:50px;
    height:60px;
}
.img-poster{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border:solid black 2px;
    transition: transform 1000ms cubic-bezier(.23, .49, .48, .88);
}
.img-poster:hover{
    transform:scale(1.1)rotate(10deg)
}
h1 {
    background-color: rgba(13, 0, 73, 0.733);
    display: table;
    margin: 10px auto;
    padding: 10px;
    border-radius: 20px;
    transition: transform 1000ms cubic-bezier(.23, .49, .48, .88);
}
h1:hover{
    transform:scale(1.1);
}
.card {
    flex-basis: 25%;
    padding: 45px;
    border-bottom: 5px solid #a3e3f3;
    border-radius: 80px;
    text-align: center;
    display: block;
    flex-direction: column;
    max-height: fit-content;
    max-width: 430px;
    margin-left: 390px;
    margin-top: 50px;
    align-content: space-around;
    background-color: #00027594;
    transition: background-color 1000ms cubic-bezier(.23, .49, .48, .88),
    transform 1000ms cubic-bezier(.23, .49, .48, .88);
}
.card:hover{
    background-color: #000275cc;
    transform:scale(1.05);
}
.block{
    position: relative;
    flex-basis: 25%;
    padding: 45px;
    border-radius: 16%;
    border:#a3e3f3;
    text-align: center;
    display: block;
    flex-direction: column;
    max-height: fit-content;
    max-width: 430px;
    margin-left: 390px;
    margin-top: 50px;
    align-content: space-around;
    background-color: #00027594;
    transition: background-color 1000ms cubic-bezier(.23, .49, .48, .88),
        transform 1000ms cubic-bezier(.23, .49, .48, .88);
}
.block:hover {
    background-color: #000275cc;
    transform: scale(1.05);
}
.block::after {
    content: "";
    position: absolute;
    top: 217px;
    display: block;
    width: 79%;
    height: 3px;
    border-radius: 50px;
    background-color: rgb(255, 208, 0);
    transform: scale(0.5);
    transition: transform 1s linear, opacity 1s linear;
    transform-origin: 101%;
    opacity: 0;
}
.block:hover::after {
    transform: scale(1);
    transform-origin: 0;
    opacity: 1.4;
}
.carde{flex-basis: 25%;
    border-bottom: 5px solid #e7c4c4;
    border-radius: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    max-height: 300px;
    max-width: 300px;
    justify-content: space-around;
    padding: 20px;
    margin-top: 50px;
    margin-left: 800px;
    background-color:#fffb0091;
    transition: background-color 1000ms cubic-bezier(.23, .49, .48, .88),
    transform 1000ms cubic-bezier(.23, .49, .48, .88);
}
.carde:hover{
    background-color: #fffb00a6;
    transform: scale(1.02);
} 
footer {
    text-align: center;
    margin: 80px;
    padding: 20px;
}