/*MAIN*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-seri;
}

body {
    height: 100vh;
    background-color: #000;
    background-image: url("YarnBgDark.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
}

a:hover {
    color: darksalmon;
}

/*HEADER*/
header {
    position: relative;
    padding: 0 2rem;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
}

.navbar {
    width: 100%;
    height: 75px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo a {
    font-size: 2rem;
}

.navbar .links {
    display: flex;
    gap: 2rem;
}

.navbar .toggle_btn {
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.navbar .toggle_btn:hover {
    color: darksalmon;
}

.action_btn {
    background-color: darksalmon;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    outline: none;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: scale 0.2 ease;
}

.action_btn:hover {
    scale: 1.05;
    color: #fff;
}

.action_btn:active {
    scale: 0.95;
}

/*DROPDOWN MENU*/
.dropdown_menu {
    display: none;
    position: absolute;
    right: 2rem;
    top: 60px;
    height: 0;
    width: 300px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: hidden;
    transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu.open {
    height: 250px;
}

.dropdown_menu li {
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown_menu .action_btn {
    width: 100%;
    display: flex;
    justify-content: center;
}

/*main*/
.mainDiv {
    height: calc(100vh - 75px);
}

.container1 {
    padding: 1rem;
    margin-bottom: auto;
    margin-left: 1rem;
    margin-right: 1rem;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
}

.container1 h1 {
    font-size: 3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.container2 {
    padding: 1rem;
    margin-bottom: auto;
    margin-left: 1rem;
    margin-right: 1rem;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
}

.container2 a {
    font-size: 2.5rem;
}

.container3 {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;    
}

.container3 img {
    margin: auto;
    height: 350px;
    width: auto;
    max-width: 100%;
    padding: .5rem;
    margin-bottom: 1rem;
}

.container4 {
    max-width: 1000px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
}

.container4 a {
    color:cornsilk;
}

.container4 a:hover {
    color: darksalmon;
}

.container4 h1{
    font-size: 3rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    color: #fff;
}

.container4 img {
    margin: auto;
    height: 400px;
    width: auto;
    max-width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
    align-content: center;
}

.help-link {
    font-size: 26px;
}

.help-link a {
    font-size: 26px;
    font-weight: bold;
    color: cornsilk;
    text-decoration: underline;
}

.help-link a:hover {
    color: darksalmon;
}

/*RESPONSIVE DESIGN NAVBAR*/
@media (max-width: 992px) {
    .navbar .links,
    .navbar .action_btn {
        display: none;
    }

    .navbar .toggle_btn {
        display: block;
    }

    .dropdown_menu {
        display: block;
    }
}

@media (max-width: 576px) {
    .dopdown_menu {
        left: 2rem;
        width: unset;
    }
}
