@import url('https://fonts.googleapis.com/css2?family=Nanum+Myeongjo:wght@800&display=swap');

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
    background-color: black;
    color: white;
    overflow-x: hidden;
}


.main {
    width: 100%;
    height: 85vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.logo {
    width: 24%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: 140px;
}

#navbar {
    margin-top: 32px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0px;
    left: 0px;
}

navbar ul {
    width: 74%;
    display: flex;
    align-items: center;
    justify-content: center;
}

navbar li {
    list-style: none;
    padding: 13px 23px;
    /* transition: 1s ease-in-out; */
}

navbar li:hover {
    border-bottom: 1px solid white;

}

navbar a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    word-spacing: 3px;
}


#home {
    height: 80vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: absolute;
    top: 143px;
    left: 0px;
    flex-direction: column;
}

#bg-video {
    position: absolute;
    left: 0%;
    right: 0px;
    z-index: -2;
    object-fit: cover;
}

#overlay {
    position: absolute;
    left: 0%;
    right: 0px;
    z-index: -1;
    width: 100%;
    height: 85vh;
    background-color: black;
    opacity: .46;
}


#bg-video {
    width: 100%;
    height: 100%;
}



#home h1 {
    font-size: 63px;
    font-family: 'Nanum Myeongjo', serif;
}


#home h2 {
    margin-top: 12px;
    font-size: 33px;
    font-family: 'Nanum Myeongjo', serif;
    letter-spacing: 1px;
}

/* about */
.about {
    margin-top: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.left {
    font-family: sans-serif;
    font-size: 17px;
    width: 60%;
}

.left p {
    line-height: 23px;
}

.right {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;
}

.right img {
    width: 85%;
    border-bottom-left-radius: 55px;
    border-top-right-radius: 55px;
}

.left h1 {
    width: 100%;
    margin-bottom: 54px;
    color: white;
    font-size: 39px;
}

.left b {
    border-bottom: 3px solid rgb(255, 153, 0);
}

.left i {
    font-weight: 700;
}

.btn {
    margin-top: 24px;
    margin-bottom: 14px;
    width: 89px;
    height: 31px;
    background-color: white;
    color: black;
    outline: none;
    border: none;
    border-radius: 4px;
}


.main .popup
{
    height: 100%;
    top: 123px;
    /* width: 1; */
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}


.main form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 27%;
    height: 51%;
}

.main form input {
    width: 76%;
    height: 47px;
}

#popup-log
{
    display: none;
}

.popup-log-inside
{
    width: 100%;
    /* height: 100%; */
    display: flex;
    align-items: center;
    justify-content: center;
}
#popup-main form
{
    height: 100%;
}

#popup-main {
    top: 64px;
    height: 89vh;
}
#popup-main h3
{
    margin-left: 90%;
    margin-bottom: 24px;
    cursor: pointer;
}
#popup-main form input {
    width: 95%;
    height: 47px;
}

.main form .btn
{
    background-color: rgb(160, 155, 155);
}

.cross


#login-btn,#signup-btn
{
    cursor: pointer;
}

#cross,#cross2{
    margin-left: 82%;
    margin-bottom: 34px;
}

#popup-log
{
    height: 70%;
}

.section-inside h2
{
    
    font-size: 24px;
    font-weight: 700;
        margin-bottom: 0px;
}

/* popup */

.popup {
    padding-top: 23px;
    width: 80vw;
    /* height: 95%; */
    background-color: white;
    position: absolute;
    top: 0%;
    left: 10%;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 4;
    border: 1px solid white;
    border-radius: 4px;
    border: 1px solid rgb(15,15,15);
}

textarea {
    width: 95%;
    border-radius: 10px;
    margin-top: 17px;
    padding-left: 12px;
    padding-top: 12px;
    margin-bottom: 17px;
    border: 1px solid black;
    outline: none;
}

#cross,#cross2
{
    cursor: pointer;
}

.popup-main {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-evenly;
    /* margin-top: 24px; */
    margin-bottom: 44px;
}


.popup-main-inside {
    height: 142px;
    width: 16%;
    background-color: #cbcaca;
    color: rgb(78, 78, 78);
    font-family: sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 24px;
}

.popup p {

    font-size: 20px;
    word-spacing: 2px;
    font-weight: 500;
    line-height: 26px;
    padding: 17px 17px 17px 17px;
}

.popup-main-inside h1 {
    font-size: 17px;
    line-height: 23px;

}

.one {
    background-color: rgb(255, 204, 204);
    border: 2px solid rgb(255, 153, 153);
}

.two {
    background-color: rgb(204, 255, 204);
    border: 2px solid rgb(153, 255, 153);
}

.three {
    background-color: rgb(204, 204, 204);
    border: 2px solid rgb(204, 204, 204);
}

.four {
    background-color: rgb(153, 204, 204);
    border: 2px solid rgb(153, 153, 255);
}

.poph {
    text-align: center;
    margin-bottom: 24px;
    color: black;
    font-size: 39px;
    font-family: Arial, Helvetica, sans-serif;
}

#popup {
    display: none;
}

#close {
    margin-left: 24px;
}


.section {
    padding-top: 84px;
    padding-bottom: 84px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    background-color: white;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: black;
    letter-spacing: 1px;
    line-height: 34px;
    font-size: 1rem;
    font-weight: 400;
}

.section-inside {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.section img {
    width: 123px;
}

/* Services  */

.services {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    outline: none;
    border: none;
}

.services-main {
    height: 57vh;
    width: 27%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    /* border-radius: 23px; */
    margin-top: 33px;
    color: rgb(255, 83, 81);
    transition: ease-out 0.5s;
    outline: none;
    border: none;
    background-color: white;
    box-shadow: inset 0 0 0 0 rgb(255, 83, 81);
    /* border: 1px solid rgb(15,15,15); */
    padding-left: 34px;
    padding-right: 34px;
}

.services-main:hover {
    box-shadow: inset 400px 0 0 0 rgb(255, 83, 81);
    color: white;
}


.ones,
.twos,
.threes {
    background-color: rgb(255, 83, 81);
    box-shadow: inset 0 0 0 0 white;
    color: white;
}


.ones:hover,
.twos:hover,
.threes:hover {
    box-shadow: inset 400px 0 0 0 white;
    color: rgb(255, 83, 81);
}

.services-main p {
    font-size: 21px;
}

.services img {
    width: 93px;
}

/*  form*/

.last {
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: black;
    background: url('/images/image.jpg') no-repeat center center/cover;
    margin-top: 54px;
    position: relative;
}

.last textarea {
    width: 76%;
    border-radius: 10px;
    margin-top: 17px;
    padding-left: 12px;
    padding-top: 12px;
    margin-bottom: 0px;
    border: 1px solid black;
    outline: none;
}

.last .left {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 33px;
}

.last-left p {
    line-height: 24px;
}

.last .right {
    height: 80%;
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: white;
    border-radius: 23px;
}

.last .right h1 {
    font-family: Arial, Helvetica, sans-serif;
    color: black;
    margin-top: 48px;
}

.last form {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

form input {
    width: 76%;
    height: 13%;
    border-radius: 9px;
    outline: none;
    border: none;
    padding-left: 13px;
    border: 1px solid black;
    margin-top: 17px;
}

.btn-last {
    background-color: black;
    color: white;
    margin-top: 24px;
    outline: none;
    border: none;
    width: 79px;
    height: 31px;
    border-radius: 5px;
    margin-bottom: 24px;
}

.last .right {
    height: 74vh;
}

/* responsive */

.responsive-navbar {
    display: none;
}

#signup-form
{
    display: none;
}


@media only screen and (max-width: 1040px) {

    .responsive-navbar {
        display: block;
    }

    .logo {
        display: none;
    }

    #navbar {
        margin-top: 0px;
        z-index: 4;
        top: 90px;
        display: none;
    }

    #navbar ul {
        transition: ease-in 0.5s;
        padding-top: 44px;
        width: 30%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background-color: black;
        position: absolute;
        top: 0%;
    }

    .responsive-navbar {
        margin-top: 24px;
        position: absolute;
        top: 0%;
        width: 90%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .res-logo img {
        width: 64px;
    }

    .line {
        width: 24px;
        height: 2px;
        background-color: white;
        margin-top: 4px;
    }

    #home h1 {
        font-size: 44px;
    }

    .about {
        flex-direction: column;
    }

    .left {
        width: 84%;
    }

    .right {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 61%;
        margin-top: 34px;
        margin-bottom: 34px;
    }

    .section {
        flex-direction: column;
    }

    .last {
        height: 100%;
        flex-direction: column-reverse;
    }

    .last .right {
        width: 61%;
    }

    .last .left {
        width: 88%;
    }

    .services-main p {
        font-size: 19px;

        line-height: 25px;
    }

    .services img {
        width: 128px;
    }

    .section-inside h3 {
        margin-bottom: 3px;
    }
    .section-inside h2 {
        margin-bottom: 40px;
    }

    .services-main {
        height: 37vh;
    }

    .last .right {
        height: 74vh;
    }

    .services-main {
        height: 43vh;
        width: 40%;
    }

    .right {
        width: 72%;
    }

    .main form {

        width: 52%;
        height: 51%;
    }
}

@media only screen and (max-width: 740px) {

    .main form {

        width: 75%;
        height: 56%;
    }

    .services-main {
        height: 43vh;
        width: 71%;
    }

    .last .right {
        width: 73%;
    }

    #home h1 {
        font-size: 35px;
    }

    #navbar ul {
        width: 100%;
        height: 74vh;
    }

    navbar a {
        font-size: 16px;
    }

    #home {
        height: 60vh;
    }
}

@media only screen and (max-width: 440px) {
    .services img {
        width: 95px;
    }

    .services-main {
        height: 50vh;
        width: 71%;
    }

    #home h1 {
        font-size: 29px;
    }

    #home h2 {
        font-size: 29px;
    }

    .right {
        width: 84%;
    }
}


.linkd 
{
    width: 64px;
    margin-right: 84%;
    margin-top: 34px;
    margin-bottom: 34px;
}

.last-left
{
    flex-direction: column;
}