@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

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

body {
    display:flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0 0 0 / .8),rgba(0 0 0 / .8)),url(rdr2.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}



.container {
    display:grid;
    grid-template-columns: repeat(2,50%);
    gap:10px;
    width: 1000px;
    margin-left: 170px;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    margin-right: 400px;
    z-index: 9999; 
}
  
  .nav__link {
    color: #fff;
    display: block;
    padding: 15px 0;
    text-decoration: none;
    font-size: 20px;
  }
  
  .nav__link--inside {
    border-radius: 6px;
    padding-left: 20px;
    text-align: left;
  }
  
  .nav__link--inside:hover {
    background: #303440;
  }
  
  
  .list__item {
    list-style-type: none;
    width: 100%;
    text-align: center;
    overflow: hidden;
  }
  
  .list__item--click {
    cursor: pointer;
  }
  
  .list__button {
    display: flex;
    align-items: center;
    gap: 1em;
    width: 70%;
    margin: 0 auto;
  }
  
  .arrow .list__arrow {
    transform: rotate(90deg);
  }
  
  .list__arrow {
    margin-left: auto;
    transition: transform .3s;
    width: 50px;
    height: 40px;
    margin-top: 4px;
  }
  
  .list__show {
    width: 80%;
    margin-left: 50px;
    list-style: none;
    transition: height .4s;
    height: 0;
  }
  
  .list__img {
    width: 50px;
    height: 50px;
    margin-bottom: 2px;
  }


.box-info {
    color:#fff;
    display:flex;
    flex-direction: column;
    gap:50px;
}

.box-info > h1 {
    text-align: left;
    letter-spacing: 5px;
}

.data {
    display: flex;
    flex-direction: column;
    gap:25px
}

.data > p {
    font-size: 1rem;
}

.data > p > i {
    color:crimson;
    margin-right: 10px;
    font-size:25px;
}



.links {
    display:flex;
    gap:15px;
}

.links > a {
    text-decoration: none;
    width: 40px;
    height: 40px;
    background: crimson;
    text-align: center;
    transition: .1s;
}

.links > a > i {
    color:#fff;
    line-height: 40px;
    font-size: 20px;
}

form {
    display:flex;
    flex-direction: column;
    text-align: center;
    gap:15px;
}

.input-box {
    position:relative;
}

.input-box > input {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    outline:none;
    background: rgba(255 255 255 / .1);
    border:3px solid transparent;
    letter-spacing: 1px;
    transition:.3s;
    color:#fff;
    
}

.input-box > input::placeholder,
.input-box > textarea::placeholder {
    color:#a3a3a3;
    
}

.input-box > input:focus::placeholder,
.input-box > textarea:focus::placeholder {
    color:transparent;
}

.input-box > input:focus,
.input-box > textarea:focus {
    border-bottom:3px solid crimson;
    animation: shake .2s;
}

.input-box > textarea {
    width: 100%;
    height: 130px;
    padding: 10px;
    background: rgba(255 255 255 / .1);
    border:3px solid transparent;
    letter-spacing: 1px;
    outline: none;
    transition:.3s;
    color:#fff;
    letter-spacing: 1.5px;
}


.input-box > i {
    position:absolute;
    top:50%;
    transform: translateY(-50%);
    right: 10px;
    color:rgba(255 255 255 / .3);
    transition: .3s;
}

.input-box > input:focus ~ i {
    color:crimson;
}

form > button {
    width: 100%;
    padding: 10px;
    outline: none;
    background: crimson;
    color:#fff;
    border:none;
    transition: .1s;
    cursor: pointer;
    font-size: 1rem;
}

form > button:hover,
.links > a:hover {
    background: rgb(172, 16, 47);
}

@keyframes shake { 
    0%, 100% {transform: translateX(0);} 
    10%, 30%, 50%, 70%, 90% {transform: translateX(-10px);} 
    20%, 40%, 60%, 80% {transform: translateX(10px);} 
 }


@media screen and (max-width:600px) {
    .container {
        width: 95%;
        display: flex;
        flex-direction: column;
        gap:20px;
    }

    .box-info {
        gap:15px;
    }

    .box-info > h1 {
        font-size: 1.5rem;
    }
}

.list__inside {
    background: black;
    cursor: pointer;
    border: none;
    padding: 8px 16px;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    position: relative;
    border-radius: 12px;
  }
  
  .list__inside::before {
    content: "";
    position: absolute;
    top: 10;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: linear-gradient(50deg,
    red, blue, deeppink, blue, red, blue, deeppink, blue);
    background-size: 800%;
    border-radius: 10px;
    filter: blur(6px);
    animation: glowing 20s linear infinite;
  }

  
@keyframes glowing {
    0% {
      background-position: 0 0;
    }
  
    50% {
      background-position: 400% 0;
    }
  
    100% {
      background-position: 0 0;
    }
  }

  .header {
    background-position: center center;
    background-repeat:no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding: 80px 0;
  }

  .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 0;
}

@media(max-width:991px) {
  .footer {
    flex-direction: column;
    text-align: center;
}
}