Skip to content

Commit

Permalink
primer comit
Browse files Browse the repository at this point in the history
  • Loading branch information
AmigoColombiano committed Aug 26, 2024
0 parents commit 9fb5f5c
Show file tree
Hide file tree
Showing 11 changed files with 704 additions and 0 deletions.
377 changes: 377 additions & 0 deletions css/estilos.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,377 @@
/* FUENTES */


@import url('https://googleapis.com/css2?family=Inter&display=swap');


:root{
--Font: #E5E5E5;
--White: #FFFFFF;
--Dark-Blue: #0A3871;
--Greey: #C5C5C5;
--Medium-Gray:#67808E;
--RGBA: rgba(0,0,0,0.08);
--White-Blue: #D8DFE8;
--Medium-Blue: #0A38718A;
--Gray: #343A40;
--Gree: #495057;
}

/* RESET GENERAL */

*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', sans-serif;
text-decoration: none;
background: var(--White);
}

::selection{
background: var(--Dark-Blue);
color: var(--White);
}

body{
height: 100%;
}

img{
max-width: 100%;
}

/* ENCABEZADO */

header {
/* position: absolute; */
margin: 40px 0px 0px 80px;
}

header .logo {
display: flex;
align-items: flex-start;
width: 120px;
height: 48px;
}

/* PRINCIPAL */


main{
display: flex;
flex-direction:row;
background: url(../imagenes/Portada.png ) no-repeat;
background-size: cover;
background-position: center;
}

/* Sección Encriptador */

.encriptador {
width: 60%;
margin: 168px 0px 0px 148px;
background: transparent;
}

.encriptar {
width: 660px;
height: 288px;
font-weight: 400;
font-size: 32px;
/* line-height: 48px;
outline: none; */
border: 1px solid var(--Greey);
border-radius: 15px;
resize: none;
}

.encriptar::placeholder,:focus{
color: var(--Dark-Blue);
}

.encriptador-aviso {
display: flex;
flex-direction: row;
align-items: center;
padding: 0;
gap: 8px;
/* position: absolute; */
top: 500px;
}

.texto-aviso {
width: 100%;
font-style: normal;
font-weight: 400;
font-size: 26px;
line-height: 150%;
opacity: 0.8;
color: var(--Medium-Gray);
}

.encriptador-contenedor{
display: flex;
flex-direction: row;
align-items: flex-start;
gap: 8px;
position: absolute;
top: 526px;
}

.btn-encriptar{
width: 328px;
height: 67px;
padding: 24px;
font-style: normal;
font-weight: 400;
font-size: 26px;
line-height: 19px;
text-align: center;
color: var(--White);
background: var(--Dark-Blue);
border: 1px solid var(--Dark-Blue);
border-radius: 24px;
cursor: pointer;
box-shadow: 0px 20px 29px -5px var(--RGBA);
}

.btn-encriptar:active{
box-shadow: inset 2px 2px 4px var(--Font),
inset -3px -4px 8px var(--Dark-Blue);
color: var(--White-Blue);
}

.btn-desencriptar{
width: 328px;
height: 67px;
padding: 24px;
font-style: normal;
font-weight: 400;
font-size: 26px;
line-height: 19px;
text-align: center;
color: var(--Dark-Blue);
background: var(--White-Blue);
border: 1px solid var(--Dark-Blue);
border-radius: 24px;
cursor: pointer;
box-shadow: 0px 20px 29px -5px var(--RGBA);
}

.btn-copiar:active,
.btn-desencriptar:active{
box-shadow: inset 2px 2px 4px var(--Dark-Blue),
inset -3px -4px 8px var(--Font);
color: var(--Medium-Blue);
}

/* Sección de Salida */

.tarjeta{
width: 270px;
height: 580px;
background: var(--Font);
box-shadow: 10px 24px 32px -8x var(--Gray) ;
position: relative;
/* margin-top: 40px; */
border-radius: 32px;
text-align: center;
}

.tarjeta-contenedor{
width: 250px;
margin: none;
margin-top: 50%;
background: var(--Font);
}

.img-persona{
background: var(--Font);
}

.texto-uno{
font-style: normal;
font-weight: 700;
font-size: 18px;
line-height: 120%;
text-align: center;
color: var(--Gray);
background: var(--Font);
}

.texto-dos{
font-style: normal;
font-weight: 400;
font-size: 20px;
line-height: 150%;
text-align: center;
color: var(--Medium-Gray);
background: var(--Font);
}

.evaluar{
width: 100%;
height: 485px;
position: absolute;
padding: 20px;
top: 0;
left: 0;
font-weight: 400;
font-size: 24px;
line-height: 36%;
color: var(--Gree);
background: transparent;
border-top-right-radius: 32px;
border-top-left-radius: 32px;
border: none;
resize: none;
}

.evaluar:focus{
outline: none;
}

.btn-copiar{
width: 224px;
height: 67px;
margin: 23px;
position: absolute;
bottom: 0;
left: 0;
visibility: hidden;
padding: 24px;
font-size: 16px;
line-height: 19px;
text-align: center;
background: var(--White-Blue);
border: 1px solid var(--Dark-Blue);
border-radius: 20px;
cursor: pointer;
}

.btn-encriptar:hover,
.btn-desencriptar:hover,
.btn-copiar:hover{
transform: scale(0.97);
}

/* Sección Pie de Página */

footer{
margin-top: 15px;
padding: 10px;
border-top: 2px solid var(--Font);
color: var(--Gray);
text-align: center;
height: 5px;
font-size: 20px;
font-weight: 700;
color: var(--Gray);
}

.linked:hover{
color: var(--Font);
opacity: 0.8;
}

.linked:hover{
color: var(--Font);
opacity: 0.6;
}

/* RESPONSIVIDAD */

@media(max-width: 1250px){
main{
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}

.encriptador{
margin: 168px 0px 0px 0px;
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}

.encriptador-contenedor{
display: flex;
align-items:center;
position: inherit;
}

.encriptador-aviso{
position: inherit;
margin: 15px;
}

.tarjeta{
width: 665px;
height: 300px;
display: flex;
justify-content: center;
align-items: flex-end;
}

.tarjeta-contenedor{
display: block;
justify-content: center;
align-items: center;
width: 100%;
position: absolute;
bottom: 20%;
font-size: 24px;
font-weight: 700;
}

.img-persona{
display: none;
}

.btn-copiar{
position: inherit;
width: 100%;
}

.evaluar{
width: 100%;
height: 210px;
padding: 10px;
}
}

@media(max-width: 720px){

header .logo{
width: 100%;
background: var(--White);
padding: 2px;
}

.encriptar{
width: 90%;
font-size: 24px;
}

.encriptador-contenedor{
display:grid;
gap:21px;
}

.tarjeta{
width: 90%;
}

.copyright{
font-size: 20px;
}

}




Binary file added imagenes/Exclamación.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imagenes/Favicon.ico
Binary file not shown.
Binary file added imagenes/GitHub.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imagenes/LinkedIn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions imagenes/Logo Alura.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9fb5f5c

Please sign in to comment.