@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
* {
    padding: 0;
    margin: 0;
    font-family: "Poppins";
    transition: .5s;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 7px;
    transition: .5s;
}


/* Track */


/* Handle */

 ::-webkit-scrollbar-thumb {
    background: black;
    border-radius: 1.3px;
}


/* Handle on hover */

 ::-webkit-scrollbar-thumb:hover {
    background: #1b1b1b;
}

#hide::selection {
    display: none;
    background-color: white;
}

*::selection {
    background-color: black;
    color: white;
}

body {
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

header {
    height: fit-content;
    scroll-snap-align: start;
}

header::before {
    content: "";
    position: fixed;
    width: 900px;
    height: 150vh;
    right: -400px;
    top: -100px;
    z-index: -99999;
    background-color: rgba(0, 0, 0, 0.03);
    transform: rotate(-45deg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    scroll-snap-type: y mandatory;
}

.logo {
    font-size: 1.4rem;
    font-weight: 600;
}

.logo span {
    color: white;
    background-color: black;
    padding: 5px 10px;
    display: flex;
    width: fit-content;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 2rem;
}

.draw-icon {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    cursor: pointer;
    padding: 1rem;
}

.up {
    width: 50px;
    height: 3px;
    background-color: black;
    margin-bottom: 20px;
}

.down {
    width: 50px;
    height: 3px;
    background-color: black;
}

.clicked1 {
    width: 50px;
    margin-bottom: 0;
    background-color: black;
    margin-bottom: 00px;
    transform: rotate(-45deg);
}

.clicked2 {
    width: 50px;
    height: 3px;
    background-color: black;
    transform: rotate(45deg);
}

.header-content {
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
}

.header-content .text .txt {
    font-size: 70px;
    font-weight: 700;
    line-height: 4.5rem;
    word-wrap: break-word;
}

.header-content .text .txt span {
    font-size: 100px;
    padding-left: .5rem;
}

.text {
    width: 80%;
}

.image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image img {
    width: 450px;
}

.text p {
    margin-top: 15px;
    font-size: 20px;
    color: rgb(48, 48, 48);
    margin-bottom: 2.3rem;
}

.btn {
    position: relative;
    font-size: 20px;
    padding: 10px 25px;
    font-weight: 500;
    border: 1.5px solid black;
    cursor: pointer;
    display: flex;
    align-items: center;
    width: fit-content;
}

.btn::before {
    content: "";
    right: -1px;
    position: absolute;
    height: 46px;
    width: 0px;
    background-color: black;
    transition: .5s;
    z-index: -1;
}

.btn:hover {
    color: white;
}

.btn:hover::before {
    width: 100%;
    color: white;
}

.modal {
    position: absolute;
    z-index: 999999;
    background-color: white;
    padding: 3rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    right: 15rem;
    top: 10rem;
    overflow: hidden;
    width: 0;
    height: 0;
    padding: 0;
}

.modal-close {
    position: absolute;
    z-index: 999999;
    background-color: white;
    padding: 3rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    right: 15rem;
    top: 10rem;
    overflow: hidden;
    width: auto;
    height: auto;
}

.modal p {
    font-size: larger;
    color: rgb(26, 26, 26);
    margin-bottom: 1rem;
}

.modal ul {
    list-style: none;
    line-height: 2rem;
}

.modal ul li a {
    position: relative;
    text-decoration: none;
    color: rgb(49, 49, 49);
    display: flex;
    flex-direction: column;
    margin: 5px 0;
}

.modal ul li a::before {
    content: "";
    position: absolute;
    bottom: 0px;
    width: 0px;
    height: 2.5px;
    background-color: rgb(49, 49, 49);
    transition: .5s;
}

.modal ul li a:hover {
    color: rgba(49, 49, 49, 0.733);
}

.modal ul li a:hover::before {
    width: 50px;
}

.scroll {
    position: fixed;
    width: 30px;
    height: 30px;
    padding: 1.5rem;
    font-size: 25px;
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 2rem;
    right: 2rem;
    cursor: pointer;
    border: 2px solid black;
    z-index: 999999;
}

.scroll:hover {
    background: transparent;
    color: black;
}

.load {
    position: fixed;
    width: 100vw;
    height: 100%;
    z-index: 999999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.load .loadicon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 5px solid rgb(179, 179, 179);
    border-right: 5px solid black;
    animation: spin .7s infinite linear;
}

a {
    text-decoration: none;
    color: black;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width:1200px) {
    .modal {
        right: 3rem;
    }
}

@media (max-width:900px) {
    section {
        height: fit-content;
    }
    body:before {
        width: 700px;
        height: 700px;
        left: -300px;
        top: -200px;
    }
    .btn {
        width: max-content;
        font-size: 15px;
    }
    .text {
        width: 100%;
        margin-bottom: 5rem;
    }
    .header-content {
        flex-direction: column;
    }
    .image img {
        width: 300px;
    }
    header {
        height: auto;
    }
    #name {
        margin-bottom: 2rem;
    }
    .header-content .text .txt {
        font-size: 45px;
        font-weight: 700;
        line-height: 3rem;
    }
    .header-content .text .txt span {
        font-size: 50px;
        padding-left: .3rem;
    }
    .text p {
        font-size: 15px;
    }
    .container {
        padding: 1rem;
    }
}