@font-face {
  font-family: 'Roboto';
  src: url('/fonts/AMX-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/fonts/AMX-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/fonts/AMX-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/fonts/Roboto-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/fonts/Roboto-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/fonts/Roboto-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


:root{
    --red-800: #B52217;
    --red-600: #DA291C;
    --red-100: #FCF3F3;
    --grey-900: #1F1D1D;
    --grey-800: #2D2D2D;
    --grey-700: #3C3C3C;
    --grey-500: #6C6C6C;
    --grey-300: #B9B9B9;
    --grey-100: #F4F4F4;
    --blue-500: #0097A9;

    --max-width: 114rem;
}

html{
    font-size: 62.5%;
    box-sizing: content-box;
    scroll-behavior: smooth;
    font-family: Roboto, sans-serif;
    color: var(--grey-700);
}

body{
    margin: 0;
    padding: 0;
    
}

header{
    background-color: var(--red-600);
    height: 8rem;
	-webkit-box-shadow: 0px 2px 4px 0px rgba(45,45,45,0.3);
	-moz-box-shadow: 0px 2px 4px 0px rgba(45,45,45,0.3);
	box-shadow: 0px 2px 4px 0px rgba(45,45,45,0.3);

    display: flex;
    align-items: center;
}

main
{
    height: calc(100% - 16rem);
}

footer
{
    background-color: var(--grey-900);
    height: 8rem;
    color: var(--grey-300);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
}

h1{
    font: normal bold 3.6rem AMX, sans-serif;
    line-height: 4.4rem;
    margin: 3.2rem 0 0 0;
}

h2{
    font: normal bold 2.4rem AMX, sans-serif;
    line-height: 3.2rem;
    margin: 0;
}

p{
    font: normal normal 1.8rem Roboto, sans-serif;
    line-height: 2.4rem;
}

a{
    color: var(--blue-500);
    text-decoration: underline;
    cursor: pointer;
}

#logo{
    height: 3.5rem;
}

.container{
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    /* height: 100%; */
}

.container-fluid{
    width: 100%;
    padding: 0 2rem;
}


/* custom styles */
.btn{
    height: 4rem;
    min-width: 10rem;
    padding: 0 1.6rem;
    outline: none;
    border: 0;
    border-radius: 999rem;
    font-size: 1.6rem;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: .1rem;
    display: flex;
    align-items: center;
}

.btn-primary-white{
    background-color: var(--grey-900);
    color: var(--grey-100);
    font-weight: 600;
    border: 0.2rem solid var(--grey-100);
}

.btn-primary-white:hover{
    background-color: var(--grey-100);
    color: var(--grey-900);
    font-weight: 600;
    border: 0.2rem solid var(--grey-900);
}

.steps{
    margin-top: 6rem;
    display: flex;
    flex-direction: column;
    row-gap: 12rem;

    .step{
        display: flex;
        align-content: flex-start;
        column-gap: 2rem;
        
        .number{
            width: 3.2rem;
            font: normal bold 5.6rem AMX, sans-serif;
            color: var(--grey-300);
            line-height: 1;

            /* border: 1px solid red; */
        }

        .details{
            h2{
                line-height: 1;
            }

            img{
                /*Para cumplir con los 40px de espacio entre el texto y la imagen */
                margin-top: 2.6rem;
                max-width: 100%;
                height: auto;
                display: block;
            }
        }
    }
}

.devices{
    margin-top: 12rem;
    background-color: var(--grey-800);
    height: 44.9rem;
    overflow: hidden;
    color: var(--grey-100);

    a{
        text-decoration: none;
    }

    .wrapper{
        margin: 0 auto;
        max-width: 144rem;
        position: relative;
        height: 100%;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .content{
        width: 50%;
    }

    & .container{

       & > img{
            position: absolute;

            &#computer{
                top: -4rem;
                left: 118rem;
            }

            &#tablet{
                top: 16rem;
                left: 98rem;
            }

            &#cellphone{
                top: 10rem;
                left: 84rem;
            }

            &#gradient{
                top: 0;
                left: 70rem;
            }
        }
    }

    #app-links{
        display: flex;
        column-gap: 3.2rem;
        align-items: center;
        margin: 4rem 0;
    }
}

.questions{
    padding: 9.6rem 0;
}

/* media queries */
/* Mobiles */
@media (max-width: 767px) {

    .container{
        width: auto;
        padding: 0 2rem ;
    }

    .devices{
        height: auto;
        padding: 4rem 0;

        .content{
            width: 100%;
        }

        #app-links{
            flex-direction: column;
            align-items: center;
            row-gap: 3.2rem;
        }
    }

    .step{
        flex-direction: column;
    }

    .details{
        img{
            margin: 0 auto;
        }
    }

    .questions{
    padding: 4rem 0;
    }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    .container{
        width: auto;
        padding: 0 2rem ;
    }

    .devices{
        height: auto;
        padding: 4rem 0;

        .content{
            width: 100%;
        }

        #app-links{
            flex-direction: column;
            align-items: center;
            row-gap: 3.2rem;
        }
    }

    .step{
        /* flex-direction: column; */
    }

    .details{
        img{
            /* margin: 0 auto; */
        }
    }

    .questions{
    padding: 4rem 0;
    }
}

