body {
    background-color: white;
}

header {
    font-size: 22px;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #efecdf;
    align-content: center;
    text-align: center;
    width: 100%;
    height: 40px;
    top: 0%;
    padding-top: 10px;
    z-index: 1000;
    position: fixed;
}

header img {
    width: 90px;
    height: 34px;
    float: left;
    margin-bottom: 12px;
    margin-left: 10px;
}

header a:not(:last-of-type) {
    font-family: arial;
    font-size: 15px;
    text-decoration: none;
    text-align: center;
    color: rgb(79, 60, 6);
    margin: 40px;
}

header a:not(:last-of-type):hover {
    transition: 1s;
    color: gold;
    font-size: 18px;
}

.button {
    color: black;
    padding: 8px 20px;
    background-color: rgb(222, 197, 7);
    border-radius: 45px;
    float: right;
    text-decoration: none;
    margin-right: 15px;
}

.button1 {
    border: solid black;
    color: black;
    padding: 6px 15px;
    background-color:#fffdf3;
    border-radius: 45px;
    text-decoration: none;
    margin-right: 25px;
}

.button2 {
    color: black;
    padding: 8px 22px;
    background-color: rgb(222, 197, 7);
    border-radius: 45px;
    text-decoration: none;
}

main {
    height: 475px;
    background-color:  #fffdf3;
    padding-top: 100px;
    padding-bottom: 120px;
    width: 100%;
}

.maindiv1 {
    left: 10%;
    position: absolute;
    width: 80%;
    height: 500px;

    display: flex;
}

.maindiv2 {
    width: 65%;
    height: 100%;
    align-items: center;
    text-align: center;
    align-content: center;
}

.maindiv3 {
    display: flex;
    width: 35%;
    right: 0%;
    top: 0%;
    height: 100%;
    position: absolute;
    justify-content: center;
}

.navhover {
    color: white;
}

.navhover:hover { 
    color: gold;
    transition: 0.5s;
}

a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
}

nav {
    width: 100%;
    background-color: rgb(33, 33, 33);
    align-content: center;
    height: 47px;
}

nav a {
    padding: 30px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.main_first {
    height: 300px;
    margin: auto;
    text-align: center;
}

.main_first div {
    color: black;
    padding: 25px 20px;
    background-color: rgba(184, 184, 184, 0.674);
    border-radius: 7px; 
    width: 200px;
}

.button23 {
    color: black;
    padding: 11px 40px;
    background-color: rgb(222, 197, 7);
    border-radius: 45px;
    text-decoration: none;
}

.main2 div div {
    color: black;
    border-radius: 10px;
    width: 100%;
    padding-bottom: 20px;
    justify-content: space-around;
    display: flex;
    flex-direction: column;
    padding: 15px;
    border: 1px solid black;
    background: #fffdf3;
    min-height: 280px; 
}

.divbutton {
    margin: auto;
    border: 1px;
    background-color: rgb(45, 45, 45);
    border-radius: 30px;
    padding: 7px 40px;
}
 
.userdiv {
    width: 27%;
    background-color: #c7c7c789;
    margin: auto;
    border-radius: 11px;
    height: 230px;
    border: none;
    position: relative;
    padding-top: 35px;
    color: rgb(0, 0, 0);
    gap: 10px;
    background: linear-gradient(50%);
}

footer {
    display: flex;
    align-items: center;
    height: 350px;
    background-color: rgb(39, 39, 39);
}

footer img {
    width: 150px;
    margin-left: 120px;
}

footer div {
    border: 1px solid white;
    height: 50%;
    width: 50%;
}

.laastdiv {
    border-radius: 20px;

    color: black;
    border-radius: 10px;
    width: 100%;
    padding-bottom: 20px;
    justify-content: space-around;
    display: flex;
    flex-direction: column;
    padding: 15px;
    border: 1px solid black;
    background-color: rgba(128, 128, 128, 0.185);
    min-height: 280px;  
}

.dern_div {
    background-color: #c7c7c789;
    min-height: 280px;
    color: black;
    border-radius: 20px;
    width: 100%;
    padding-bottom: 20px;
    justify-content: space-around;
    display: flex;
    flex-direction: column;
    padding: 15px; 
}

.footer_div {
    justify-self: center;
    height: 50px;
    display: flex;
    width: 100%;
}

.footer_divLT {
    width: 50%;
    height: 50px;
}

.footer_divRT {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    justify-self: flex-end;
    height: 50px;
}

.classdivfooter {
    right: 200px;
}

@media (max-width: 576px) {
    body {
        width: 100%;
        margin-left: 0%;
        background-color: #fffdf3;
    }
    .header_media {
        height: 30px;
        left: 0%;
        width: 100%;
        background-color: #fffdf3;
    }
    .header_media img {
        width: 60px;
        height: 24px;
        margin-top: 1px;
    }
    .header_media a:not(:last-of-type) {
        display: none;
    }
    .button {
        color: black;
        padding: 5px 10px;
        background-color: rgb(222, 197, 7);
        border-radius: 45px;
        float: right;
        text-decoration: none;
        margin-right: 20px;
        font-size: 13px;
    }
    .mainmedia {
        height: 530px;
    }
    .maindiv1 {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        height: 600px;
        position: relative;
        justify-content: center;
    }
    .maindiv2 {
        width: 100%;
        height: 70%;
        position: absolute;
        bottom: 0%;
    }
    .maindiv3 {
        position: absolute;
        height: 29%;
        width: 100%;
        justify-self: center;
    }
    .maindiv3 img {
        width: 170px;
        height: 170px;
    }
    nav {
        height: 300px;
    }
    .divnav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .navhover {
        width: 100%;
    }
    .navhover:nth-last-child(-n+4) {
        display: none;

    }
    .button23 {
        padding: 9px 25px;
        margin: auto;
    }
    .main_first {
        margin-bottom: -60px;
    }
    .main2 {
        margin-top: 400px;
    }
    .main2div1 {
        flex-wrap: wrap;
    }
    .main3 {
        margin-top: 1300px;
        padding-bottom: 670px;
    }
    .main2div2 {
        flex-wrap: wrap;
    }
    .userdiv1 {
        padding-bottom: 570px;
        position: relative;
        flex-wrap: wrap;
        display: block;
        flex-direction: column;
    }
    footer {
        display: flex;
        display: grid;
        height: 300px;
    }
    .classdivfooter {
        justify-self: center;
    }
}

@media (max-width: 430px) {
    .main3 {
        margin-top: 1550px;
    }
    .divbutton {
        margin-top: 15px;
    }
}

@media (max-width: 380px) {
    .main3 {
        margin-top: 1690px;
    }
}

@media (max-width: 330px) {
    .main3 {
        margin-top: 1750px;
    }
    footer img {
        margin-left: -1px;
    }
    .mainmediadiv {
        margin: auto;
    }
    .button1 {
        padding: 4px 6px;
    }
    .button2 {
        padding: 6px 12px;
    }
    nav {
        margin-top: 80px;
    }
}