/*!
Theme Name: wp98
Author: Feuille Ciseaux
Author URI: https://github.com/feuilleciseau
Description: A retro-style WordPress theme inspired by Windows 98
Version: 0.98
Tested up to: 6.8.1
Requires PHP: 6.8.1
License: MIT
*/

body {
    background: teal!important;
	margin: 0;
	font-family: Tahoma, Geneva, sans-serif;
}

main{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 50px;
	margin: 0 20px 0 20px;
	margin-top: 100px;
}

.page header{
	margin-bottom: 50px;
}


/* ------------------------------------------
   FONT
   ------------------------------------ */

h1, h2{
	font-size: 24px!important;
	font-weight: bold;
	margin: 0;
}

/* ------------------------------------------
   HEADER
   ------------------------------------ */

#masthead{
	position: fixed;
	top: 0;
	z-index: 1000;
	width: 100%;
}

.site-branding{
	display: flex;
	justify-content: space-between;
}

.menu-task-bar{
	display: flex;
}


/* ------------------------------------------
   BOUTON MENU
   ------------------------------------ */

.btn-menu{
	display: flex;
	align-items: center;
	gap: 5px;
}

.btn-menu img{
	width: auto;
	height: 20px;
	padding: 5px 0 5px 0;
}

.btn-menu p{
	font-size: 24px;
	font-weight: bold;
	margin: 0;
}

/* ------------------------------------------
   MENU
   ------------------------------------ */

#main-menu {
	position: absolute;
	top: 33px;
	right: 0;
	left: 0;
	z-index: 1000;
	display: none;
}

#main-menu.visible {
	display: block;
}

#main-menu{
	width: 250px
}

#main-menu ul{
	list-style-type: none;
	padding: 0;
}

#main-menu a{
	display: block;
	color: rgb(34, 34, 34);
	font-size: 14px;
	text-decoration: none;
	padding: 7px 5px;
}

#main-menu a:hover{
	background-color: #00017C;
	color: white;
}


/* ------------------------------------------
   CONTAINER
   ------------------------------------ */

.row-98{
	display: flex!important;
	justify-content: center;
	flex-wrap: wrap;
	gap: 50px;
}

.col-98{
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center
}

.item{
    display: flex;
    flex-direction: column;
}


/* ------------------------------------------
   WINDOW
   ------------------------------------ */

.window-body img{
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
	margin: 15px 0 10px 0;
}

.window-body p{
	font-size: 13px;
	line-height: 18px;
	margin: 7px;
}

.status-bar-field{
	display: flex;
	gap: 5px;
}

.status-bar-field p{
	margin: auto;
	padding: 5px;
}

/* Button Container */
.field-row{
	justify-content: flex-end;
	margin: 20px 0;
}

/* Buttons */
button:not(.btn-menu){
	font-size: 13px!important;
	padding: 9px 14px!important;
}

button{
	font-weight: bold;
	cursor: pointer
}

/* ------------------------------------------
   WP Forms
   ------------------------------------ */

.wpforms-container-full{
	margin: 0!important;
}

.wpforms-field-required, .wpforms-field-medium{
	padding: 3px 4px!important;
	border: none!important;
	box-shadow: var(--border-field)!important;
	background-color: var(--button-highlight)!important;
	box-sizing: border-box!important;
	-webkit-appearance: none!important;
	-moz-appearance: none!important;
	appearance: none!important;
	border-radius: 0!important;
}

.wpforms-submit-container button{
	box-sizing: border-box!important;
	border: none!important;
	color: transparent!important;
	text-shadow: 0 0 var(--text-color)!important;
	background: var(--surface)!important;
	box-shadow: var(--border-raised-outer), var(--border-raised-inner)!important;
	border-radius: 0!important;  
	min-width: 75px!important;
	min-height: 23px!important;
	padding: 0 12px!important;
}

.wpforms-confirmation-container-full{
    background: none!important;
    border: none!important;
}

.contact-98{
	width: 500px;
}

@media (max-width: 550px){
	.contact-98{
		width: 100%;
	}
}

.wpforms-submit{
	font-weight:bold!important
}


/* ------------------------------------------
   POST
   ------------------------------------ */
   
.featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.wp-block-embed__wrapper{
    display: flex;
    justify-content: center;
}


/* ------------------------------------------
   PARTNER
   ------------------------------------ */


.row-partner{
	display: flex!important;
	justify-content: center;
	align-items: end;
	flex-wrap: wrap;
	gap: 10px;
	text-align: center;
}

.partner-logo {
    width: 100px;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}


/* ------------------------------------------
   PORTFOLIO
   ------------------------------------ */

#portfolio img{
    width: 208px;
    height: 117px;
    object-fit: cover;
}


/* ------------------------------------------
   SOCIAL
   ------------------------------------ */

.social-98 li{
	font-size: 16px;
	margin: 10px;
}

.social-icon img {
    width: 32px;
    height: 32px;
}

.contact-window .field-row{
	justify-content:flex-start
}

/* ------------------------------------------
   FOOTER
   ------------------------------------ */

.site-footer{
	height: 100px;
}


/* ------------------------------------------
   ------------------------------------ */

.post{
	display: flex;
	flex-direction: column;
	justify-content: center;
}
