summaryrefslogtreecommitdiff
path: root/css/valentine.css
blob: 5a3995bde907e3723b467c65fcbf8739f5458261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
body, html {
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

body {
    width: 100%;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    position: relative;
    background-color: #f9f9f9;
    background-image: url(https://marketplace.canva.com/EAEUf1ZOyzE/1/0/1600w/canva-pink-and-red-powerful-femme-personal-pattern-valentine%27s-day-desktop-wallpaper-vyLmDobNXOc.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.font-ubuntu {
    font-family: "Ubuntu Sans", serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.font-montserrat {
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

.fade-in {
    opacity: 1;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.5s;
  }
  
  @keyframes fadeInOpacity {
    0% {
      opacity: 0;
    }
  
    100% {
      opacity: 1;
    }
  }

.button-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.content-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.text-container {
    margin-bottom: 2rem;
}

h1 {
    font-size: 5rem !important;
    color: white !important;
    text-shadow: 0px 0px 9px black !important;
}

.button-wrapper {
    display: flex;
    gap: 40px;
}

button {
    outline: 1px solid inherit;
}

.btn-success {
    position: static;
}

#moveBtn {
    position: relative;
    transition: transform 0.1s ease-in-out;
    z-index: 1;
}

img {
    height: 500px !important;
    width: 500px !important;
    object-fit: cover;
    border-radius: 5%;
}


@media (max-width: 768px) {
    .content-container {
        width: 90%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .text-container {
        margin-bottom: 1rem;
    }

    h1 {
        font-size: 3rem !important;
    }

    .button-wrapper {
        flex-direction: row;
        gap: 20px;
    }

    button {
        width: auto;
    }

    img {
        height: 300px !important;
        width: 300px !important;    
    }
}