style.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. *{
  2. margin:0;
  3. padding:0px;
  4. font-family: 'Signika', sans-serif;
  5. box-sizing: border-box;
  6. color:#1a2b40;
  7. }
  8. body {
  9. background-image: linear-gradient(180deg, #ff9051, #ff6737);
  10. background-color:#ff6737;
  11. background-repeat: no-repeat;
  12. padding: 0;
  13. position: relative;
  14. min-height: 100vh;
  15. display: flex;
  16. flex-direction: column;
  17. }
  18. header {
  19. display: flex;
  20. justify-content: center;
  21. align-items: center;
  22. text-align: center;
  23. background-color: #004990;
  24. height: 50px;
  25. }
  26. header p {
  27. color: #ffe512;
  28. font-size: 34px;
  29. }
  30. h1{
  31. margin-top: 70px;
  32. text-align: center;
  33. padding-top:15px;
  34. font-size: 40px;
  35. }
  36. .wrapper {
  37. margin: auto;
  38. display: flex;
  39. flex-wrap: wrap;
  40. justify-content: center;
  41. align-items: center;
  42. padding: 15px 0;
  43. width: 90%;
  44. }
  45. input, select {
  46. border: 0px solid black;
  47. width: 100%;
  48. display: inline-block;
  49. padding: 15px;
  50. background-color: #f1f1f1;
  51. margin: 5px 0 22px 0;
  52. -webkit-appearance: none;
  53. -moz-appearance: none;
  54. appearance: none;
  55. }
  56. input:-webkit-autofill {
  57. -webkit-box-shadow: 0 0 0 30px #f1f1f1 inset;
  58. }
  59. .container {
  60. background-color:white;
  61. width: 65%;
  62. height: 55%;
  63. margin: 4.4rem auto;
  64. border-radius: 15px;
  65. display: flex;
  66. flex-direction: column;
  67. }
  68. .name{
  69. flex:1 1 100%;
  70. }
  71. div{
  72. flex: 1 1 30%;
  73. margin:5px;
  74. }
  75. button {
  76. background-color: #004990;
  77. color: white;
  78. display: flex;
  79. align-items: center;
  80. justify-content: center;
  81. padding: 15px;
  82. border: none;
  83. cursor: pointer;
  84. width: 100%;
  85. }
  86. span {
  87. display: none;
  88. position: relative;
  89. color: red;
  90. }
  91. footer {
  92. display: flex;
  93. justify-content: center;
  94. align-items: center;
  95. position: absolute;
  96. width: 100%;
  97. bottom: 0;
  98. background-color: #004990;
  99. height: 40px;
  100. }
  101. footer p {
  102. color: white;
  103. font-size: 15px;
  104. vertical-align: middle;
  105. }
  106. select:focus{
  107. outline: 0;
  108. border: 0;
  109. overflow:hidden;
  110. }
  111. [data-slots] { font-family: 'signika', sans-serif }
  112. @media only screen and (max-width: 700px) {
  113. .wrapper {
  114. display: block;
  115. }
  116. input,select{
  117. width: 100%;
  118. }
  119. .container{
  120. width: 85%;
  121. }
  122. }