@import url('https://fonts.googleapis.com/css2?family=Lato');

:root{
    --white: #fff;
    --dark1: #34344e;
    --dark2: #3a415a;
    --dark3: #566981;
    --dark4: #89a7b1;
    --dark5: #cbdad5;
    --cyan1: #70e3ea;
}

*{
    margin: 0;
    padding: 0;
}

body{
    background-color: var(--dark1);
    background-size: 400%;
    height: 100vh;
    font-family: 'Lato';
    color: var(--white);
}

header{
    display: flex;       /*deixa os elementos lado a lado*/
    justify-content: space-around;    /*espaça os elementos*/
    align-items: center;     /*alinha na vertical*/
    gap: 1rem;        /*espaço entre os elementos (cada rem é 16 pixels)*/
    flex-wrap: wrap;   /*na responsividade os elementos quebram um abaixo do outro*/
    padding: 1rem;     /*espaçamento para início do conteúdo. Cada rem é 16 pixels*/
    background-color: black;
    min-height: 20px;
}

.box-img-header{
    height: 100%;
}

.img-logo{
    height: 100%;
    max-height: 50px;
    background-color: var(--cyan1);
    border: 2px solid var(--white);
    border-radius: 6px;
}

nav{
    display: flex;
    gap: 4rem;
    justify-content: center;    /*alinha na horizontal*/
    align-items: center;      /*alinha na vertical*/
    flex-wrap: wrap;
}

.nav-links{
    text-decoration: none;    /*tira sublinhado dos links*/
    color: var(--white);
}

.nav-links:hover{          /*muda quando passa o mouse por cima*/
    color: var(--dark4);
    text-decoration: underline;       /*coloca sublinhado no link*/
    transition: .4s;
}

.box-btn-actions{
    display: flex;
    gap: 1rem;
}

:is(button,.link-action){
    padding: 1rem;
    font-size: 1.2rem;
    border-radius: 6px;
    cursor: pointer;            /*quando passa o mouse por cima aparece a mãozinha*/
    transition: .4s;
}

.btn-action-home{
    background-color: var(--cyan1);
    border: 2px solid var(--white);
    color: var(--dark1)
}

.btn-action-home:hover{
    background-color: var(--white);
    border: 2px var(--dark1);
}

.btn-action{
    background-color:darkorange;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-action:hover{
    background-color:darkcyan;
    border: 2px solid darkorange;
    color: white;
}

.link-action{
    text-decoration: none;
    width: 200px;
    text-align: center;
}

main{
    display: flex;        
    flex-direction: column;     /*deixa um embaixo do outro*/
    gap: 1rem;     /*distância entre as seções*/
}

section{
    padding: 1rem;   /*espaço entre os elementos*/
}

/*.first-section-main{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 1rem;
    min-height: 550px;
    flex-wrap: wrap;
}

.first-section-main > div{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: justify;
    font-size: 1.2rem;
    gap: 1rem;
    min-width: 300px;
}*/

.first-section{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 1rem;
    min-height: 500px;
    flex-wrap: wrap;
        border-bottom: 20px solid transparent;
        border-image: linear-gradient(to right, var(--dark1) 25%, var(--dark3) 25%, var(--dark1) 75%, var(--dark3) 75%) 100;
        /*border-image-slice: 10;*/
        border-image-width: 1;
        border-image-outset: 0;
        border-image-repeat: repeat;
}

.first-section > div{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: justify;
    font-size: 1.5rem;
    gap: 1rem;
    min-width: 300px;
}

h1{
    font-size: 1.6rem;
    letter-spacing: 3px;     /*espaçamento entre as letras*/
    color: var(--white);
}

h2{
    font-size: 1.6rem;
    color: var(--white);
}

p{
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1rem;
    color: var(--white);
}

.title{
    color: var(--white);
    text-align: center;
}

strong{
    color: var(--white);
    font-weight: bold;
}

.subtitle{
    font-size: 1.2rem;
    color: var(--white);
    text-align: center;
}

.first-section-main p{
    color: var(--white);
    max-width: 500px;
}

.first-section-main button{
    width: 300px;
}

.first-section p{
    color: var(--white);
    max-width: 500px;
}

.first-section button{
    width: 300px;
}

.box-img-main{
    max-width: 400px;
    padding: 1rem;
}

.img-ebook{
    width: 100%;
    border-radius: 5%;
}

.img-ebookmain{
    width: 60%;
    border-radius: 5%;
}

:is(.second-section, .fourth-section, .sixth-section){
    background-color: var(--dark2);
}

.second-section{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 1rem;
    min-height: 650px;
    flex-wrap: wrap;
}

.second-section div{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: justify;
    max-width: 600px;
}

.second-section > div p{
    max-width: 500px;
    font-size: 1.1rem;
    color: var(--white);
}

.second-section button{
    width: 300px;
}

.list{
    list-style: url(image/color-list.png);
    color: var(--white);
    margin-left: 1rem;
    text-align: justify;
    max-width: 450px;
} 

.espace{
    list-style: url(image/color-list2.png);
    color: var(--white);
    margin-left: 2rem;
    text-align: justify;
    max-width: 450px;
}

.video-ebook{
    width: 350px;
}

.third-section{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 1rem;
    min-height: 650px;
    flex-wrap: wrap;
}

.third-section > div{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: justify;
    font-size: 1.1rem;
    gap: 1rem;
    max-width: 500px;
}

.third-section > div img{
    width: 300px;
    border-radius: 10px;
}

.third-section > div p{
    max-width: 500px;
    color: var(--white);
}

.third-section button{
    width: 300px;
}

.fourth-section{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    min-height: 650px;
    flex-wrap: wrap;
}

.fourth-section > div{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 1.1rem;
    gap: 1rem;
    max-width: 500px;
}

.fourth-section button{
    width: 300px;
}


.fifth-section{
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-height: 650px;
    flex-wrap: wrap;
}

.fifth-section > div img{
    width: 250px;
    border-radius: 10px;
}

.fifth-section button{
    width: 300px;
}

.value{
    background-color: black;
    font-size: 4rem;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    text-align: center;
    color: yellow;
    padding-top: 3rem;
    width: 350px;
    height: 300px;
}

.sixth-section{
    display: flex;
    justify-content: space-evenly;
    align-items: left;
    gap: 1rem;
    min-height: 650px;
    flex-wrap: wrap;
}

.sixth-section > div{
    display: flex;
    flex-direction: column;
    align-items: left;
    font-size: 1.1rem;
    gap: 1rem;
    max-width: 500px;
}

.sixth-section button{
    width: 300px;
}

.line{
    width: 70%;
    height: 2px;
    background-color:gold
}

.img-natal{
    width: 5%;
    border-radius: 5%;
}

.img-devices{
    height: 100%;
    max-height: 200px;
}

/*:is(.img-ebook,.img-natal,.img-devices){
    box-shadow: 2px 2px 2px 2px var(--cyan1);
}*/

footer{
    padding: 1rem;
    display: flex; 
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background-color: black;
    min-height: 20px;
    gap: 1rem;
}

footer > div{
    display: contents;
    font-size: 1rem;
    text-align: center;
    color: var(--dark5);
    gap: 1rem;
    flex-wrap: wrap;
}