/* MVP.css v1.12 - https://github.com/andybrewer/mvp */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;700&display=swap');

:root {
    --color-bg: #fff;
    --color-accent: hsl(348, 85%, 51%);
    --color-accent-hover: hsl(348, 85%, 45%);
    --color-text: #000;
    --color-shadow: #f4f4f4;
    --color-text-secondary: #999;
    --color-light: #eee;
    --line-height: 1.5;
    --width-content: 1080px;
    --border-radius: 44px;
    --font-family: 'Work Sans', sans-serif;
    --box-shadow: 2px 2px 10px;
}


html {
    scroll-behavior: smooth;
}

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-family);
    line-height: var(--line-height);
    margin: 0;
    overflow-x: hidden;
    padding: 0;
    font-weight: 500;
    padding-bottom: 200px;
    background-image: url(images/illustration-bangkok.svg);
    background-position: 50% 100%;
    background-repeat: no-repeat;
}

h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

h1 img {
    display: block;
    text-align: center;
    width: 50px;
}

footer,
header,
main {
    margin: 0 auto;
    max-width: var(--width-content);
    padding: 1rem;
}

section {
    padding: 2rem 0 3rem;
    border-top: 1px var(--color-light) solid;
}

a {
    text-decoration: none;
    color: var(--color-accent);
}

a:hover {
    color: var(--color-accent-hover);
}

nav ul {
    display: block;
    margin: 0;
    padding: 0;

}

@media screen and (min-width:800px) {
    nav ul {
        display: flex;
    }
}

nav ul li {
    display: block;
    flex: 1;
    font-weight: bold;
    text-align: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}


.btn {
    appearance: none;
    border-radius: var(--border-radius);
    display: inline-block;
    font-size: medium;
    font-weight: bold;
    background-color: var(--color-accent);
    color: var(--color-bg);
    line-height: var(--line-height);
    margin: 0.5rem 0;
    padding: 1rem 2rem;
    box-shadow: var(--box-shadow) var(--color-shadow);
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    background-color: var(--color-accent-hover);
    transform: scale(1.05);
    color: var(--color-bg);
}

ul.team {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

ul.team li {
    display: block;
    flex: 1;
    text-align: center;
}

ul.team li img {
    width: 100px;
    height: 100px;
    object-fit: fill;
    border-radius: 16px;

}

ul.conferences {
    display: block;
    padding: 0;
}

@media screen and (min-width:800px) {
    .conferences {
        display: flex !important;
    }
}

.card {
    flex: 1;
    text-align: center;
    display: block;
    border: 1px solid var(--color-light);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow) var(--color-shadow);
    margin: 1rem;
    padding: 1.25rem;
    width: var(--width-card);
    transition: all 0.2s ease-in-out;
}

.card:hover {
    transform: scale(1.05);
}

.card.past {
    opacity: 0.7;
    transform: scale(0.9);
}

.card.past:hover {
    opacity: 1;
    transform: scale(0.95);
}

.card.upcoming {
    border: 8px solid var(--color-accent);
}

.card img {
    width: 100%;
}

.center {
    text-align: center;
}

.center img {
    width: 250px;
}

.socialmedia li {
    margin-bottom: 1rem;
}