@import url('https://fonts.googleapis.com/css2?family=Sansita+Swashed&display=swap');

html, body {
    margin: 0;
    padding: 0;
}

body {
    /*background-image: url(p2.jpg);*/
    background: linear-gradient(45deg, #f0494b, #6f0da5, #5f9de9, #000000);
	text-align: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
   /* height: 80vh;*/
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

h1{
    /*color: #FFD662FF;*/
    color: white;
    font-size: 3rem; 
}

h2{
    /*color: #FFD662FF;*/
    color: white;
    font-size: 1.5rem;
    margin-top: 0;
}

.convert,.exchange{
    font-size: 25px;
    font-weight: bold;
    color: #171b6c;
    padding-right: 20px;
}

input {
	width: 150px;
	height: 30px;
	font-size: 20px;
    margin: 5px auto;
    outline: 0;
}

#original-currency-amount{
    padding-left: 50px;
}
button {
	width: 300px;
	height: 50px;
    font-size: 25px;
    border: 3px solid #FFD662FF;
    cursor: pointer;
    font-weight: bold;
    background-color: #171b6c;
    color: white;
}

select{
	width: 100px;
	height: 35px;
	font-size: 20px;
	text-align: center;
	padding-left: 10px;
  outline: 0;
}

#exchange{
	width: 50px;
	height: 50px;
	border-radius: 50%;
	margin: 0 20px;
    outline: 0;
    
    background-color: #171b6c;
    border: 4px solid #FFD662FF;

}

#exchange:active, button:active {
	transform: scale(0.9);
}

#output-text{
    display: none;
    padding: 20px;
    font-size: 30px;
    font-weight: bold;
    color: #FFEB3B;
}

span{
    color: #171b6c;
    font-weight: bold;
    font-size: 30px;
}

#exchange-rate{
    cursor:default;
}

footer{
    position: absolute;
    right: 50px;
    bottom: 50px;
}

a{
    color: #ffffff;
    bottom: 0;
    font-size: 30px;
    text-decoration: none;
}


.box{
    border: 2px solid white;
    padding: 20px;
    background-color: #9494ec;
    box-shadow: 0 1rem 2rem white;
}

.box1{
    text-align: center;
    padding: 20px 10px 5px;
    color: white;
    font-weight: bold;
    font-size: 35px;
}

.box2{
    text-align: left;
    padding: 20px 10px 5px;
    color: white;
    font-weight: bold;
    font-size: 30px;
}

select option {
    background-color: #171b6c;
    color: #34d986;
  }

.place{
    position: fixed;
    top: 10%;
    right: 0;
}
.place2{
    display: none;
}


@media only screen and (max-width: 900px) {
    .place {
      display: none;
    }
    .place2{
        display: block;
    }
  }


  /*3 column layout*/
  /* STRUCTURE */

.wrapper {
	padding: 5px;
	max-width: 1200px;
	width: 95%;
	margin: 20px auto;
}
header {
	padding: 0 15px;
}

.columns {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	margin: 5px 0;
}

.column {
	flex: 1;
	margin: 2px;
	padding: 10px;
	&:first-child { margin-left: 0; }
	&:last-child { margin-right: 0; }
	
}

.wrapper p{
    color: white;
    font-weight: normal;
}

.columns p{
    font-weight: normal;
}

@media screen and (max-width: 980px) {
  .columns .column {
		margin-bottom: 5px;
    flex-basis: 40%;
		&:nth-last-child(2) {
			margin-right: 0;
		}
		&:last-child {
			flex-basis: 100%;
			margin: 0;
		}
	}
}

@media screen and (max-width: 680px) {
	.columns .column {
		flex-basis: 100%;
		margin: 0 0 5px 0;
	}
}