* {
    padding: 0;
    margin: 0;
}

html {
    overflow-x: hidden;
    cursor: url('media/cursor1.png'), auto;
}

.home-600px-nav {
    display: none;
    box-shadow: 0px 0px 20px 5px rgba(0, 0, 0,0.4);
}
.home-600px-nav>img:nth-child(1) {
    display:inline !important;
}

.home-nav {
    display: flex;
    gap: 13px;
    justify-content: end;
    padding: 40px 5vw 50px 0;
    position: relative;
    /* border: 2px solid; */
    background-color: #99F577;
    box-shadow: 0px 5px 20px 5px rgba(0, 0, 0, 0.2);
}
.profile-box{
    height:120px;
    width:100%;
    background: inherit;
    position: relative;
}
.profilepic{
    width:70%;
    height:70%;
    border-radius: 50%;
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    border:2px solid black;
}
.icons.icons2.profilebox{
    height:120px !important;
}
.headerpen{
    position: absolute;
    bottom: 0;
    right: 20% !important;
    bottom:10px;
    background-color: #f5f5f5;
    border:1px solid rgb(156, 155, 155);
    padding:1px 4px;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.headerpen:hover{
    cursor: pointer;
    background-color: yellowgreen;
}
.form {
    position: fixed;
    z-index: 100;
    /* border: 2px solid #888; */
    background-color: #fff;
    width: 90%;
    max-width: 320px;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    display:none;
}
.cut{
    position:absolute;
    top:8px;
    right:8px;
    border: 1px solid #ff8888;
    background: #ffdddd;
    padding:1px 2px;
    border-radius: 3px;

}
.cut:hover{
    background: #ffbbbb;
    cursor:pointer;
}
.underlay{
    position:fixed;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    z-index: 50;
    background: black;
    filter:opacity(0.6);
    display:none;
}

.form input[type="file"] {
    margin-bottom: 1rem;
}

.form input[type="submit"] {
    background: #007acc;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.form input[type="submit"]:hover {
    background: #005fa3;
}

@media (max-width: 500px) {
    .form {
        padding: 1rem;
        max-width: 95vw;
    }
}


.logo {
    position: absolute;
    left: 6vw;
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.icons {
    border: 2px solid #51D6F1;
    background-color: #51D6F1;
    border-radius: 2px;
    padding: 3px 10px;
    font-size: 15px;
    color: black;
}

.More {
    position: absolute;
    top: 100%;
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 5px;
    /* height: 130px; */
    z-index: 500;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
        opacity 0.3s ease-in-out,
        transform 0.3s ease-in-out;
}

.More.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(5px);
}
#more{
    cursor: pointer !important;
}
.icons2 {
    width: 110px;

}

a {
    text-decoration: none;
    color: black;
    cursor:pointer;

}

.icons:hover {
    cursor: pointer;
    background-color: var(--color1);
    border-color: var(--color1);
    transform: scale(1.05);
}

:root {
    --color1: #e8b483;

}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    background-color: #51D6F1;
    position: absolute;
    top: 75px;

    left: 0;
    width: 45%;
    z-index: 200;
    margin: 0px 20px 0px 35vw;
    box-shadow: 18px 18px 12px 0px rgba(0, 0, 0, 0.2);
    transform: translateX(-300%);
    transition: transform 0.3s ease-in-out;
}

.mobile-nav-links.open {
    transform: translateX(0);
}

.mobile-nav-links a {
    padding: 15px 25px;
    border-bottom: 1px solid #AEECFB;
    color: black;
    font-size: 18px;

}

header {
    /* background-color: #99F577; */
}

.line {
    border: 2px solid lightsalmon;
}

@media (max-width:900px) {
    .icons {
        font-size: 14px;
    }
}

@media (max-width:600px) {
    .home-nav {
        display: none;
    }

    .home-600px-nav {
        display: flex;
        justify-content: space-around;
        padding: 20px;
        background-color: #99F577;
    }

    .home-600px-nav>img:nth-child(1) {
        /* width: 20vw; */
        /* width:35%; */
        height:120px;
    }

    .home-600px-nav>img:nth-child(2) {
        width: 8vw;
        height: 8vw;
    }
}