:root{
    --color1: #ff7243;
    --color2: #1c1c1c;
    --color3: #ffdadc;
    --color4: #ab9ff2;
    --widthmain: 700px;
}

body{
    margin: 0;
    padding: 0;
    background-color: var(--color1);
    color: var(--color2);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100dvw;
    min-height: 100dvh;
    font-family: "Quicksand", sans-serif;
    flex-direction: column;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    gap: 20px;
}

a{
    text-decoration: none;
}

h1, h2, h3{
    text-align: center;
    margin: 0;
}

h1{
    font-size: 28px;
}

h2{
    font-size: 20px;
}

.main{
    max-width: var(--widthmain);
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 20px;
    margin: 0 20px 0 20px;
}

.info-coin{
    background-color: rgba(28, 28, 28, 0.7);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    border: var(--color2) 2px solid;
    border-radius: 50px 0 50px 0;
    position: absolute;
    flex-direction: column;
    display: none;
    gap: 40px;
    width: 100%;
    backdrop-filter: blur(5px);
    padding: 25px;
    line-height: 1;
}

.info-coin h3{
    font-size: 15px;
    word-wrap: break-word;
}

.info-1{
    display: flex;
    width: 100%;
    gap: 25px;
}

.info-2{
    display: flex;
    width: 100%;
    gap: 20px;
    justify-content: center;
}

.info-2 img{
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.info-2 img:hover{
    transform: scale(1.15);
}

.info-1 h1{
    font-weight: 100;
    font-size: 50px;
    margin-bottom: 10px;
}

.info-1 h2{
    text-align: left;
    font-weight: 200;
    color: var(--color4);
}

.info-logo{
    border-radius: 50px;
    width: 200px;
    height: 200px;
    border: var(--color2) 2px solid;
}

.info-close{
    color: #ff7243;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.info-close:hover{
    transform: scale(1.1);
}

.center-x{
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.img-logo{
    border-radius: 50%;
    border: var(--color2) 4px solid;
    -webkit-animation:animation 15s linear infinite;
    -moz-animation:animation 15s linear infinite;
    animation:animation 15s linear infinite;
}

.img-coin{
    border-radius: 25% 25% 25% 25%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    border: var(--color2) 2px solid;
    transition: transform 0.3s ease;
}

.img-coin:hover{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    transform: scale(1.15);
    cursor: pointer;
}

.fade-font{
    animation: fadeColor 1.5s ease-in-out infinite alternate;
}

@-moz-keyframes animation{ 
    100%{ -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes animation{ 
    100%{ -webkit-transform: rotate(360deg); } 
}
@keyframes animation{ 
    100%{ 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}

@keyframes fadeColor{
    0%{
        color: var(--color2);
    }
    100%{
        color: var(--color4);
    }
}

@media (max-width: 550px) {
  .info-1{
    flex-direction: column;
  }
  .info-logo{
    display: none;
  }
}