@font-face {
    font-family: 'Simply Rounded';
    src: local('Simply Rounded Bold'), local('SimplyRounded-Bold'),
        url('./assets/fonts/SimplyRounded-Bold.woff2') format('woff2'),
        url('./assets/fonts/SimplyRounded-Bold.woff') format('woff'),
        url('./assets/fonts/SimplyRounded-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
    background-color: #343a40;
    color: rgb(241, 241, 241);
    text-align: center;
    font-family: 'Montserrat';
}

header > nav {
    position: absolute;
    top: 1%; 
    right: 1%;
}

ul {
    list-style: none;
}

#switch-mode {
	width: 50%;
}

h1 {
	font-family: 'Simply Rounded';
    font-size: 50px;
	margin-top: 5%;
}

input {
    background-color: #4f5861;
    color: white;
    border: 1px solid black;
	padding: .375rem .75rem;
	font-size: 1rem;
	line-height: 1.5;
	border-radius: .25rem;
}

button {
    display: inline-block;
	font-weight: 400;
	text-align: center;
	border: 1px solid transparent;
	padding: .375rem .75rem;
	font-size: 1rem;
	line-height: 1.5;
	border-radius: .25rem;
	color: #fff;
	background-color: #007bff;
}

button:hover {
	cursor: pointer;
}

#no-info, #weather-info {
    margin-top: 3%;
}

#no-info img{
    margin-top: 1%;
}

#castform-img {
    width: 15%;
}

footer {
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    margin-top: 2px;
    background-color: #343a40;
    color: rgb(241, 241, 241);
}

#footer-container {
    padding-top: 10px;
    padding-bottom: 10px;
}

#footer-container > nav {
    align-items: center;
    font-size: xx-large;
}

a {
    color: white; 
    padding: 10px;
    border-radius: 50%;
}

a:hover {
    color: #343a40;
    background-color: rgb(241, 241, 241);
    transition: 0.5s;
    cursor: pointer;
}

@media screen {
    @media screen and (max-width: 767px) {
        h1 {
          font-size: 25px;
        }

        #switch-mode {
            width: 40%;
        }
    }

    @media screen and (min-width: 768px) and (max-width: 1199px) {
        h1 {
          font-size: 40px;
        }
    }
}