@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic+Coding&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100&display=swap');

*:not(.card, a, .container-c) {
    scroll-behavior: smooth;
    box-sizing: border-box;
  }  

body {
    margin: 0; 
    overflow-x: hidden;
    overflow-x: 0;
    box-sizing: border-box;
}

.bg {
    background-image: url(https://static.vecteezy.com/system/resources/previews/003/462/493/original/abstract-futuristic-face-concept-artificial-intelligence-background-free-vector.jpg);
    background-size: cover;
    position: fixed;
    z-index: -1;
    transition: .5s ease-in-out;
    box-sizing: border-box;
}

nav {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    padding: 24px;
    z-index: 1;
    position: fixed;
    left: 0%;
    top: 0;
    width: 100vw;
    color: white;
    transition: .3s ease-in-out;
}

.logo img {
    width: 75px;
}

.logo b {
    font-size: 40px;
    font-family: 'Nanum Gothic Coding';
    font-weight: 400;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    gap: 40px;
}

.right {
    width: 50%;
    display: flex;
    justify-content: center;
    gap: 24px;
    
}

.right a {
    width: 145px;
    background: none;
    border: 1px solid white;
    padding: 20px 24px;
    cursor: pointer;
    border-radius: 25px;
    backdrop-filter: blur(5px);
    box-shadow: 0px 0px 10px 0px rgba(128, 128, 128, 0);
    font-size: 17px;
    text-decoration: none;
    color: #fff;
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    transition: .25s ease-in-out;
}

.right a:hover {
    color:  black;
    background-color: white;
    border: 1px solid gray;
    width: 135px;
    font-size: 15px;
    box-shadow: 0px 0px 10px 0px gray;
    border-radius: 50px;
}

.right button:hover a{
    color:  black;
}

section {
    height: 1080px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    position: relative;
    box-sizing: border-box;
}

#home {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.container-c {
    display: flex;
    flex-direction: column;
    font-family: 'Nanum Gothic Coding';
    color: white;
    font-size: 50px;
    position: absolute;
    top: 17%;
    width: 40%;
    border-radius: 50px;
    text-align: center;
    padding: 0px 5%;
    height: 73%;
}

.container-c a {
    background-color: #fff;
    text-decoration: none;
    color: #000;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0);
    transition: .3s ease-in-out;
    font-family: 'Nanum Gothic Coding';
    font-weight: bold;
    letter-spacing: 3px;
    cursor: pointer;
    translate: 0px 20px;
    font-size: 20px;
    padding: 24px;
}

.container-c a:hover {
    border-radius: 50px;
    background-color: #000;
    border: 1px solid white;
    color: white;
    letter-spacing: 5px;
    box-shadow:  0px 0px 20px 0px rgba(255, 255, 255, 0.25);
}

#services {
    align-items: center;
    display: flex;
    justify-content: center;
}

.container-cards{
    align-items: center;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    height: 100%;
}

.card {
    background-color: white;
    display: flex;
    flex-direction: column;
    width: 20%;
    height: 70%;
    padding: 24px;
    border-radius: 25px;
    transition: .2s ease-in-out;
}

.card img {
    background-color: rgb(200, 200, 200);
    width: 100%;
    box-shadow: 0px 0px 15px 0px rgb(75, 75, 75);
    border-radius: 10px;
}

.card p {
    font-family:'Montserrat';
    font-weight: 800;
    font-size: 24px;
}

.card a {
    background-color: aquamarine;
    padding: 16px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat';
    text-align: center;
    font-size: 24px;
    font-weight:bolder;
    color: #000;
    border: 1px solid black;
    transition: .3s ease-in-out;
}

.card a:hover {
    color: aquamarine;
    background-color: #222222;
    border: 1px solid aquamarine;
}

.card:hover {
   scale: 0.925;
}

#trucazo {
    opacity: 0;
}  

.titleCard {
    font-weight: bold;
   
    padding: 24px;
    font-family: 'Montserrat';
    font-size: 40px;
    text-align: center;
}

#services {
    display: flex;
    flex-direction: column;
    height: calc(1080px * 2);
}

#services :nth-child(2) :nth-child(1) :nth-child(4){
    background-color: orangered;
    color: #fff;
}
#services :nth-child(2) :nth-child(1) :nth-child(4):hover{
    background-color: rgb(100, 50, 50);
    border: 1px solid grey;
}

#services :nth-child(2) :nth-child(2) :nth-child(4){
    background-color: rgb(0, 132, 255);
    color: #fff;
}
#services :nth-child(2) :nth-child(2) :nth-child(4):hover{
    background-color: rgb(0, 69, 134);
    border: 1px solid grey;
}

#services :nth-child(2) :nth-child(3) :nth-child(4){
    background-color: rgb(235, 202, 94);
    color: #fff;
}
#services :nth-child(2) :nth-child(3) :nth-child(4):hover{
    background-color: rgb(131, 110, 42);
    border: 1px solid grey;
}

#contact {
    display: flex;
    justify-content: center;
    align-items: center;
}

form {
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

form label {
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 100;
    font-size: 24px;
    color: #fff;
    width: fit-content;
    padding: 5px;
    border-radius: 5px;
}

form h3{
    font-family: 'Nanum Gothic Coding';
    font-size: 72px;
}

form input {
    border-radius: 5px;
    padding: 12px;
    width: 100%;
}

form textarea {
    resize: none;
    padding: 12px;
}

form button {
    border-radius: 50px;
    padding: 20px 54px;
    cursor: pointer;
    font-family: 'Montserrat';
    font-size: 20px;
    font-weight: 600;
    margin-top: 24px;
    border: 1px solid #000000;
    transition: .3s ease-in-out;
}

form button:hover {
    border: 1px solid #fff;
    color: #fff;
    background-color: #000;
}

footer {
    background-color: #3d3d3d;
    font-weight: 600;
    font-family: 'Montserrat';
    font-size: 16px;
    padding: 10px;
    color: #fff;
    text-align: center;
    width: 100%;
}

.menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: fit-content;
    height: 30px;
    scale: 0;
    position: absolute;
    cursor: pointer;
}

.menuZone {
    background: rgb(0, 0, 0);
    position: fixed;
    left: calc(-100% - 1px);
    top: 123px;
    width: 100%;
    height: 200px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;    
    transition: .5s ease-in-out;
    
}

.menuZone a {
    height: 33.3%;
    width: 100%;
    box-shadow: 0px 0px 1px 0px rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.menuZone a p {
    color: #fff;
    font-family: 'Nanum Gothic Coding';
    font-size: 20px;
    margin-left: 24px;
}

.line {
    width: 30px;
    height: 5px;
    background-color: #fff;
}

@media (max-width: 1500px) {
    nav {
        justify-content: space-evenly;
    }
    .logo{
       gap: 10px;
       width: fit-content;
    }

    .container-c {
        font-size: 30px;
    }

    .titleCard {
        font-size: 26px;
    }
}

@media (max-width: 1000px) {
    .right{
        scale: 0;
        position: absolute;
    }

    .logo{
       gap: 10px;
       width: fit-content;
    }

    .menu {
        scale: 1;
        position: unset;
    }

    .titleCard {
        font-size: 14px;
        padding: 0%;
        padding-bottom: 10px;
    }

    .card {
        height: fit-content;
    }

    .card p {
        font-size: 16px;
    }

    .card a {
        font-size: 14px;
    }

    form input {
        width: 70%;
    }

    textarea {
        width: 70%;
    }
}


@media (max-width: 400px) {
    .logo b{
        scale: 0;
        position: absolute;
    }

    .titleCard {
        font-size: 10px;
    }
}