*{
    padding: 0;
    margin : 0; 
}
#headers{
    margin : 10px;
    padding: 20px;
    display: block;
    color: blanchedalmond;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0px 0px 20px rgb(0,0,0,0.75);
    border-radius: 10px;
    background-color: rgba(44, 48, 43, 0.479);
    margin-left: 70px; 
}
#headers{
    animation-name: header-animation;
    animation-duration: 3s;
    animation-timing-function: ease;
    animation-iteration-count: 1;
    animation-delay: 2ms;
    animation-direction:normal;
}
@keyframes header-animation{
    0% {     
        position: relative;
        left: -250px;
        opacity: 0;
    }    
    100%{     
        position: relative;
        left: 0px;
    }
}
h2{
    font-family: sans-serif;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0px 0px 20px rgba(145, 135, 135, 0.75) ;
}
h3{
    font-family: sans-serif;
    font-size: 25px;
    font-weight: 600;
    text-shadow: 0px 0px 20px rgba(145, 135, 135, 0.55) ;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
input{
    height: 40px;
    font-weight: 600;
    font-size: 20px;
    margin-top: 5px;
    border-radius: 20px;
    border: none;
    outline: none;
    font-family: sans-serif;
    font-display:initial;
    text-align: center;
    box-shadow: 0px 0px 20px rgb(0,0,0,0.75);
    background-color: rgba(44, 48, 43, 0.479);
    text-shadow: 0px 0px 20px rgba(145, 135, 135, 0.55) ;
    color: blanchedalmond;
}
#form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
}
.big-container{
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-image: url(images/image.jpg);
    image-rendering: -webkit-optimize-contrast;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 8px solid rgba(44, 48, 43, 0.752);
    border-radius: 30px;
    width: 55%;
    height: 425px;
    margin: 20px;
    margin-top: 30px;
    padding: 20px;
    overflow: hidden;
    position: relative;
    background: url(videos/video.mp4) no-repeat center center;
    background-size: cover;
    z-index: 1;
}
.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.to,.from{
    padding: 10px;
    margin: 10px;
    width: 60%;
    height: 30%;
    display: flex;
    flex-direction: column;
    background-color: rgba(44, 48, 43, 0.692);
    border-radius: 40px;
    color:  rgb(177,33,33,1);
}
p{
    font-size: 20px;
    font-family: sans-serif;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0px , 0px , 2px , rgb(0px,0px,0px,0.5px);
}
select{
    font-size: 15px;
    font-weight: 700;
    border: 1px solid white;
    border-radius: 50px;
    font-family: sans-serif;
    background-color: rgba(0, 0, 0, 0.419);
    color:white;
    text-align: center;
}
#select{
    display: flex;
    align-items: center;
    justify-content: center;   
}
#icon{
    width: 10%;
    height: 40px;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(90deg);
    background-color: rgba(44, 48, 43, 0.692);
    border-radius: 40px;
    color:rgba(255, 255, 255, 0.614);
    padding: 10px;
    margin: 20px;   
    cursor: pointer;
    border-top: 3px solid black;
    border-left: 3px solid black;
    border-bottom: 3px solid grey;
    border-right: 3px solid grey;
}
#icon:active{
    border-top: 3px solid grey;
    border-left: 3px solid grey;
    border-bottom: 3px solid black;
    border-right: 3px solid black;
}
#button{
    display: flex; 
    justify-content: center; 
    margin-top: 20px;
}
button{
    font-size: 20px;
    width : 200px;
    height: 50px;
    font-family: sans-serif;
    font-weight: bolder;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0px 0px 20px rgb(0,0,0,0.75);
    background-color: rgba(44, 48, 43, 0.479);
    text-shadow: 0px 0px 20px rgba(145, 135, 135, 0.75) ;
    color: blanchedalmond;
}

.Exchange-amount{
    margin-top: 30px;
}
.dropdown{
    animation-name: animation;
    animation-duration: 3s;
    animation-timing-function: ease;
    animation-iteration-count: 1;
    animation-delay: 2ms;
    animation-direction:normal;
}
@keyframes animation {   
    0% {     
         position: relative;
         right: -250px;
         opacity: 0;
    }    
    100%{     
        position: relative;
         right: 0px;
    }
}

@media screen and (max-width: 480px) {
    .big-container {
        flex-direction: column;
        padding: 10px;
        height: auto;
        min-height: 100vh;
    }
    #headers {
        margin: 10px;
        margin-left: 0;
        width: 90%;
        max-width: 320px;
        padding: 15px;
    }
    h2 {
        font-size: 22px;
    }
    h3 {
        font-size: 16px;
    }
    input {
        height: 35px;
        font-size: 16px;
    }
    .dropdown {
        width: 90%;
        max-width: 320px;
        height: auto;
        min-height: 340px;
        margin: 10px;
        padding: 15px;
    }
    .to, .from {
        width: 100%;
        height: auto;
        padding: 8px;
        margin: 8px;
    }
    p {
        font-size: 14px;
    }
    select {
        font-size: 12px;
        padding: 6px;
    }
    #icon {
        width: 45px;
        height: 35px;
        font-size: 20px;
        margin: 10px;
    }
    button {
        width: 150px;
        height: 40px;
        font-size: 14px;
    }
    .Exchange-amount p {
        font-size: 14px;
    }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
    .big-container {
        flex-direction: column;
        gap: 15px;
        height: auto;
        min-height: 100vh;
        padding: 15px;
    }
    #headers {
        margin: 10px;
        margin-left: 0;
        width: 80%;
        max-width: 380px;
    }
    h2 {
        font-size: 26px;
    }
    h3 {
        font-size: 18px;
    }
    .dropdown {
        width: 80%;
        max-width: 380px;
        height: auto;
        min-height: 360px;
    }
    .to, .from {
        width: 90%;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .big-container {
        gap: 25px;
    }
    #headers {
        margin-left: 20px;
        width: 42%;
        max-width: 400px;
    }
    .dropdown {
        width: 45%;
        max-width: 420px;
    }
}

@media screen and (min-width: 1025px) {
    .big-container {
        gap: 40px;
    }
    #headers {
        margin-left: 40px;
        width: 40%;
        max-width: 420px;
    }
    .dropdown {
        width: 45%;
        max-width: 450px;
    }
}
