@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}


:root {
    --primaryColor: #00AEEF;
    --secundaryColor: #231F20;
    --primaryColor600: #55C9F4;
    --secundaryColor300: #B6B4B5;
}

body {
    font-family: Roboto;
}

h1 {
    font-weight: lighter;
    font-size: 45px;
}

button {
    width: 200px;
    height: 40px;
    margin: 30px 0;
    background: var(--secundaryColor);
    border-radius: 10px;
    border: none;
    color: white;
    font-size: 20px;
    transition: 0.3s;
}
button a {
    color: white;
    text-decoration: none;
}

.menu {
    display: flex;
    justify-content: space-between;
    padding: 0 60px;
    align-items: center;
}
.logoTecsup {
    width: 190px;
}

nav ul{
    display: flex;
    flex-direction: row;
}

nav img {
    width: 20px;
}

nav ul li {
    list-style: none;
    margin-left: 20px;
    padding: 40px 0;
}
/** whatsappButton **/
.whatsappButton img{
    background-color: #00BB33;
    width: 60px;
    border-radius: 50px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 10px;
    z-index: 2;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.4);
    transition: width 0.3s;
}

.whatsappButton img:hover {
    width: 63px;
    box-shadow:none;
}

/** primer contenedor **/
.firstContainer {
    background-color: var(--primaryColor600);
    height: 350px;
    margin: 0 10px;
    border-radius: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    text-align: center;
    justify-items: center;
}

.leftContainer h1 {
    color: white;
    max-width: 500px;
}

.leftContainer button:hover {
    cursor: pointer;
    border: 1px solid var(--secundaryColor);
    background: var(--primaryColor600);
    color: var(--secundaryColor);
    font-weight: bold;
}

.leftContainer button:hover a {
    color: var(--secundaryColor);
} 

.rightContainer img{
    width: 350px;
}

/** segundo contenedor **/
.secondContainer {
    margin: 20px 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    text-align: center;
    justify-items: center;
}

.secondContainer img{
    width: 300px;
}

.boxText {
    border: 0.5px solid var(--secundaryColor300);
    border-radius: 15px;
    padding: 60px;
    max-width: 600px;
}

.boxText button:hover{
    cursor: pointer;
    border: 1px solid var(--secundaryColor);
    background: white;
    color: var(--secundaryColor);
    font-weight: bold;
}

.boxText button:hover a {
    color: var(--secundaryColor);
} 


/** responsive **/
/*mediana*/
@media screen and (max-width: 1023px) {
    h1 {
        font-size: 35px;
    }
    .rightContainer img{
        width: 390px;
    }
    .secondContainer img{
        width: 310px;
    }
}
/*pequeña*/
@media screen and (max-width: 767px) {
    h1 {
        font-size: 30px;
        margin: 15px 0;
    }
    
    button {
        width: 125px;
        height: 35px;
        margin: 5px 0;
        background: var(--secundaryColor);
        border-radius: 5px;
        font-size: 14px;
    }

    nav img {
        width: 18px;
    }
    nav ul li {
        padding: 30px 0;
        margin-left: 10px;
    }
    .logoTecsup {
        width: 120px;
    }
    .menu {
        padding: 0 25px;
    }
    .firstContainer {
        width: calc(100% - 5px);
        margin: 0 auto;
        border-radius: 15px;
        grid-template-columns: 1fr;
    }
    .rightContainer img{
        width: 200px;
    }
    .secondContainer {
        margin: 10px auto;
        display: grid;
        grid-template-columns: 1fr;
        border: 1px solid var(--secundaryColor300);
        width: calc(100% - 5px);
        border-radius: 15px;
    }
    .secondContainer img{
        padding-top: 5px;
        width: 200px;
    }
    .boxText {
        border: none;
        padding: 0 0 30px;
    }
    .whatsappButton img{
        width: 50px;
    }
}

